diff options
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r-- | chrome/chrome.gyp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp index 3be3449..44e0c30 100644 --- a/chrome/chrome.gyp +++ b/chrome/chrome.gyp @@ -70,8 +70,10 @@ # consistency they should look for GOOGLE_CHROME_BUILD like C++. # Clean this up when Windows moves to gyp. 'chrome_build': '_google_chrome', + 'branded_env': 'CHROMIUM_BUILD=google_chrome', }, { # else: branding!="Chrome" 'chrome_build': '_chromium', + 'branded_env': 'CHROMIUM_BUILD=chromium', }], ], }, @@ -84,7 +86,9 @@ ], 'action': ['python', '<@(_inputs)', '-i', '<(RULE_INPUT_PATH)', 'build', '-o', '<(SHARED_INTERMEDIATE_DIR)/chrome', - '-D', '<(chrome_build)'], + '-D', '<(chrome_build)', + '-E', '<(branded_env)', + ], 'message': 'Generating resources from <(RULE_INPUT_PATH)', }, ], |