| Index: scripts/slave/recipe_modules/chromium/config.py
|
| diff --git a/scripts/slave/recipe_modules/chromium/config.py b/scripts/slave/recipe_modules/chromium/config.py
|
| index 9a65c523d09f5c9e7df3abbb6d5366746507ff1d..376eebd7c3b60904b5f174b66dcb1c2abdd5f63e 100644
|
| --- a/scripts/slave/recipe_modules/chromium/config.py
|
| +++ b/scripts/slave/recipe_modules/chromium/config.py
|
| @@ -187,9 +187,6 @@
|
| if gyp_arch:
|
| c.gyp_env.GYP_DEFINES['target_arch'] = gyp_arch
|
|
|
| - if c.TARGET_PLATFORM == 'mac':
|
| - c.env.FORCE_MAC_TOOLCHAIN = 1
|
| -
|
| if c.BUILD_CONFIG in ['Coverage', 'Release']:
|
| # The 'Coverage' target is not explicitly used by Chrome, but by some other
|
| # projects in the Chrome ecosystem (ie: Syzygy).
|
| @@ -806,3 +803,8 @@
|
| @config_ctx()
|
| def build_angle_deqp_tests(c):
|
| c.gyp_env.GYP_DEFINES['build_angle_deqp_tests'] = 1
|
| +
|
| +@config_ctx()
|
| +def force_mac_toolchain(c):
|
| + c.env.FORCE_MAC_TOOLCHAIN = 1
|
| + c.gyp_env.FORCE_MAC_TOOLCHAIN = 1
|
|
|