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', |
], |
}, |
], |