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

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: Rebased, removed video_engine_tests Created 7 years 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 import BadConf
6
7 from RECIPE_MODULES.chromium import CONFIG_CTX
8
9
10 SUPPORTED_TARGET_ARCHS = ('intel', 'arm')
11
12 @CONFIG_CTX(includes=['android'])
13 def webrtc_android_apk_try_builder(c):
14 if c.TARGET_PLATFORM != 'android':
15 raise BadConf('Only "android" platform is supported (got: "%s")' %
16 c.TARGET_PLATFORM)
17 if c.TARGET_ARCH not in SUPPORTED_TARGET_ARCHS:
18 raise BadConf('Only "%s" architectures are supported (got: "%s")' %
19 (','.join(SUPPORTED_TARGET_ARCHS), c.TARGET_ARCH))
20
21 c.compile_py.default_targets = ['android_builder_webrtc']
22 c.gyp_env.GYP_GENERATOR_FLAGS['default_target'] = 'android_builder_webrtc'
23 c.gyp_env.GYP_DEFINES['include_tests'] = 1
24
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/webrtc/api.py ('k') | scripts/slave/recipe_modules/webrtc/config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698