| 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 c.gyp_env.GYP_DEFINES['enable_websockets'] = 0 | 79 c.gyp_env.GYP_DEFINES['enable_websockets'] = 0 |
| 80 c.gyp_env.GYP_DEFINES['use_platform_icu_alternatives'] = 1 | 80 c.gyp_env.GYP_DEFINES['use_platform_icu_alternatives'] = 1 |
| 81 c.gn_args.append('disable_brotli_filter=true') | 81 c.gn_args.append('disable_brotli_filter=true') |
| 82 c.gn_args.append('disable_file_support=true') | 82 c.gn_args.append('disable_file_support=true') |
| 83 c.gn_args.append('disable_ftp_support=true') | 83 c.gn_args.append('disable_ftp_support=true') |
| 84 c.gn_args.append('enable_websockets=false') | 84 c.gn_args.append('enable_websockets=false') |
| 85 c.gn_args.append('use_platform_icu_alternatives=true') | 85 c.gn_args.append('use_platform_icu_alternatives=true') |
| 86 # TODO(jbudorick): Remove {cronet,net}_unittests_apk targets after | 86 # TODO(jbudorick): Remove {cronet,net}_unittests_apk targets after |
| 87 # gn switch is finished. | 87 # gn switch is finished. |
| 88 c.compile_py.default_targets=['cronet_package', | 88 c.compile_py.default_targets=['cronet_package', |
| 89 'cronet_perf_test_apk', |
| 89 'cronet_sample_test_apk', | 90 'cronet_sample_test_apk', |
| 90 'cronet_test_instrumentation_apk', | 91 'cronet_test_instrumentation_apk', |
| 91 'cronet_unittests', | 92 'cronet_unittests', |
| 92 'cronet_unittests_apk', | 93 'cronet_unittests_apk', |
| 93 'net_unittests', | 94 'net_unittests', |
| 94 'net_unittests_apk',] | 95 'net_unittests_apk',] |
| 95 | 96 |
| 96 @CONFIG_CTX(includes=['main_builder'], | 97 @CONFIG_CTX(includes=['main_builder'], |
| 97 config_vars={'BUILD_CONFIG': 'Release'}) | 98 config_vars={'BUILD_CONFIG': 'Release'}) |
| 98 def arm_v6_builder_rel(c): # pragma: no cover | 99 def arm_v6_builder_rel(c): # pragma: no cover |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 c.gyp_env.GYP_DEFINES['chromecast'] = 1 | 210 c.gyp_env.GYP_DEFINES['chromecast'] = 1 |
| 210 | 211 |
| 211 @CONFIG_CTX() | 212 @CONFIG_CTX() |
| 212 def disable_neon(c): # pragma: no cover | 213 def disable_neon(c): # pragma: no cover |
| 213 c.gn_args.append('arm_use_neon=false') | 214 c.gn_args.append('arm_use_neon=false') |
| 214 c.gyp_env.GYP_DEFINES['arm_neon'] = 0 | 215 c.gyp_env.GYP_DEFINES['arm_neon'] = 0 |
| 215 | 216 |
| 216 @CONFIG_CTX() | 217 @CONFIG_CTX() |
| 217 def errorprone(c): | 218 def errorprone(c): |
| 218 c.gyp_env.GYP_DEFINES['enable_errorprone'] = 1 | 219 c.gyp_env.GYP_DEFINES['enable_errorprone'] = 1 |
| OLD | NEW |