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

Side by Side Diff: build/java.gypi

Issue 1292313004: Update usage of Proguard in clank after moving Proguard to third_party. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update proguard.flags. Created 5 years, 4 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
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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 ], 195 ],
196 }, 196 },
197 ], 197 ],
198 }], 198 }],
199 ['proguard_preprocess == 1', { 199 ['proguard_preprocess == 1', {
200 'actions': [ 200 'actions': [
201 { 201 {
202 'action_name': 'proguard_<(_target_name)', 202 'action_name': 'proguard_<(_target_name)',
203 'message': 'Proguard preprocessing <(_target_name) jar', 203 'message': 'Proguard preprocessing <(_target_name) jar',
204 'inputs': [ 204 'inputs': [
205 '<(android_sdk_root)/tools/proguard/lib/proguard.jar', 205 '<(DEPTH)/third_party/proguard/lib/proguard.jar',
206 '<(DEPTH)/build/android/gyp/util/build_utils.py', 206 '<(DEPTH)/build/android/gyp/util/build_utils.py',
207 '<(DEPTH)/build/android/gyp/proguard.py', 207 '<(DEPTH)/build/android/gyp/proguard.py',
208 '<(javac_jar_path)', 208 '<(javac_jar_path)',
209 '<(proguard_config)', 209 '<(proguard_config)',
210 ], 210 ],
211 'outputs': [ 211 'outputs': [
212 '<(jar_path)', 212 '<(jar_path)',
213 ], 213 ],
214 'action': [ 214 'action': [
215 'python', '<(DEPTH)/build/android/gyp/proguard.py', 215 'python', '<(DEPTH)/build/android/gyp/proguard.py',
216 '--proguard-path=<(android_sdk_root)/tools/proguard/lib/proguard.jar ', 216 '--proguard-path=<(DEPTH)/third_party/proguard/lib/proguard.jar',
217 '--input-path=<(javac_jar_path)', 217 '--input-path=<(javac_jar_path)',
218 '--output-path=<(jar_path)', 218 '--output-path=<(jar_path)',
219 '--proguard-config=<(proguard_config)', 219 '--proguard-config=<(proguard_config)',
220 '--classpath=<(android_sdk_jar) >(input_jars_paths)', 220 '--classpath=<(android_sdk_jar) >(input_jars_paths)',
221 ] 221 ]
222 }, 222 },
223 ], 223 ],
224 }], 224 }],
225 ['run_findbugs == 1', { 225 ['run_findbugs == 1', {
226 'actions': [ 226 'actions': [
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 'dex_no_locals': 1, 359 'dex_no_locals': 1,
360 }], 360 }],
361 ], 361 ],
362 'dex_input_paths': [ '<(jar_final_path)' ], 362 'dex_input_paths': [ '<(jar_final_path)' ],
363 'output_path': '<(dex_path)', 363 'output_path': '<(dex_path)',
364 }, 364 },
365 'includes': [ 'android/dex_action.gypi' ], 365 'includes': [ 'android/dex_action.gypi' ],
366 }, 366 },
367 ], 367 ],
368 } 368 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698