| 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 slave.recipe_config_types import Path | 5 from recipe_engine.config_types import Path |
| 6 from slave import 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 |
| 11 @CONFIG_CTX(includes=['android_common', 'ninja', 'static_library'], | 11 @CONFIG_CTX(includes=['android_common', 'ninja', 'static_library'], |
| 12 config_vars={'TARGET_ARCH': 'arm', 'TARGET_BITS': 32, | 12 config_vars={'TARGET_ARCH': 'arm', 'TARGET_BITS': 32, |
| 13 'BUILD_CONFIG': 'Debug'}) | 13 'BUILD_CONFIG': 'Debug'}) |
| 14 def base_config(c): | 14 def base_config(c): |
| 15 c.compile_py.default_targets=[] | 15 c.compile_py.default_targets=[] |
| 16 | 16 |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 gyp_defs['buildtype'] = 'Official' | 168 gyp_defs['buildtype'] = 'Official' |
| 169 | 169 |
| 170 @CONFIG_CTX(includes=['main_builder']) | 170 @CONFIG_CTX(includes=['main_builder']) |
| 171 def webview_perf(c): | 171 def webview_perf(c): |
| 172 gyp_defs = c.gyp_env.GYP_DEFINES | 172 gyp_defs = c.gyp_env.GYP_DEFINES |
| 173 gyp_defs['android_webview_telemetry_build'] = 1 | 173 gyp_defs['android_webview_telemetry_build'] = 1 |
| 174 | 174 |
| 175 @CONFIG_CTX(includes=['main_builder']) | 175 @CONFIG_CTX(includes=['main_builder']) |
| 176 def cast_builder(c): | 176 def cast_builder(c): |
| 177 c.gyp_env.GYP_DEFINES['chromecast'] = 1 | 177 c.gyp_env.GYP_DEFINES['chromecast'] = 1 |
| OLD | NEW |