| 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 '<(DEPTH)/build/android/gyp/process_resources.py', | 163 '<(DEPTH)/build/android/gyp/process_resources.py', |
| 164 '>@(resource_input_paths)', | 164 '>@(resource_input_paths)', |
| 165 '>@(dependencies_res_files)', | 165 '>@(dependencies_res_files)', |
| 166 ], | 166 ], |
| 167 'outputs': [ | 167 'outputs': [ |
| 168 '<(R_stamp)', | 168 '<(R_stamp)', |
| 169 ], | 169 ], |
| 170 'action': [ | 170 'action': [ |
| 171 'python', '<(DEPTH)/build/android/gyp/process_resources.py', | 171 'python', '<(DEPTH)/build/android/gyp/process_resources.py', |
| 172 '--android-sdk', '<(android_sdk)', | 172 '--android-sdk', '<(android_sdk)', |
| 173 '--android-sdk-tools', '<(android_sdk_tools)', | 173 '--android-sdk-build-tools', '<(android_sdk_build_tools)', |
| 174 '--R-dir', '<(R_dir)', | 174 '--R-dir', '<(R_dir)', |
| 175 '--res-dirs', '>(all_res_dirs)', | 175 '--res-dirs', '>(all_res_dirs)', |
| 176 '--crunch-input-dir', '>(res_dir)', | 176 '--crunch-input-dir', '>(res_dir)', |
| 177 '--crunch-output-dir', '<(res_crunched_dir)', | 177 '--crunch-output-dir', '<(res_crunched_dir)', |
| 178 '--android-manifest', '<(android_manifest)', | 178 '--android-manifest', '<(android_manifest)', |
| 179 '--non-constant-id', | 179 '--non-constant-id', |
| 180 '--custom-package', '<(R_package)', | 180 '--custom-package', '<(R_package)', |
| 181 '--stamp', '<(R_stamp)', | 181 '--stamp', '<(R_stamp)', |
| 182 | 182 |
| 183 # Add hash of inputs to the command line, so if inputs change | 183 # Add hash of inputs to the command line, so if inputs change |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 { | 299 { |
| 300 'action_name': 'dex_<(_target_name)', | 300 'action_name': 'dex_<(_target_name)', |
| 301 'variables': { | 301 'variables': { |
| 302 'dex_input_paths': [ '<(jar_path)' ], | 302 'dex_input_paths': [ '<(jar_path)' ], |
| 303 'output_path': '<(dex_path)', | 303 'output_path': '<(dex_path)', |
| 304 }, | 304 }, |
| 305 'includes': [ 'android/dex_action.gypi' ], | 305 'includes': [ 'android/dex_action.gypi' ], |
| 306 }, | 306 }, |
| 307 ], | 307 ], |
| 308 } | 308 } |
| OLD | NEW |