| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 def mipsel_builder(c): | 62 def mipsel_builder(c): |
| 63 if c.TARGET_ARCH != 'mipsel': # pragma: no cover | 63 if c.TARGET_ARCH != 'mipsel': # pragma: no cover |
| 64 raise recipe_config.BadConf('I dunno what to put in a mips builder!') | 64 raise recipe_config.BadConf('I dunno what to put in a mips builder!') |
| 65 | 65 |
| 66 @CONFIG_CTX(includes=['mipsel_builder', 'mb']) | 66 @CONFIG_CTX(includes=['mipsel_builder', 'mb']) |
| 67 def mipsel_builder_mb(c): | 67 def mipsel_builder_mb(c): |
| 68 pass | 68 pass |
| 69 | 69 |
| 70 @CONFIG_CTX(includes=['clobber']) | 70 @CONFIG_CTX(includes=['clobber']) |
| 71 def cronet_builder(c): | 71 def cronet_builder(c): |
| 72 c.gyp_env.GYP_DEFINES['disable_brotli_filter'] = 1 | |
| 73 c.gyp_env.GYP_DEFINES['disable_file_support'] = 1 | |
| 74 c.gyp_env.GYP_DEFINES['disable_ftp_support'] = 1 | |
| 75 c.gyp_env.GYP_DEFINES['enable_websockets'] = 0 | |
| 76 c.gyp_env.GYP_DEFINES['use_platform_icu_alternatives'] = 1 | |
| 77 c.gn_args.append('disable_brotli_filter=true') | 72 c.gn_args.append('disable_brotli_filter=true') |
| 78 c.gn_args.append('disable_file_support=true') | 73 c.gn_args.append('disable_file_support=true') |
| 79 c.gn_args.append('disable_ftp_support=true') | 74 c.gn_args.append('disable_ftp_support=true') |
| 80 c.gn_args.append('enable_websockets=false') | 75 c.gn_args.append('enable_websockets=false') |
| 81 c.gn_args.append('use_platform_icu_alternatives=true') | 76 c.gn_args.append('use_platform_icu_alternatives=true') |
| 77 c.gn_args.append('use_partition_alloc=false') |
| 82 # TODO(jbudorick): Remove {cronet,net}_unittests_apk targets after | 78 # TODO(jbudorick): Remove {cronet,net}_unittests_apk targets after |
| 83 # gn switch is finished. | 79 # gn switch is finished. |
| 84 c.compile_py.default_targets=['cronet_package', | 80 c.compile_py.default_targets=['cronet_package', |
| 85 'cronet_perf_test_apk', | 81 'cronet_perf_test_apk', |
| 86 'cronet_sample_test_apk', | 82 'cronet_sample_test_apk', |
| 87 'cronet_test_instrumentation_apk', | 83 'cronet_test_instrumentation_apk', |
| 88 'cronet_unittests', | 84 'cronet_unittests', |
| 89 'cronet_unittests_apk', | 85 'cronet_unittests_apk', |
| 90 'net_unittests', | 86 'net_unittests', |
| 91 'net_unittests_apk',] | 87 'net_unittests_apk',] |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 c.gyp_env.GYP_DEFINES['chromecast'] = 1 | 194 c.gyp_env.GYP_DEFINES['chromecast'] = 1 |
| 199 | 195 |
| 200 @CONFIG_CTX() | 196 @CONFIG_CTX() |
| 201 def disable_neon(c): # pragma: no cover | 197 def disable_neon(c): # pragma: no cover |
| 202 c.gn_args.append('arm_use_neon=false') | 198 c.gn_args.append('arm_use_neon=false') |
| 203 c.gyp_env.GYP_DEFINES['arm_neon'] = 0 | 199 c.gyp_env.GYP_DEFINES['arm_neon'] = 0 |
| 204 | 200 |
| 205 @CONFIG_CTX() | 201 @CONFIG_CTX() |
| 206 def errorprone(c): | 202 def errorprone(c): |
| 207 c.gyp_env.GYP_DEFINES['enable_errorprone'] = 1 | 203 c.gyp_env.GYP_DEFINES['enable_errorprone'] = 1 |
| OLD | NEW |