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

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

Issue 75163006: WebRTC Android APK trybot recipe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 7 years, 1 month 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
(Empty)
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
3 # found in the LICENSE file.
4
5 from slave.recipe_config_types import Path
6
7 from RECIPE_MODULES.chromium import CONFIG_CTX
8
9 #TODO(kjellander): Remove duplication vs the chromium_android recipe module's
10 # android_defaults config.
11 @CONFIG_CTX(includes=['ninja', 'static_library'])
iannucci 2013/11/18 18:49:26 May want to check for / raise BadConf TARGET_PLAT
kjellander_chromium 2013/11/20 14:29:16 I added platform and architecture checks only for
12 def webrtc_android_defaults(c):
13 c.compile_py.default_targets=['All']
14 c.gyp_env.GYP_CROSSCOMPILE = 1
iannucci 2013/11/18 18:49:26 Do you know when this is supposed to be set? We co
kjellander_chromium 2013/11/20 14:29:16 I assume it's needed only when compiling for anoth
15 c.gyp_env.GYP_GENERATORS.add('ninja')
iannucci 2013/11/18 18:49:26 This should already be set, since you're including
kjellander_chromium 2013/11/20 14:29:16 Done.
16 c.gyp_env.GYP_GENERATOR_FLAGS['default_target'] = 'All'
iannucci 2013/11/18 18:49:26 this is redundant with compile_py.default_targets
kjellander_chromium 2013/11/20 14:29:16 Right, I guess All is the default if nothing is sp
17 gyp_defs = c.gyp_env.GYP_DEFINES
18 gyp_defs['fastbuild'] = 1
19 gyp_defs['OS'] = 'android'
iannucci 2013/11/18 18:49:26 This gets me all the time... is 'OS' supposed to b
kjellander_chromium 2013/11/20 14:29:16 I think it's the target OS in all cases, and the s
20 gyp_defs['host_os'] = 'linux'
21 gyp_defs['gcc_version'] = 46
22 gyp_defs['order_text_section'] = Path(
23 '[CHECKOUT]', 'orderfiles', 'orderfile.out')
24 gyp_defs['target_arch'] = 'arm'
25
26 @CONFIG_CTX(includes=['webrtc_android_defaults', 'default_compiler', 'goma'])
27 def webrtc_android_apk_try_builder(c):
28 c.compile_py.default_targets = ['android_builder_webrtc']
29 c.gyp_env.GYP_GENERATOR_FLAGS['default_target'] = 'android_builder_webrtc'
30 c.gyp_env.GYP_DEFINES['include_tests'] = 1
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698