Remove APIPermission::kFileSystemWriteDirectory
[chromium-blink-merge.git] / build / get_sdk_extras_packages.py
bloba90b8a8b4a4f224f73abf8e45dadbe16622d89d5
1 #!/usr/bin/env python
2 # Copyright (c) 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
6 import json
7 import os
8 import sys
10 SDK_EXTRAS_JSON_FILE = os.path.join(os.path.dirname(__file__),
11 'android_sdk_extras.json')
13 def main():
14 with open(SDK_EXTRAS_JSON_FILE) as json_file:
15 packages = json.load(json_file)
17 out = []
18 for package in packages:
19 out.append(package['package_id'])
21 print ','.join(out)
23 if __name__ == '__main__':
24 sys.exit(main())