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

Unified Diff: scripts/slave/recipe_modules/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 side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipe_modules/chromium/config.py
diff --git a/scripts/slave/recipe_modules/chromium/config.py b/scripts/slave/recipe_modules/chromium/config.py
index 7e570db374fadc38461abcddfbe6fb608327b799..0b9576816aea29c3c6d96ed3944f7583f02cf859 100644
--- a/scripts/slave/recipe_modules/chromium/config.py
+++ b/scripts/slave/recipe_modules/chromium/config.py
@@ -110,6 +110,9 @@ def BASE(c):
raise BadConf('Can not compile "%s" on "%s"' %
(c.TARGET_PLATFORM, c.HOST_PLATFORM))
+ if c.HOST_PLATFORM != c.TARGET_PLATFORM:
+ c.gyp_env.GYP_CROSSCOMPILE = 1
+
if c.HOST_BITS < c.TARGET_BITS:
raise BadConf('host bits < targ bits')
@@ -229,3 +232,13 @@ def blink(c):
@config_ctx(includes=['chromium_clang'])
def blink_clang(c):
c.compile_py.default_targets = ['blink_tests']
+
+@config_ctx(includes=['ninja', 'static_library', 'default_compiler', 'goma'])
+def android(c):
+ gyp_defs = c.gyp_env.GYP_DEFINES
+ gyp_defs['fastbuild'] = 1
+ gyp_defs['OS'] = c.TARGET_PLATFORM
+ gyp_defs['host_os'] = c.HOST_PLATFORM
+ gyp_defs['gcc_version'] = 46
+ gyp_defs['order_text_section'] = Path(
+ '[CHECKOUT]', 'orderfiles', 'orderfile.out')

Powered by Google App Engine
This is Rietveld 408576698