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

Side by Side Diff: build/java_apk.gypi

Issue 12599005: Begin de-antification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add License header Created 7 years, 9 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/ant/chromium-apk.xml ('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 build Android APKs in a consistent manner. 6 # to build Android APKs 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_apk', 10 # 'target_name': 'my_package_apk',
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 }], 134 }],
135 ], 135 ],
136 'actions': [ 136 'actions': [
137 { 137 {
138 'action_name': 'ant_<(_target_name)', 138 'action_name': 'ant_<(_target_name)',
139 'message': 'Building <(_target_name).', 139 'message': 'Building <(_target_name).',
140 'inputs': [ 140 'inputs': [
141 '<(java_in_dir)/AndroidManifest.xml', 141 '<(java_in_dir)/AndroidManifest.xml',
142 '<(DEPTH)/build/android/ant/chromium-apk.xml', 142 '<(DEPTH)/build/android/ant/chromium-apk.xml',
143 '<(DEPTH)/build/android/ant/common.xml', 143 '<(DEPTH)/build/android/ant/common.xml',
144 '<(DEPTH)/build/android/ant/sdk-targets.xml', 144 '<(DEPTH)/build/android/ant/apk-build.xml',
145 # If there is a separate find for additional_src_dirs, it will find the 145 # If there is a separate find for additional_src_dirs, it will find the
146 # wrong .java files when additional_src_dirs is empty. 146 # wrong .java files when additional_src_dirs is empty.
147 '>!@(find >(java_in_dir) >(additional_src_dirs) -name "*.java")', 147 '>!@(find >(java_in_dir) >(additional_src_dirs) -name "*.java")',
148 '>@(input_jars_paths)', 148 '>@(input_jars_paths)',
149 '>@(native_libs_paths)', 149 '>@(native_libs_paths)',
150 '>@(additional_input_paths)', 150 '>@(additional_input_paths)',
151 ], 151 ],
152 'conditions': [ 152 'conditions': [
153 ['resource_dir!=""', { 153 ['resource_dir!=""', {
154 'inputs': ['<!@(find <(java_in_dir)/<(resource_dir) -name "*")'] 154 'inputs': ['<!@(find <(java_in_dir)/<(resource_dir) -name "*")']
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 '-buildfile', 212 '-buildfile',
213 '<(DEPTH)/build/android/ant/chromium-apk.xml', 213 '<(DEPTH)/build/android/ant/chromium-apk.xml',
214 214
215 # Specify CONFIGURATION_NAME as the target for ant to build. The 215 # Specify CONFIGURATION_NAME as the target for ant to build. The
216 # buildfile will then build the appropriate SDK tools target. 216 # buildfile will then build the appropriate SDK tools target.
217 '<(CONFIGURATION_NAME)', 217 '<(CONFIGURATION_NAME)',
218 ] 218 ]
219 }, 219 },
220 ], 220 ],
221 } 221 }
OLDNEW
« no previous file with comments | « build/android/ant/chromium-apk.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698