| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # This file is meant to be included into a target to provide a rule | 5 # This file is meant to be included into a target to provide a rule |
| 6 # to build Java aidl files in a consistent manner. | 6 # to build Java aidl files in a consistent manner. |
| 7 # | 7 # |
| 8 # To use this, create a gyp target with the following form: | 8 # To use this, create a gyp target with the following form: |
| 9 # { | 9 # { |
| 10 # 'target_name': 'aidl_aidl-file-name', | 10 # 'target_name': 'aidl_aidl-file-name', |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 'rule_name': 'compile_aidl', | 30 'rule_name': 'compile_aidl', |
| 31 'extension': 'aidl', | 31 'extension': 'aidl', |
| 32 'inputs': [ | 32 'inputs': [ |
| 33 '<(android_sdk)/framework.aidl', | 33 '<(android_sdk)/framework.aidl', |
| 34 '<(aidl_interface_file)', | 34 '<(aidl_interface_file)', |
| 35 ], | 35 ], |
| 36 'outputs': [ | 36 'outputs': [ |
| 37 '<(PRODUCT_DIR)/lib.java/<(RULE_INPUT_ROOT).java', | 37 '<(PRODUCT_DIR)/lib.java/<(RULE_INPUT_ROOT).java', |
| 38 ], | 38 ], |
| 39 'action': [ | 39 'action': [ |
| 40 'aidl', | 40 '<(android_sdk_tools)/aidl', |
| 41 '-p<(android_sdk)/framework.aidl', | 41 '-p<(android_sdk)/framework.aidl', |
| 42 '-p<(aidl_interface_file)', | 42 '-p<(aidl_interface_file)', |
| 43 '-o<(PRODUCT_DIR)/lib.java/', | 43 '-o<(PRODUCT_DIR)/lib.java/', |
| 44 '<(RULE_INPUT_PATH)', | 44 '<(RULE_INPUT_PATH)', |
| 45 ], | 45 ], |
| 46 }, | 46 }, |
| 47 ], | 47 ], |
| 48 } | 48 } |
| OLD | NEW |