Chromium Code Reviews| Index: build/common.gypi |
| diff --git a/build/common.gypi b/build/common.gypi |
| index 1f01db0371d0b868255387eeade06662caac2207..274e0f7683fe44c400ce79cff954f1b521eb5a50 100644 |
| --- a/build/common.gypi |
| +++ b/build/common.gypi |
| @@ -146,6 +146,7 @@ |
| 'enable_hidpi%': '<(enable_hidpi)', |
| 'buildtype%': '<(buildtype)', |
| 'branding%': '<(branding)', |
| + 'branding_path_component%': 'chromium', |
| 'host_arch%': '<(host_arch)', |
| 'target_arch%': '<(target_arch)', |
| @@ -185,6 +186,12 @@ |
| 'mips_dsp_rev%': 0, |
| 'conditions': [ |
| + ['branding == "Chrome"', { |
| + 'branding_path_component%': 'google_chrome', |
| + }, { |
| + 'branding_path_component%': '<(branding)', |
|
Michael Moss
2015/04/21 15:11:53
Default 'branding' is "Chromium", but the usages y
gburanov
2015/04/21 15:48:20
No, just to clarify:
For Chromium:
branding_path_
Michael Moss
2015/04/21 17:21:20
That just sets a default, which you then universal
gburanov
2015/04/21 17:26:59
yep, you are correct. sorry. I will fix it.
gburanov
2015/04/22 15:20:45
Do you know how to make double if here?
Michael Moss
2015/04/22 16:16:51
You can wrap a 'conditions' inside a 'conditions',
|
| + }], |
| + |
| # Ash needs Aura. |
| ['use_aura==0', { |
| 'use_ash%': 0, |
| @@ -292,6 +299,7 @@ |
| 'use_default_render_theme%': '<(use_default_render_theme)', |
| 'buildtype%': '<(buildtype)', |
| 'branding%': '<(branding)', |
| + 'branding_path_component%': '<(branding_path_component)', |
| 'arm_version%': '<(arm_version)', |
| 'sysroot%': '<(sysroot)', |
| 'chroot_cmd%': '<(chroot_cmd)', |
| @@ -1077,6 +1085,7 @@ |
| # Copy conditionally-set variables out one scope. |
| 'branding%': '<(branding)', |
| + 'branding_path_component%': '<(branding_path_component)', |
| 'buildtype%': '<(buildtype)', |
| 'target_arch%': '<(target_arch)', |
| 'target_subarch%': '<(target_subarch)', |