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

Side by Side Diff: build/java_prebuilt.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/java.gypi ('k') | no next file » | 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 package prebuilt Java JARs in a consistent manner. 6 # to package prebuilt Java JARs 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 'library_dexed_jars_paths': ['<(dex_path)'], 49 'library_dexed_jars_paths': ['<(dex_path)'],
50 }, 50 },
51 }, 51 },
52 'conditions' : [ 52 'conditions' : [
53 ['proguard_preprocess == 1', { 53 ['proguard_preprocess == 1', {
54 'actions': [ 54 'actions': [
55 { 55 {
56 'action_name': 'proguard_<(_target_name)', 56 'action_name': 'proguard_<(_target_name)',
57 'message': 'Proguard preprocessing <(_target_name) jar', 57 'message': 'Proguard preprocessing <(_target_name) jar',
58 'inputs': [ 58 'inputs': [
59 '<(android_sdk_root)/tools/proguard/bin/proguard.sh', 59 '<(android_sdk_root)/tools/proguard/lib/proguard.jar',
60 '<(DEPTH)/build/android/gyp/util/build_utils.py', 60 '<(DEPTH)/build/android/gyp/util/build_utils.py',
61 '<(DEPTH)/build/android/gyp/proguard.py', 61 '<(DEPTH)/build/android/gyp/proguard.py',
62 '<(jar_path)', 62 '<(jar_path)',
63 '<(proguard_config)', 63 '<(proguard_config)',
64 ], 64 ],
65 'outputs': [ 65 'outputs': [
66 '<(dex_input_jar_path)', 66 '<(dex_input_jar_path)',
67 ], 67 ],
68 'action': [ 68 'action': [
69 'python', '<(DEPTH)/build/android/gyp/proguard.py', 69 'python', '<(DEPTH)/build/android/gyp/proguard.py',
70 '--proguard-path=<(android_sdk_root)/tools/proguard/bin/proguard.sh' , 70 '--proguard-path=<(android_sdk_root)/tools/proguard/lib/proguard.jar ',
71 '--input-path=<(jar_path)', 71 '--input-path=<(jar_path)',
72 '--output-path=<(dex_input_jar_path)', 72 '--output-path=<(dex_input_jar_path)',
73 '--proguard-config=<(proguard_config)', 73 '--proguard-config=<(proguard_config)',
74 '--classpath=>(input_jars_paths)', 74 '--classpath=>(input_jars_paths)',
75 ] 75 ]
76 }, 76 },
77 ], 77 ],
78 }], 78 }],
79 ], 79 ],
80 'actions': [ 80 'actions': [
81 { 81 {
82 'action_name': 'dex_<(_target_name)', 82 'action_name': 'dex_<(_target_name)',
83 'message': 'Dexing <(_target_name) jar', 83 'message': 'Dexing <(_target_name) jar',
84 'variables': { 84 'variables': {
85 'dex_input_paths': [ 85 'dex_input_paths': [
86 '<(dex_input_jar_path)', 86 '<(dex_input_jar_path)',
87 ], 87 ],
88 'output_path': '<(dex_path)', 88 'output_path': '<(dex_path)',
89 }, 89 },
90 'includes': [ 'android/dex_action.gypi' ], 90 'includes': [ 'android/dex_action.gypi' ],
91 }, 91 },
92 ], 92 ],
93 } 93 }
OLDNEW
« no previous file with comments | « build/java.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698