| 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_types import Path | 5 from recipe_engine.config_types import Path |
| 6 from recipe_engine import config as recipe_config | 6 from recipe_engine import config as recipe_config |
| 7 | 7 |
| 8 import DEPS | 8 import DEPS |
| 9 CONFIG_CTX = DEPS['chromium'].CONFIG_CTX | 9 CONFIG_CTX = DEPS['chromium'].CONFIG_CTX |
| 10 | 10 |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 @CONFIG_CTX(includes=['main_builder']) | 189 @CONFIG_CTX(includes=['main_builder']) |
| 190 def incremental_coverage_builder_tests(c): | 190 def incremental_coverage_builder_tests(c): |
| 191 gyp_defs = c.gyp_env.GYP_DEFINES | 191 gyp_defs = c.gyp_env.GYP_DEFINES |
| 192 gyp_defs['emma_coverage'] = 1 | 192 gyp_defs['emma_coverage'] = 1 |
| 193 gyp_defs['emma_filter'] = 'org.chromium.*' | 193 gyp_defs['emma_filter'] = 'org.chromium.*' |
| 194 | 194 |
| 195 @CONFIG_CTX(includes=['main_builder']) | 195 @CONFIG_CTX(includes=['main_builder']) |
| 196 def non_device_wipe_provisioning(c): | 196 def non_device_wipe_provisioning(c): |
| 197 pass | 197 pass |
| 198 | 198 |
| 199 # TODO(zty): figure out what perf builder really wants and use that instead. | |
| 200 # e.g. official | |
| 201 @CONFIG_CTX(includes=['main_builder']) | |
| 202 def perf(c): | |
| 203 gyp_defs = c.gyp_env.GYP_DEFINES | |
| 204 gyp_defs['branding'] = 'Chrome' | |
| 205 gyp_defs['buildtype'] = 'Official' | |
| 206 | |
| 207 @CONFIG_CTX(includes=['main_builder']) | 199 @CONFIG_CTX(includes=['main_builder']) |
| 208 def cast_builder(c): | 200 def cast_builder(c): |
| 209 c.gyp_env.GYP_DEFINES['chromecast'] = 1 | 201 c.gyp_env.GYP_DEFINES['chromecast'] = 1 |
| 210 | 202 |
| 211 @CONFIG_CTX() | 203 @CONFIG_CTX() |
| 212 def disable_neon(c): # pragma: no cover | 204 def disable_neon(c): # pragma: no cover |
| 213 c.gn_args.append('arm_use_neon=false') | 205 c.gn_args.append('arm_use_neon=false') |
| 214 c.gyp_env.GYP_DEFINES['arm_neon'] = 0 | 206 c.gyp_env.GYP_DEFINES['arm_neon'] = 0 |
| 215 | 207 |
| 216 @CONFIG_CTX() | 208 @CONFIG_CTX() |
| 217 def errorprone(c): | 209 def errorprone(c): |
| 218 c.gyp_env.GYP_DEFINES['enable_errorprone'] = 1 | 210 c.gyp_env.GYP_DEFINES['enable_errorprone'] = 1 |
| OLD | NEW |