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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 'outputs': [ | 130 'outputs': [ |
131 '<(R_file)', | 131 '<(R_file)', |
132 ], | 132 ], |
133 'action': [ | 133 'action': [ |
134 '<(DEPTH)/build/android/process_resources.py', | 134 '<(DEPTH)/build/android/process_resources.py', |
135 '--android-sdk', '<(android_sdk)', | 135 '--android-sdk', '<(android_sdk)', |
136 '--android-sdk-tools', '<(android_sdk_tools)', | 136 '--android-sdk-tools', '<(android_sdk_tools)', |
137 '--R-package', '<(R_package)', | 137 '--R-package', '<(R_package)', |
138 '--R-dir', '<(R_dir)', | 138 '--R-dir', '<(R_dir)', |
139 '--res-dir', '<(res_dir)', | 139 '--res-dir', '<(res_dir)', |
140 '--crunched-res-dir', '<(out_res_dir)', | 140 '--out-res-dir', '<(out_res_dir)', |
141 ], | 141 ], |
142 }, | 142 }, |
143 ], | 143 ], |
144 }], | 144 }], |
145 ], | 145 ], |
146 'actions': [ | 146 'actions': [ |
147 { | 147 { |
148 'action_name': 'ant_<(_target_name)', | 148 'action_name': 'ant_<(_target_name)', |
149 'message': 'Building <(_target_name) java sources.', | 149 'message': 'Building <(_target_name) java sources.', |
150 'inputs': [ | 150 'inputs': [ |
(...skipping 23 matching lines...) Expand all Loading... |
174 '-DOUT_DIR=<(ant_build_out)/<(_target_name)', | 174 '-DOUT_DIR=<(ant_build_out)/<(_target_name)', |
175 '-DJAVAC_INCLUDES=>(javac_includes)', | 175 '-DJAVAC_INCLUDES=>(javac_includes)', |
176 | 176 |
177 '-Dbasedir=<(java_in_dir)', | 177 '-Dbasedir=<(java_in_dir)', |
178 '-buildfile', | 178 '-buildfile', |
179 '<(DEPTH)/build/android/ant/chromium-jars.xml' | 179 '<(DEPTH)/build/android/ant/chromium-jars.xml' |
180 ] | 180 ] |
181 }, | 181 }, |
182 ], | 182 ], |
183 } | 183 } |
OLD | NEW |