Home | History | Annotate | Download | only in dependencies
      1 # Copyright (c) 2009 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   'targets': [
      7     {
      8       'target_name': 'needs_chain',
      9       'type': 'executable',
     10       'sources': [
     11         'a.c',
     12         'main.c',
     13       ],
     14       'dependencies': ['chain'],
     15     },
     16     {
     17       'target_name': 'chain',
     18       'type': 'none',
     19       'dependencies': ['b/b.gyp:b'],
     20     },
     21     {
     22       'target_name': 'doesnt_need_chain',
     23       'type': 'executable',
     24       'sources': [
     25         'main.c',
     26       ],
     27       'dependencies': ['no_chain', 'other_chain'],
     28     },
     29     {
     30       'target_name': 'no_chain',
     31       'type': 'none',
     32       'sources': [
     33       ],
     34       'dependencies': ['b/b.gyp:b'],
     35       'dependencies_traverse': 0,
     36     },
     37     {
     38       'target_name': 'other_chain',
     39       'type': 'static_library',
     40       'sources': [
     41         'a.c',
     42       ],
     43       'dependencies': ['b/b.gyp:b3'],
     44     },
     45   ],
     46 }
     47