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

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

Issue 1292783004: Run Cronet perf test on Cronet bot Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 5 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 @CONFIG_CTX() 66 @CONFIG_CTX()
67 def cronet_builder(c): 67 def cronet_builder(c):
68 c.gyp_env.GYP_DEFINES['disable_file_support'] = 1 68 c.gyp_env.GYP_DEFINES['disable_file_support'] = 1
69 c.gyp_env.GYP_DEFINES['disable_ftp_support'] = 1 69 c.gyp_env.GYP_DEFINES['disable_ftp_support'] = 1
70 c.gyp_env.GYP_DEFINES['enable_websockets'] = 0 70 c.gyp_env.GYP_DEFINES['enable_websockets'] = 0
71 c.gyp_env.GYP_DEFINES['use_icu_alternatives_on_android'] = 1 71 c.gyp_env.GYP_DEFINES['use_icu_alternatives_on_android'] = 1
72 c.compile_py.clobber = True 72 c.compile_py.clobber = True
73 c.compile_py.default_targets=['cronet_package', 73 c.compile_py.default_targets=['cronet_package',
74 'cronet_sample_test_apk', 74 'cronet_sample_test_apk',
75 'cronet_test_instrumentation_apk'] 75 'cronet_test_instrumentation_apk']
76 if c.BUILD_CONFIG == 'Release' and c.TARGET_ARCH == 'arm':
77 c.compile_py.default_targets.add('cronet_perf_test_apk')
76 78
77 @CONFIG_CTX(includes=['main_builder']) 79 @CONFIG_CTX(includes=['main_builder'])
78 def arm_l_builder(c): # pragma: no cover 80 def arm_l_builder(c): # pragma: no cover
79 pass 81 pass
80 82
81 @CONFIG_CTX(includes=['arm_l_builder']) 83 @CONFIG_CTX(includes=['arm_l_builder'])
82 def arm_l_builder_lto(c): # pragma: no cover 84 def arm_l_builder_lto(c): # pragma: no cover
83 c.gyp_env.GYP_DEFINES['use_lto'] = 1 85 c.gyp_env.GYP_DEFINES['use_lto'] = 1
84 c.gyp_env.GYP_DEFINES['component'] = 'shared_library' 86 c.gyp_env.GYP_DEFINES['component'] = 'shared_library'
85 87
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 gyp_defs['buildtype'] = 'Official' 177 gyp_defs['buildtype'] = 'Official'
176 178
177 @CONFIG_CTX(includes=['main_builder']) 179 @CONFIG_CTX(includes=['main_builder'])
178 def webview_perf(c): 180 def webview_perf(c):
179 gyp_defs = c.gyp_env.GYP_DEFINES 181 gyp_defs = c.gyp_env.GYP_DEFINES
180 gyp_defs['android_webview_telemetry_build'] = 1 182 gyp_defs['android_webview_telemetry_build'] = 1
181 183
182 @CONFIG_CTX(includes=['main_builder']) 184 @CONFIG_CTX(includes=['main_builder'])
183 def cast_builder(c): 185 def cast_builder(c):
184 c.gyp_env.GYP_DEFINES['chromecast'] = 1 186 c.gyp_env.GYP_DEFINES['chromecast'] = 1
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/cronet/api.py » ('j') | scripts/slave/recipes/cronet.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698