dynamic_annotations.gyp revision 2a99a7e74a7f215066514fe81d2bfa6639d9eddd
1# Copyright (c) 2011 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5{
6  'targets': [
7    {
8      'target_name': 'dynamic_annotations',
9      'type': 'static_library',
10      'toolsets': ['host', 'target'],
11      'include_dirs': [
12        '../../../',
13      ],
14      'sources': [
15        'dynamic_annotations.c',
16        'dynamic_annotations.h',
17        '../valgrind/valgrind.h',
18      ],
19    },
20  ],
21  'conditions': [
22    ['OS == "win" and target_arch=="ia32"', {
23      'targets': [
24        {
25          'target_name': 'dynamic_annotations_win64',
26          'type': 'static_library',
27          # We can't use dynamic_annotations target for win64 build since it is
28          # a 32-bit library.
29          # TODO(gregoryd): merge with dynamic_annotations when
30          # the win32/64 targets are merged.
31          'include_dirs': [
32              '../../../',
33          ],
34          'sources': [
35            'dynamic_annotations.c',
36            'dynamic_annotations.h',
37          ],
38          'configurations': {
39            'Common_Base': {
40              'msvs_target_platform': 'x64',
41            },
42          },
43        },
44      ],
45    }],
46  ],
47}
48