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

Unified 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 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 side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipes_test/android_webview_aosp.py
diff --git a/scripts/slave/recipes_test/android_webview_aosp.py b/scripts/slave/recipes_test/android_webview_aosp.py
new file mode 100644
index 0000000000000000000000000000000000000000..b813e1f001fa031fbb455f42f717a286d69f3a98
--- /dev/null
+++ b/scripts/slave/recipes_test/android_webview_aosp.py
@@ -0,0 +1,73 @@
+# Copyright 2013 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+"""Test inputs for recipes/android_webview_aosp.py"""
+
+
+def _common_factory_properties(**kwargs):
+ ret = {
+ 'android_repo_url': 'https://android.googlesource.com/platform/manifest',
+ 'android_repo_branch': 'master',
+ }
+ ret.update(kwargs)
+ return ret
+
+def _common_test_data():
+ return {
+ 'calculate trimmed deps': (0, {
+ 'blacklist': {
+ 'src/blacklist/project/1': None,
+ 'src/blacklist/project/2': None,
+ }
+ })
+ }
+
+def basic_test(api):
+ return {
+ 'factory_properties': _common_factory_properties(),
+ 'test_data': _common_test_data(),
+ }
+
+def with_ndk_pin_revision_test(api):
+ return {
+ 'factory_properties': _common_factory_properties(
+ android_ndk_pin_revision='5049b437591600fb0d262e4215cee4226e63c6ce'
+ ),
+ 'test_data': _common_test_data(),
+ }
+
+def with_resync_projects_test(api):
+ return {
+ 'factory_properties': _common_factory_properties(
+ android_repo_resync_projects=['frameworks/base']
+ ),
+ 'test_data': _common_test_data(),
+ }
+
+def uses_android_repo_test(api):
+ return {
+ 'factory_properties': _common_factory_properties(),
+ 'test_data': _common_test_data(),
+ 'paths_to_mock' : [
+ '[SLAVE_BUILD_ROOT]/android-src/.repo/repo/repo',
+ '[SLAVE_BUILD_ROOT]/android-src',
+ ],
+ }
+
+def does_delete_stale_chromium_test(api):
+ return {
+ 'factory_properties': _common_factory_properties(),
+ 'test_data': _common_test_data(),
+ 'paths_to_mock' : [
+ '[SLAVE_BUILD_ROOT]/android-src/external/chromium_org',
+ ],
+ }
+
+def uses_goma_test(api):
+ return {
+ 'factory_properties': _common_factory_properties(),
+ 'test_data': _common_test_data(),
+ 'paths_to_mock' : ['[BUILD_ROOT]/goma', ]
+ }
+
« no previous file with comments | « scripts/slave/recipes/android_webview_aosp.py ('k') | scripts/slave/recipes_test/android_webview_aosp.basic.expected » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698