summaryrefslogtreecommitdiff
path: root/deps/gyp/test/variables/latelate/src/latelate.gyp
blob: 312f3765b6744f6d9023924c31438e88cae6882f (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
# Copyright (c) 2009 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': {
    'target_conditions': [
      ['has_lame==1', {
        'sources/': [
          ['exclude', 'lame'],
        ],
      }],
    ],
  },
  'targets': [
    {
      'target_name': 'program',
      'type': 'executable',
      'variables': {
        'has_lame': 1,
      },
      'include_dirs': [
        '<(SHARED_INTERMEDIATE_DIR)',
      ],
      'defines': [
        'FOO="^(_sources)"',
      ],
      'sources': [
        'program.cc',
        'this_is_lame.cc',
      ],
    },
  ],
}