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

Unified Diff: scripts/slave/recipe_modules/webrtc/api.py

Issue 75163006: WebRTC Android APK trybot recipe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Rebased, removed video_engine_tests Created 7 years 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/recipe_modules/webrtc/api.py
diff --git a/scripts/slave/recipe_modules/webrtc/api.py b/scripts/slave/recipe_modules/webrtc/api.py
new file mode 100644
index 0000000000000000000000000000000000000000..ae5cb10e30375174b44c99d0193238f0064f8273
--- /dev/null
+++ b/scripts/slave/recipe_modules/webrtc/api.py
@@ -0,0 +1,43 @@
+# 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.
+
+from slave import recipe_api
+
+class WebRTCApi(recipe_api.RecipeApi):
+ def __init__(self, **kwargs):
+ super(WebRTCApi, self).__init__(**kwargs)
+ self._env = {}
+
+ NORMAL_TESTS = [
+ 'audio_decoder_unittests',
+ 'common_audio_unittests',
+ 'common_video_unittests',
+ 'libjingle_media_unittest',
+ 'libjingle_p2p_unittest',
+ 'libjingle_peerconnection_unittest',
+ 'libjingle_sound_unittest',
+ 'libjingle_unittest',
+ 'metrics_unittests',
+ 'modules_tests',
+ 'modules_unittests',
+ 'neteq_unittests',
+ 'system_wrappers_unittests',
+ 'test_support_unittests',
+ 'tools_unittests',
+ 'video_engine_core_unittests',
+ 'video_engine_tests',
+ 'voice_engine_unittests',
+ ]
+
+ def apply_svn_patch(self):
+ script = self.m.path.build('scripts', 'slave', 'apply_svn_patch.py')
+ args = ['-p', self.m.properties['patch_url'],
+ '-r', self.c.patch_root_dir]
+
+ # Allow manipulating patches for try jobs.
+ if self.c.patch_filter_script and self.c.patch_path_filter:
+ args += ['--filter-script', self.c.patch_filter_script,
+ '--strip-level', self.c.patch_strip_level,
+ '--', '--path-filter', self.c.patch_path_filter]
+ return self.m.python('apply_patch', script, args)
« no previous file with comments | « scripts/slave/recipe_modules/webrtc/__init__.py ('k') | scripts/slave/recipe_modules/webrtc/chromium_config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698