dynamic_annotations.gyp revision 1320f92c476a1ad9d19dba2a48c72b75566198e9
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      'includes': [
20        '../../../build/android/increase_size_for_speed.gypi',
21      ],
22    },
23  ],
24  'conditions': [
25    ['OS == "win" and target_arch=="ia32"', {
26      'targets': [
27        {
28          'target_name': 'dynamic_annotations_win64',
29          'type': 'static_library',
30          # We can't use dynamic_annotations target for win64 build since it is
31          # a 32-bit library.
32          # TODO(gregoryd): merge with dynamic_annotations when
33          # the win32/64 targets are merged.
34          'include_dirs': [
35              '../../../',
36          ],
37          'sources': [
38            'dynamic_annotations.c',
39            'dynamic_annotations.h',
40          ],
41          'configurations': {
42            'Common_Base': {
43              'msvs_target_platform': 'x64',
44            },
45          },
46        },
47      ],
48    }],
49  ],
50}
51