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

Side by Side Diff: scripts/slave/recipe_modules/android/config.py

Issue 22852002: Move AOSP bots to Android 4.3 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 7 years, 4 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_configs_util import config_item_context, ConfigGroup 5 from slave.recipe_configs_util import config_item_context, ConfigGroup
6 from slave.recipe_configs_util import SimpleConfig, ListConfig, StaticConfig 6 from slave.recipe_configs_util import SimpleConfig, ListConfig, StaticConfig
7 7
8 def BaseConfig(USE_MIRROR=False): 8 def BaseConfig(USE_MIRROR=False):
9 return ConfigGroup( 9 return ConfigGroup(
10 lunch_flavor = SimpleConfig(basestring), 10 lunch_flavor = SimpleConfig(basestring),
11 ndk_pin_revision = SimpleConfig(basestring),
12 repo = ConfigGroup( 11 repo = ConfigGroup(
13 url = SimpleConfig(basestring), 12 url = SimpleConfig(basestring),
14 branch = SimpleConfig(basestring), 13 branch = SimpleConfig(basestring),
15 sync_flags = ListConfig(basestring), 14 sync_flags = ListConfig(basestring),
16 ), 15 ),
17 USE_MIRROR = StaticConfig(bool(USE_MIRROR)), 16 USE_MIRROR = StaticConfig(bool(USE_MIRROR)),
18 ) 17 )
19 18
20 config_ctx = config_item_context( 19 config_ctx = config_item_context(
21 BaseConfig, 20 BaseConfig,
22 {'USE_MIRROR': (False,)}, 21 {'USE_MIRROR': (False,)},
23 'android') 22 'android')
24 23
25 @config_ctx() 24 @config_ctx()
26 def AOSP(c): 25 def AOSP(c):
27 c.lunch_flavor = 'full-eng' 26 c.lunch_flavor = 'full-eng'
28 c.ndk_pin_revision = '5049b437591600fb0d262e4215cee4226e63c6ce'
29 c.repo.url = 'https://android.googlesource.com/platform/manifest' 27 c.repo.url = 'https://android.googlesource.com/platform/manifest'
30 c.repo.branch = 'jb-mr1.1-dev' 28 c.repo.branch = 'android-4.3_r2.1'
31 c.repo.sync_flags = ['-j16', '-d', '-f'] 29 c.repo.sync_flags = ['-j16', '-d', '-f']
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/android/api.py ('k') | scripts/slave/recipe_modules/android/config.expected/android.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698