Chromium Code Reviews| Index: build/android/gyp/get_device_configuration.py |
| diff --git a/build/android/gyp/get_device_configuration.py b/build/android/gyp/get_device_configuration.py |
| index 390eb2ffcb855817a8a8fe91a40f4f22f31a1c4f..223d0aa03df70b895c2d1b485e2eccdfb86c4ea7 100755 |
| --- a/build/android/gyp/get_device_configuration.py |
| +++ b/build/android/gyp/get_device_configuration.py |
| @@ -11,18 +11,27 @@ install to and what needs to be installed to those devices. |
| """ |
| import optparse |
| +import os |
| import sys |
| from util import build_utils |
| from util import build_device |
| +BUILD_ANDROID_DIR = os.path.abspath( |
|
aiolos (Not reviewing)
2015/10/13 13:29:17
Is this supposed to be here? It's already defined
jbudorick
2015/10/13 13:40:48
I put it here to add to sys.path and promptly forg
aiolos (Not reviewing)
2015/10/13 18:27:54
Acknowledged.
|
| + os.path.join(os.path.dirname(__file__), '..')) |
| +import devil_chromium |
| + |
| def main(argv): |
| parser = optparse.OptionParser() |
| parser.add_option('--stamp', action='store') |
| parser.add_option('--output', action='store') |
| + parser.add_option('--output-directory', action='store') |
| options, _ = parser.parse_args(argv) |
| + devil_chromium.Initialize( |
| + output_directory=os.path.abspath(options.output_directory)) |
| + |
| devices = build_device.GetAttachedDevices() |
| device_configurations = [] |