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

Side by Side Diff: scripts/slave/recipes_test/android_webview_aosp.py

Issue 14602020: Add an AOSP builder recipe. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase on top of CL 15270004 Created 7 years, 7 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
(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 """Test inputs for recipes/android_webview_aosp.py"""
6
7
8 def _common_factory_properties(**kwargs):
9 ret = {
10 'android_repo_url': 'https://android.googlesource.com/platform/manifest',
11 'android_repo_branch': 'master',
12 }
13 ret.update(kwargs)
14 return ret
15
16 def _common_test_data():
17 return {
18 'calculate trimmed deps': (0, {
19 'blacklist': {
20 'src/blacklist/project/1': None,
21 'src/blacklist/project/2': None,
22 }
23 })
24 }
25
26 def basic_test(api):
27 return {
28 'factory_properties': _common_factory_properties(),
29 'test_data': _common_test_data(),
30 }
31
32 def with_ndk_pin_revision_test(api):
33 return {
34 'factory_properties': _common_factory_properties(
35 android_ndk_pin_revision='5049b437591600fb0d262e4215cee4226e63c6ce'
36 ),
37 'test_data': _common_test_data(),
38 }
39
40 def with_resync_projects_test(api):
41 return {
42 'factory_properties': _common_factory_properties(
43 android_repo_resync_projects=['frameworks/base']
44 ),
45 'test_data': _common_test_data(),
46 }
47
48 def uses_android_repo_test(api):
49 return {
50 'factory_properties': _common_factory_properties(),
51 'test_data': _common_test_data(),
52 'mock_path_exists' : [
53 '[SLAVE_BUILD_ROOT]/android-src/.repo/repo/repo',
54 '[SLAVE_BUILD_ROOT]/android-src',
55 ],
56 }
57
58 def does_delete_stale_chromium_test(api):
59 return {
60 'factory_properties': _common_factory_properties(),
61 'test_data': _common_test_data(),
62 'mock_path_exists' : [
63 '[SLAVE_BUILD_ROOT]/android-src/external/chromium_org',
64 ],
65 }
66
67 def uses_goma_test(api):
68 return {
69 'factory_properties': _common_factory_properties(),
70 'test_data': _common_test_data(),
71 'mock_path_exists' : ['[BUILD_ROOT]/goma', ]
72 }
73
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698