summaryrefslogtreecommitdiff
path: root/deps/gyp/test/configurations/inheritance/duplicates.gyp
blob: 6930ce3b39a12b7a45dfad28636abe86b5434615 (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
# Copyright 2014 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'target_defaults': {
    'default_configuration': 'A',
    'configurations': {
      'A': {
        'defines': ['SOMETHING'],
      },
      'B': {
        'inherit_from': ['A'],
      },
    },
    'cflags': ['-g'],
  },
  'targets': [
    {
      'target_name': 'configurations',
      'type': 'executable',
      'sources': [
        'configurations.c',
      ],
    },
  ],
}