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

Unified Diff: build/android/gn/to_json.py

Issue 951353003: Allow to exlude jar in android_standalone_library. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | build/android/gyp/dex.py » ('j') | build/android/gyp/dex.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/gn/to_json.py
diff --git a/build/android/gn/to_json.py b/build/android/gn/to_json.py
new file mode 100755
index 0000000000000000000000000000000000000000..a226c0bfc686b683e99a9119ebec99305d12387a
--- /dev/null
+++ b/build/android/gn/to_json.py
@@ -0,0 +1,16 @@
+#!/usr/bin/env python
+#
+# Copyright 2015 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.
+
+"""Transform the list of arguments to a json list"""
+
+import json
+import sys
+
+def main():
+ print json.dumps(sys.argv[1:])
+
+if __name__ == '__main__':
+ sys.exit(main())
« no previous file with comments | « no previous file | build/android/gyp/dex.py » ('j') | build/android/gyp/dex.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698