I'm sure that there are better examples than the below.  Presumably if
you want something defined in both Debug and Release, you want it
globally, and you'd be better off specifying it outside of the
configuration altogether.

Brad, we can still inherit from non-abstract configurations, right?
This might be useful...

'configurations': {
  'Release': {
    # not abstract
  },
  'Valgrind': {
    'inherit_from': ['Release'],
    # Make stacks somewhat more friendly
    'optimization': 1,  # not a real keyword, just an example
  },
},

Mark

Bradley Nelson wrote:
> configurations can now inherit from one or more other configurations, and
> configurations which are not fully expressed should be marked 'abstract': 1,
> So something like this:
>
> 'configurations': {
>   'Common: {
>      'abstract': 1,
>      # common settings
>   },
>   'Debug': {
>      'inherit_from': ['Common'],
>      # Debug specific
>   },
>   'Release': {
>      'inherit_from': ['Common'],
>      # Release specific
>   },
> },

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to