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

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

Issue 1111413005: Some changes to allow recipes and modules to live noncentrally (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Review comments Created 5 years, 7 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 | Annotate | Revision Log
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 slave.recipe_config_types import Path 5 from slave.recipe_config_types import Path
6 from slave import recipe_config 6 from slave import recipe_config
7 7
8 from RECIPE_MODULES.chromium import CONFIG_CTX 8 import DEPS
9 CONFIG_CTX = DEPS['chromium'].CONFIG_CTX
9 10
10 @CONFIG_CTX(includes=['android_common', 'ninja', 'static_library'], 11 @CONFIG_CTX(includes=['android_common', 'ninja', 'static_library'],
11 config_vars={'TARGET_ARCH': 'arm', 'TARGET_BITS': 32, 12 config_vars={'TARGET_ARCH': 'arm', 'TARGET_BITS': 32,
12 'BUILD_CONFIG': 'Debug'}) 13 'BUILD_CONFIG': 'Debug'})
13 def base_config(c): 14 def base_config(c):
14 c.compile_py.default_targets=[] 15 c.compile_py.default_targets=[]
15 16
16 if c.HOST_PLATFORM != 'linux': # pragma: no cover 17 if c.HOST_PLATFORM != 'linux': # pragma: no cover
17 raise recipe_config.BadConf('Can only build android on linux.') 18 raise recipe_config.BadConf('Can only build android on linux.')
18 19
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 gyp_defs['buildtype'] = 'Official' 167 gyp_defs['buildtype'] = 'Official'
167 168
168 @CONFIG_CTX(includes=['main_builder']) 169 @CONFIG_CTX(includes=['main_builder'])
169 def webview_perf(c): 170 def webview_perf(c):
170 gyp_defs = c.gyp_env.GYP_DEFINES 171 gyp_defs = c.gyp_env.GYP_DEFINES
171 gyp_defs['android_webview_telemetry_build'] = 1 172 gyp_defs['android_webview_telemetry_build'] = 1
172 173
173 @CONFIG_CTX(includes=['main_builder']) 174 @CONFIG_CTX(includes=['main_builder'])
174 def cast_builder(c): 175 def cast_builder(c):
175 c.gyp_env.GYP_DEFINES['chromecast'] = 1 176 c.gyp_env.GYP_DEFINES['chromecast'] = 1
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/chromite/config.py ('k') | scripts/slave/recipe_modules/gclient/config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698