Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/chromium_config.py

Issue 2030713004: Refactor chromium.perf recipe configs. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@2-refactorr
Patch Set: Rebase, hope it's right :) Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 @CONFIG_CTX(includes=['main_builder']) 190 @CONFIG_CTX(includes=['main_builder'])
191 def incremental_coverage_builder_tests(c): 191 def incremental_coverage_builder_tests(c):
192 gyp_defs = c.gyp_env.GYP_DEFINES 192 gyp_defs = c.gyp_env.GYP_DEFINES
193 gyp_defs['emma_coverage'] = 1 193 gyp_defs['emma_coverage'] = 1
194 gyp_defs['emma_filter'] = 'org.chromium.*' 194 gyp_defs['emma_filter'] = 'org.chromium.*'
195 195
196 @CONFIG_CTX(includes=['main_builder']) 196 @CONFIG_CTX(includes=['main_builder'])
197 def non_device_wipe_provisioning(c): 197 def non_device_wipe_provisioning(c):
198 pass 198 pass
199 199
200 # TODO(zty): figure out what perf builder really wants and use that instead.
201 # e.g. official
202 @CONFIG_CTX(includes=['main_builder'])
203 def perf(c):
204 gyp_defs = c.gyp_env.GYP_DEFINES
205 gyp_defs['branding'] = 'Chrome'
206 gyp_defs['buildtype'] = 'Official'
207
208 @CONFIG_CTX(includes=['main_builder']) 200 @CONFIG_CTX(includes=['main_builder'])
209 def cast_builder(c): 201 def cast_builder(c):
210 c.gyp_env.GYP_DEFINES['chromecast'] = 1 202 c.gyp_env.GYP_DEFINES['chromecast'] = 1
211 203
212 @CONFIG_CTX() 204 @CONFIG_CTX()
213 def disable_neon(c): # pragma: no cover 205 def disable_neon(c): # pragma: no cover
214 c.gn_args.append('arm_use_neon=false') 206 c.gn_args.append('arm_use_neon=false')
215 c.gyp_env.GYP_DEFINES['arm_neon'] = 0 207 c.gyp_env.GYP_DEFINES['arm_neon'] = 0
216 208
217 @CONFIG_CTX() 209 @CONFIG_CTX()
218 def errorprone(c): 210 def errorprone(c):
219 c.gyp_env.GYP_DEFINES['enable_errorprone'] = 1 211 c.gyp_env.GYP_DEFINES['enable_errorprone'] = 1
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/chromium/config.py ('k') | scripts/slave/recipe_modules/chromium_android/config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698