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

Unified Diff: build/java_aidl.gypi

Issue 10690092: Fix Java file generation rule in java_aidl.gypi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Explicitly set output path Created 8 years, 5 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 | content/content.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/java_aidl.gypi
diff --git a/build/java_aidl.gypi b/build/java_aidl.gypi
index 2d383d0bb1293424742cc25d5d1e4eb9c49d1781..9cdcf62d2552b81862e20054d9a111d571e55894 100644
--- a/build/java_aidl.gypi
+++ b/build/java_aidl.gypi
@@ -10,19 +10,21 @@
# 'target_name': 'aidl_aidl-file-name',
# 'type': 'none',
# 'variables': {
-# 'aidl_interface_file': 'path/to/aidl/interface/file/aidl-file',
+# 'aidl_interface_file': '<interface-path>/<interface-file>.aidl',
# },
# 'sources': {
-# 'path/to/aidl/source/file/1.aidl',
-# 'path/to/aidl/source/file/2.aidl',
+# '<input-path1>/<input-file1>.aidl',
+# '<input-path2>/<input-file2>.aidl',
# ...
# },
-# 'includes': ['path/to/this/gypi/file'],
+# 'includes': ['<path-to-this-file>/java_aidl.gypi'],
# }
#
#
-# Finally, the generated java file will be in the following directory:
-# <(PRODUCT_DIR)/lib.java/
+# The generated java files will be:
+# <(PRODUCT_DIR)/lib.java/<input-file1>.java
+# <(PRODUCT_DIR)/lib.java/<input-file2>.java
+# ...
{
'rules': [
@@ -40,8 +42,8 @@
'<(android_sdk_tools)/aidl',
'-p<(android_sdk)/framework.aidl',
'-p<(aidl_interface_file)',
- '-o<(PRODUCT_DIR)/lib.java/',
'<(RULE_INPUT_PATH)',
+ '<(PRODUCT_DIR)/lib.java/<(RULE_INPUT_ROOT).java',
],
},
],
« no previous file with comments | « no previous file | content/content.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698