Home | History | Annotate | Download | only in inheritance
      1 # Copyright 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   'target_defaults': {
      7     'default_configuration': 'A',
      8     'configurations': {
      9       'A': {
     10         'defines': ['SOMETHING'],
     11       },
     12       'B': {
     13         'inherit_from': ['A'],
     14       },
     15     },
     16     'cflags': ['-g'],
     17   },
     18   'targets': [
     19     {
     20       'target_name': 'configurations',
     21       'type': 'executable',
     22       'sources': [
     23         'configurations.c',
     24       ],
     25     },
     26   ],
     27 }
     28