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

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

Issue 1862223004: Add disable_brotli_filter and use_platform_icu_alternatives to cronet builder config. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 8 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 @CONFIG_CTX(includes=['mipsel_builder', 'mb']) 62 @CONFIG_CTX(includes=['mipsel_builder', 'mb'])
63 def mipsel_builder_mb(c): 63 def mipsel_builder_mb(c):
64 pass 64 pass
65 65
66 @CONFIG_CTX(includes=['main_builder']) 66 @CONFIG_CTX(includes=['main_builder'])
67 def dartium_builder(c): 67 def dartium_builder(c):
68 c.compile_py.default_targets=['chrome_apk', 'content_shell_apk'] 68 c.compile_py.default_targets=['chrome_apk', 'content_shell_apk']
69 69
70 @CONFIG_CTX() 70 @CONFIG_CTX()
71 def cronet_builder(c): 71 def cronet_builder(c):
72 c.gyp_env.GYP_DEFINES['disable_brotli_filter'] = 1
72 c.gyp_env.GYP_DEFINES['disable_file_support'] = 1 73 c.gyp_env.GYP_DEFINES['disable_file_support'] = 1
73 c.gyp_env.GYP_DEFINES['disable_ftp_support'] = 1 74 c.gyp_env.GYP_DEFINES['disable_ftp_support'] = 1
74 c.gyp_env.GYP_DEFINES['enable_bidirectional_stream'] = 1 75 c.gyp_env.GYP_DEFINES['enable_bidirectional_stream'] = 1
75 c.gyp_env.GYP_DEFINES['enable_websockets'] = 0 76 c.gyp_env.GYP_DEFINES['enable_websockets'] = 0
77 c.gyp_env.GYP_DEFINES['use_platform_icu_alternatives'] = 1
76 c.compile_py.clobber = True 78 c.compile_py.clobber = True
77 # TODO(jbudorick): Remove {cronet,net}_unittests_apk targets after 79 # TODO(jbudorick): Remove {cronet,net}_unittests_apk targets after
78 # gn switch is finished. 80 # gn switch is finished.
79 c.compile_py.default_targets=['cronet_package', 81 c.compile_py.default_targets=['cronet_package',
80 'cronet_sample_test_apk', 82 'cronet_sample_test_apk',
81 'cronet_test_instrumentation_apk', 83 'cronet_test_instrumentation_apk',
82 'cronet_unittests', 84 'cronet_unittests',
83 'cronet_unittests_apk', 85 'cronet_unittests_apk',
84 'net_unittests', 86 'net_unittests',
85 'net_unittests_apk',] 87 'net_unittests_apk',]
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 def webview_perf(c): 200 def webview_perf(c):
199 gyp_defs = c.gyp_env.GYP_DEFINES 201 gyp_defs = c.gyp_env.GYP_DEFINES
200 202
201 @CONFIG_CTX(includes=['main_builder']) 203 @CONFIG_CTX(includes=['main_builder'])
202 def cast_builder(c): 204 def cast_builder(c):
203 c.gyp_env.GYP_DEFINES['chromecast'] = 1 205 c.gyp_env.GYP_DEFINES['chromecast'] = 1
204 206
205 @CONFIG_CTX() 207 @CONFIG_CTX()
206 def errorprone(c): 208 def errorprone(c):
207 c.gyp_env.GYP_DEFINES['enable_errorprone'] = 1 209 c.gyp_env.GYP_DEFINES['enable_errorprone'] = 1
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698