Home | History | Annotate | Download | only in inheritance
      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   'target_defaults': {
      7     'configurations': {
      8       'Base': {
      9          'abstract': 1,
     10          'defines': ['BASE'],
     11       },
     12       'Common': {
     13          'abstract': 1,
     14          'inherit_from': ['Base'],
     15          'defines': ['COMMON'],
     16       },
     17       'Common2': {
     18          'abstract': 1,
     19          'defines': ['COMMON2'],
     20       },
     21       'Debug': {
     22         'inherit_from': ['Common', 'Common2'],
     23         'defines': ['DEBUG'],
     24       },
     25       'Release': {
     26         'inherit_from': ['Common', 'Common2'],
     27         'defines': ['RELEASE'],
     28       },
     29     },
     30   },
     31   'targets': [
     32     {
     33       'target_name': 'configurations',
     34       'type': 'executable',
     35       'sources': [
     36         'configurations.c',
     37       ],
     38     },
     39   ],
     40 }
     41