| 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 'action_name': 'process_resources', | 178 'action_name': 'process_resources', |
| 179 'message': 'processing resources for <(_target_name)', | 179 'message': 'processing resources for <(_target_name)', |
| 180 'variables': { | 180 'variables': { |
| 181 'android_manifest': '<(DEPTH)/build/android/AndroidManifest.xml', | 181 'android_manifest': '<(DEPTH)/build/android/AndroidManifest.xml', |
| 182 # Include the dependencies' res dirs so that references to | 182 # Include the dependencies' res dirs so that references to |
| 183 # resources in dependencies can be resolved. | 183 # resources in dependencies can be resolved. |
| 184 'all_res_dirs': ['<@(res_input_dirs)', | 184 'all_res_dirs': ['<@(res_input_dirs)', |
| 185 '>@(dependencies_res_input_dirs)',], | 185 '>@(dependencies_res_input_dirs)',], |
| 186 # Write the inputs list to a file, so that its mtime is updated when | 186 # Write the inputs list to a file, so that its mtime is updated when |
| 187 # the list of inputs changes. | 187 # the list of inputs changes. |
| 188 'inputs_list_file': '>|(inputs_list.<(_target_name).gypcmd >@(resour
ce_input_paths) @>(dependencies_res_files))' | 188 'inputs_list_file': '>|(java_resources.<(_target_name).gypcmd >@(res
ource_input_paths) >@(dependencies_res_files))' |
| 189 }, | 189 }, |
| 190 'inputs': [ | 190 'inputs': [ |
| 191 '<(DEPTH)/build/android/gyp/util/build_utils.py', | 191 '<(DEPTH)/build/android/gyp/util/build_utils.py', |
| 192 '<(DEPTH)/build/android/gyp/process_resources.py', | 192 '<(DEPTH)/build/android/gyp/process_resources.py', |
| 193 '>@(resource_input_paths)', | 193 '>@(resource_input_paths)', |
| 194 '>@(dependencies_res_files)', | 194 '>@(dependencies_res_files)', |
| 195 '>(inputs_list_file)', | 195 '>(inputs_list_file)', |
| 196 ], | 196 ], |
| 197 'outputs': [ | 197 'outputs': [ |
| 198 '<(R_stamp)', | 198 '<(R_stamp)', |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 'dex_no_locals': 1, | 378 'dex_no_locals': 1, |
| 379 }], | 379 }], |
| 380 ], | 380 ], |
| 381 'dex_input_paths': [ '<(jar_final_path)' ], | 381 'dex_input_paths': [ '<(jar_final_path)' ], |
| 382 'output_path': '<(dex_path)', | 382 'output_path': '<(dex_path)', |
| 383 }, | 383 }, |
| 384 'includes': [ 'android/dex_action.gypi' ], | 384 'includes': [ 'android/dex_action.gypi' ], |
| 385 }, | 385 }, |
| 386 ], | 386 ], |
| 387 } | 387 } |
| OLD | NEW |