Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: build/java.gypi

Issue 377353003: Start using proguard.jar directly instead of proguard.sh (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/android/pylib/instrumentation/test_jar.py ('k') | build/java_prebuilt.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 ], 186 ],
187 }, 187 },
188 ], 188 ],
189 }], 189 }],
190 ['proguard_preprocess == 1', { 190 ['proguard_preprocess == 1', {
191 'actions': [ 191 'actions': [
192 { 192 {
193 'action_name': 'proguard_<(_target_name)', 193 'action_name': 'proguard_<(_target_name)',
194 'message': 'Proguard preprocessing <(_target_name) jar', 194 'message': 'Proguard preprocessing <(_target_name) jar',
195 'inputs': [ 195 'inputs': [
196 '<(android_sdk_root)/tools/proguard/bin/proguard.sh', 196 '<(android_sdk_root)/tools/proguard/lib/proguard.jar',
197 '<(DEPTH)/build/android/gyp/util/build_utils.py', 197 '<(DEPTH)/build/android/gyp/util/build_utils.py',
198 '<(DEPTH)/build/android/gyp/proguard.py', 198 '<(DEPTH)/build/android/gyp/proguard.py',
199 '<(javac_jar_path)', 199 '<(javac_jar_path)',
200 '<(proguard_config)', 200 '<(proguard_config)',
201 ], 201 ],
202 'outputs': [ 202 'outputs': [
203 '<(jar_path)', 203 '<(jar_path)',
204 ], 204 ],
205 'action': [ 205 'action': [
206 'python', '<(DEPTH)/build/android/gyp/proguard.py', 206 'python', '<(DEPTH)/build/android/gyp/proguard.py',
207 '--proguard-path=<(android_sdk_root)/tools/proguard/bin/proguard.sh' , 207 '--proguard-path=<(android_sdk_root)/tools/proguard/lib/proguard.jar ',
208 '--input-path=<(javac_jar_path)', 208 '--input-path=<(javac_jar_path)',
209 '--output-path=<(jar_path)', 209 '--output-path=<(jar_path)',
210 '--proguard-config=<(proguard_config)', 210 '--proguard-config=<(proguard_config)',
211 '--classpath=<(android_sdk_jar) >(input_jars_paths)', 211 '--classpath=<(android_sdk_jar) >(input_jars_paths)',
212 ] 212 ]
213 }, 213 },
214 ], 214 ],
215 }], 215 }],
216 ], 216 ],
217 'actions': [ 217 'actions': [
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 'dex_no_locals': 1, 306 'dex_no_locals': 1,
307 }], 307 }],
308 ], 308 ],
309 'dex_input_paths': [ '<(jar_final_path)' ], 309 'dex_input_paths': [ '<(jar_final_path)' ],
310 'output_path': '<(dex_path)', 310 'output_path': '<(dex_path)',
311 }, 311 },
312 'includes': [ 'android/dex_action.gypi' ], 312 'includes': [ 'android/dex_action.gypi' ],
313 }, 313 },
314 ], 314 ],
315 } 315 }
OLDNEW
« no previous file with comments | « build/android/pylib/instrumentation/test_jar.py ('k') | build/java_prebuilt.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698