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

Unified Diff: recipes/webrtc_android.py

Issue 753123003: WebRTC: Add fetch recipes to depot_tools. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Addressed comments Created 6 years, 1 month 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
« no previous file with comments | « recipes/webrtc.py ('k') | recipes/webrtc_ios.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipes/webrtc_android.py
diff --git a/recipes/ios.py b/recipes/webrtc_android.py
similarity index 55%
copy from recipes/ios.py
copy to recipes/webrtc_android.py
index e7ee08b6d569a4efb867feaf4b4c09d163b78437..6d6018a86c9e21863d838a770483180ae3667deb 100644
--- a/recipes/ios.py
+++ b/recipes/webrtc_android.py
@@ -1,4 +1,4 @@
-# Copyright 2013 The Chromium Authors. All rights reserved.
+# Copyright (c) 2014 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.
@@ -9,21 +9,25 @@ import recipe_util # pylint: disable=F0401
# This class doesn't need an __init__ method, so we disable the warning
# pylint: disable=W0232
-class IOS(recipe_util.Recipe):
- """Basic Recipe alias for iOS -> Chromium."""
+class WebRTCAndroid(recipe_util.Recipe):
+ """Basic Recipe alias for Android -> WebRTC."""
@staticmethod
def fetch_spec(props):
return {
'alias': {
- 'recipe': 'chromium',
- 'props': ['--target_os=ios', '--target_os_only=True'],
+ 'recipe': 'webrtc',
+ 'props': ['--target_os=android,unix'],
},
}
+ @staticmethod
+ def expected_root(_props):
+ return 'src'
+
def main(argv=None):
- return IOS().handle_args(argv)
+ return WebRTCAndroid().handle_args(argv)
if __name__ == '__main__':
« no previous file with comments | « recipes/webrtc.py ('k') | recipes/webrtc_ios.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698