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

Side by Side Diff: scripts/slave/recipes/webrtc_android_apk_trybot.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 DEPS = [
6 'chromium',
7 'gclient',
8 'json',
9 'path',
10 'properties',
11 'python',
12 'step',
13 'webrtc',
14 ]
15
16
17 def GenSteps(api):
18 config_vals = {}
19 config_vals.update(
20 dict((str(k),v) for k,v in api.properties.iteritems() if k.isupper())
21 )
22 api.webrtc.set_config('webrtc_android_apk_try_builder', **config_vals)
23 api.step.auto_resolve_conflicts = True
24
25 yield api.gclient.checkout()
26 yield api.webrtc.apply_svn_patch()
27 yield api.webrtc.envsetup()
28 yield api.webrtc.runhooks()
29 yield api.chromium.cleanup_temp()
30 yield api.webrtc.compile()
31
32 for test in api.webrtc.get_normal_tests():
33 # The libjingle tests are not yet supported on Android.
34 if not test.startswith('libjingle'):
35 yield api.webrtc.runtests(test)
36
37
38 def GenTests(api):
39 for build_config in ('Debug', 'Release'):
40 props = api.properties(
41 HOST_PLATFORM='linux',
42 HOST_ARCH='intel',
43 HOST_BITS=64,
iannucci 2013/11/18 18:49:26 In general, you should let the HOST_* be set autom
kjellander_chromium 2013/11/20 14:29:16 Ah, so that's how it works. I remember seeing the
44 TARGET_PLATFORM='linux',
iannucci 2013/11/18 18:49:26 target platform should actually be 'android', righ
kjellander_chromium 2013/11/20 14:29:16 Yes.
45 TARGET_ARCH='arm',
46 TARGET_BITS=64,
47 BUILD_CONFIG=build_config,
48 ANDROID_APK=True,
49 revision='12345',
50 patch_url='try_job_svn_patch'
51 )
52
53 yield (
54 api.test(build_config) +
55 props +
56 api.step_data('envsetup',
57 api.json.output({'PATH': './',})
58 )
59 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698