| OLD | NEW |
| 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_config import config_item_context, ConfigGroup, Single, List | 5 from recipe_engine.config import config_item_context, ConfigGroup, Single, List |
| 6 from slave.recipe_config import Static | 6 from recipe_engine.config import Static |
| 7 from slave.recipe_config_types import Path | 7 from recipe_engine.config_types import Path |
| 8 | 8 |
| 9 def BaseConfig(USE_MIRROR=False): | 9 def BaseConfig(USE_MIRROR=False): |
| 10 chromium_in_android_subpath = ('external', 'chromium_org') | 10 chromium_in_android_subpath = ('external', 'chromium_org') |
| 11 build_path = Path('[SLAVE_BUILD]', 'android-src') | 11 build_path = Path('[SLAVE_BUILD]', 'android-src') |
| 12 | 12 |
| 13 return ConfigGroup( | 13 return ConfigGroup( |
| 14 lunch_flavor = Single(basestring), | 14 lunch_flavor = Single(basestring), |
| 15 repo = ConfigGroup( | 15 repo = ConfigGroup( |
| 16 url = Single(basestring), | 16 url = Single(basestring), |
| 17 branch = Single(basestring), | 17 branch = Single(basestring), |
| (...skipping 21 matching lines...) Expand all Loading... |
| 39 def AOSP(c): | 39 def AOSP(c): |
| 40 c.lunch_flavor = 'full-eng' | 40 c.lunch_flavor = 'full-eng' |
| 41 c.repo.url = 'https://android.googlesource.com/platform/manifest' | 41 c.repo.url = 'https://android.googlesource.com/platform/manifest' |
| 42 c.repo.branch = 'android-4.4_r1' | 42 c.repo.branch = 'android-4.4_r1' |
| 43 c.repo.sync_flags = ['-j6', '-d', '-f'] | 43 c.repo.sync_flags = ['-j6', '-d', '-f'] |
| 44 | 44 |
| 45 @config_ctx(includes=['AOSP']) | 45 @config_ctx(includes=['AOSP']) |
| 46 def AOSP_webview(c): | 46 def AOSP_webview(c): |
| 47 c.sync_manifest_override = Path('[CHECKOUT]', 'android_webview', 'buildbot', | 47 c.sync_manifest_override = Path('[CHECKOUT]', 'android_webview', 'buildbot', |
| 48 'aosp_manifest.xml') | 48 'aosp_manifest.xml') |
| OLD | NEW |