Chromium Code Reviews| 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): |
|
kjellander_chromium
2014/11/24 14:52:01
This one was needed to please pylint.
|
| + return 'src' |
| + |
| def main(argv=None): |
| - return IOS().handle_args(argv) |
| + return WebRTCAndroid().handle_args(argv) |
| if __name__ == '__main__': |