| 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 in a consistent manner. | 6 # to build Java 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': 'my-package_java', | 10 # 'target_name': 'my-package_java', |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 '>@(resource_input_paths)', | 169 '>@(resource_input_paths)', |
| 170 '>@(dependencies_res_zip_paths)', | 170 '>@(dependencies_res_zip_paths)', |
| 171 '>(inputs_list_file)', | 171 '>(inputs_list_file)', |
| 172 ], | 172 ], |
| 173 'outputs': [ | 173 'outputs': [ |
| 174 '<(resource_zip_path)', | 174 '<(resource_zip_path)', |
| 175 ], | 175 ], |
| 176 'action': [ | 176 'action': [ |
| 177 'python', '<(DEPTH)/build/android/gyp/process_resources.py', | 177 'python', '<(DEPTH)/build/android/gyp/process_resources.py', |
| 178 '--android-sdk', '<(android_sdk)', | 178 '--android-sdk', '<(android_sdk)', |
| 179 '--android-sdk-tools', '<(android_sdk_tools)', | 179 '--aapt-path', '<(android_aapt_path)', |
| 180 '--non-constant-id', | 180 '--non-constant-id', |
| 181 | 181 |
| 182 '--android-manifest', '<(android_manifest)', | 182 '--android-manifest', '<(android_manifest)', |
| 183 '--custom-package', '<(R_package)', | 183 '--custom-package', '<(R_package)', |
| 184 | 184 |
| 185 '--dependencies-res-zips', '>(dependencies_res_zip_paths)', | 185 '--dependencies-res-zips', '>(dependencies_res_zip_paths)', |
| 186 '--resource-dirs', '<(res_input_dirs)', | 186 '--resource-dirs', '<(res_input_dirs)', |
| 187 | 187 |
| 188 '--R-dir', '<(R_dir)', | 188 '--R-dir', '<(R_dir)', |
| 189 '--resource-zip-out', '<(resource_zip_path)', | 189 '--resource-zip-out', '<(resource_zip_path)', |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 338 'dex_no_locals': 1, | 338 'dex_no_locals': 1, |
| 339 }], | 339 }], |
| 340 ], | 340 ], |
| 341 'dex_input_paths': [ '<(jar_final_path)' ], | 341 'dex_input_paths': [ '<(jar_final_path)' ], |
| 342 'output_path': '<(dex_path)', | 342 'output_path': '<(dex_path)', |
| 343 }, | 343 }, |
| 344 'includes': [ 'android/dex_action.gypi' ], | 344 'includes': [ 'android/dex_action.gypi' ], |
| 345 }, | 345 }, |
| 346 ], | 346 ], |
| 347 } | 347 } |
| OLD | NEW |