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

Unified Diff: build/get_sdk_extras_packages.py

Issue 1152203003: Add script to validate installed Android SDK packages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 6 months 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 | « build/check_sdk_extras_version.py ('k') | build/install-android-sdks.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/get_sdk_extras_packages.py
diff --git a/build/get_sdk_extras_packages.py b/build/get_sdk_extras_packages.py
index 6d870cc86f1b970d6b2a0ffefa7630b722c3b087..a90b8a8b4a4f224f73abf8e45dadbe16622d89d5 100755
--- a/build/get_sdk_extras_packages.py
+++ b/build/get_sdk_extras_packages.py
@@ -13,9 +13,12 @@ SDK_EXTRAS_JSON_FILE = os.path.join(os.path.dirname(__file__),
def main():
with open(SDK_EXTRAS_JSON_FILE) as json_file:
packages = json.load(json_file)
+
+ out = []
for package in packages:
- print package['package'].replace('_', ' ')
+ out.append(package['package_id'])
+ print ','.join(out)
if __name__ == '__main__':
sys.exit(main())
« no previous file with comments | « build/check_sdk_extras_version.py ('k') | build/install-android-sdks.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698