Index: build/get_sdk_extras_packages.py |
diff --git a/build/get_sdk_extras_packages.py b/build/get_sdk_extras_packages.py |
new file mode 100755 |
index 0000000000000000000000000000000000000000..32e55643483ba8bdd97c0b80bee89c1d22d7d424 |
--- /dev/null |
+++ b/build/get_sdk_extras_packages.py |
@@ -0,0 +1,21 @@ |
+#!/usr/bin/env python |
+# 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. |
+ |
+import json |
+import os |
+import sys |
+ |
+SDK_EXTRAS_JSON_FILE = os.path.join(os.path.dirname(sys.argv[0]), |
+ 'android_sdk_extras.json') |
+ |
+def main(): |
+ with open(SDK_EXTRAS_JSON_FILE) as json_file: |
+ packages = json.load(json_file) |
+ for package in packages: |
+ print package['package'].replace('_', ' ') |
+ |
+ |
+if __name__ == '__main__': |
+ sys.exit(main()) |