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