summaryrefslogtreecommitdiff
path: root/base/third_party/dynamic_annotations/dynamic_annotations.gyp
blob: 47334d88360a5d31eae647cefeb648a0a9fca7f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright (c) 2010 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'targets': [
    {
      'target_name': 'dynamic_annotations',
      'type': 'static_library',
      'include_dirs': [
        '../../../',
      ],
      'sources': [
        'dynamic_annotations.c',
        'dynamic_annotations.h',
      ],
    },
  ],
  'conditions': [
    ['OS == "win"', {
      'targets': [
        {
          'target_name': 'dynamic_annotations_win64',
          'type': 'static_library',
          # We can't use dynamic_annotations target for win64 build since it is
          # a 32-bit library.
          # TODO(gregoryd): merge with dynamic_annotations when
          # the win32/64 targets are merged.
          'include_dirs': [
              '../../../',
          ],
          'sources': [
            'dynamic_annotations.c',
            'dynamic_annotations.h',
          ],
          'configurations': {
            'Common_Base': {
              'msvs_target_platform': 'x64',
            },
          },
        },
      ],
    }],
  ],
}