Home | History | Annotate | Download | only in subdir
      1 # Copyright (c) 2014 Google Inc. 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   'variables': {
      7     'trailing_dir_path': '../',
      8    },
      9   'targets': [
     10     {
     11       'target_name': 'foo',
     12       'type': 'static_library',
     13       'sources': [
     14         'subdir_source.c',
     15         '<(trailing_dir_path)/parent_source.c',
     16       ],
     17     },
     18     {
     19       'target_name': 'subdir2a',
     20       'type': 'static_library',
     21       'sources': [
     22         'subdir2_source.c',
     23       ],
     24       'dependencies': [
     25         'subdir2b',
     26       ],
     27     },
     28     {
     29       'target_name': 'subdir2b',
     30       'type': 'static_library',
     31       'sources': [
     32         'subdir2b_source.c',
     33       ],
     34     },
     35   ],
     36 }
     37