| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 from recipe_engine.config import BadConf | 5 from recipe_engine.config import BadConf |
| 6 from recipe_engine.config_types import Path | 6 from recipe_engine.config_types import Path |
| 7 from recipe_engine import config as recipe_config | 7 from recipe_engine import config as recipe_config |
| 8 | 8 |
| 9 import DEPS | 9 import DEPS |
| 10 CONFIG_CTX = DEPS['chromium'].CONFIG_CTX | 10 CONFIG_CTX = DEPS['chromium'].CONFIG_CTX |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 def embed_script_mjsunit(c): | 69 def embed_script_mjsunit(c): |
| 70 c.gyp_env.GYP_DEFINES['embed_script'] = Path( | 70 c.gyp_env.GYP_DEFINES['embed_script'] = Path( |
| 71 '[CHECKOUT]', 'test', 'mjsunit', 'mjsunit.js') | 71 '[CHECKOUT]', 'test', 'mjsunit', 'mjsunit.js') |
| 72 | 72 |
| 73 | 73 |
| 74 @CONFIG_CTX(includes=['v8']) | 74 @CONFIG_CTX(includes=['v8']) |
| 75 def enable_slow_dchecks(c): | 75 def enable_slow_dchecks(c): |
| 76 c.gyp_env.GYP_DEFINES['v8_enable_slow_dchecks'] = 1 # pragma: no cover | 76 c.gyp_env.GYP_DEFINES['v8_enable_slow_dchecks'] = 1 # pragma: no cover |
| 77 | 77 |
| 78 | 78 |
| 79 @CONFIG_CTX(includes=['v8']) |
| 80 def gcmole(c): |
| 81 c.gyp_env.GYP_DEFINES['gcmole'] = 1 |
| 82 |
| 83 |
| 79 @CONFIG_CTX(includes=['v8', 'gcc']) | 84 @CONFIG_CTX(includes=['v8', 'gcc']) |
| 80 def gcov_coverage(c): | 85 def gcov_coverage(c): |
| 81 c.gyp_env.GYP_DEFINES['coverage'] = 1 | 86 c.gyp_env.GYP_DEFINES['coverage'] = 1 |
| 82 | 87 |
| 83 | 88 |
| 84 @CONFIG_CTX(includes=['v8']) | 89 @CONFIG_CTX(includes=['v8']) |
| 85 def internal_snapshot(c): | 90 def internal_snapshot(c): |
| 86 c.gyp_env.GYP_DEFINES['v8_use_external_startup_data'] = 0 | 91 c.gyp_env.GYP_DEFINES['v8_use_external_startup_data'] = 0 |
| 87 | 92 |
| 88 | 93 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 def vtunejit(c): | 190 def vtunejit(c): |
| 186 c.gyp_env.GYP_DEFINES['v8_enable_vtunejit'] = 1 | 191 c.gyp_env.GYP_DEFINES['v8_enable_vtunejit'] = 1 |
| 187 | 192 |
| 188 | 193 |
| 189 @CONFIG_CTX(includes=['v8']) | 194 @CONFIG_CTX(includes=['v8']) |
| 190 def x87(c): | 195 def x87(c): |
| 191 # TODO(machenbach): Chromium does not support x87 yet. With the current | 196 # TODO(machenbach): Chromium does not support x87 yet. With the current |
| 192 # configuration, target_arch can't be set through a parameter as ARCH=intel | 197 # configuration, target_arch can't be set through a parameter as ARCH=intel |
| 193 # and BITS=32 is ambigue with x87. | 198 # and BITS=32 is ambigue with x87. |
| 194 c.gyp_env.GYP_DEFINES['v8_target_arch'] = 'x87' | 199 c.gyp_env.GYP_DEFINES['v8_target_arch'] = 'x87' |
| OLD | NEW |