summaryrefslogtreecommitdiff
path: root/deps/gyp/test/analyzer/subdir/subdir.gyp
blob: bfa2df48e15b07dd6b39665279c04ff712f5d236 (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
# Copyright (c) 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.

{
  'variables': {
    'trailing_dir_path': '../',
   },
  'targets': [
    {
      'target_name': 'foo',
      'type': 'static_library',
      'sources': [
        'subdir_source.c',
        '<(trailing_dir_path)/parent_source.c',
      ],
    },
    {
      'target_name': 'subdir2a',
      'type': 'static_library',
      'sources': [
        'subdir2_source.c',
      ],
      'dependencies': [
        'subdir2b',
      ],
    },
    {
      'target_name': 'subdir2b',
      'type': 'static_library',
      'sources': [
        'subdir2b_source.c',
      ],
    },
  ],
}