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

Side by Side Diff: build/java_apk.gypi

Issue 12379066: Temporary fix for build break when removing Java files or resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 | Annotate | Revision Log
« 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 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 '-DOUT_DIR=<(ant_build_out)/<(_target_name)', 194 '-DOUT_DIR=<(ant_build_out)/<(_target_name)',
195 '-DRESOURCE_DIR=<(resource_dir)', 195 '-DRESOURCE_DIR=<(resource_dir)',
196 '-DADDITIONAL_R_TEXT_FILES=>(additional_R_text_files)', 196 '-DADDITIONAL_R_TEXT_FILES=>(additional_R_text_files)',
197 '-DADDITIONAL_RES_DIRS=>(additional_res_dirs)', 197 '-DADDITIONAL_RES_DIRS=>(additional_res_dirs)',
198 '-DADDITIONAL_RES_PACKAGES=>(additional_res_packages)', 198 '-DADDITIONAL_RES_PACKAGES=>(additional_res_packages)',
199 '-DAPP_MANIFEST_VERSION_NAME=<(app_manifest_version_name)', 199 '-DAPP_MANIFEST_VERSION_NAME=<(app_manifest_version_name)',
200 '-DAPP_MANIFEST_VERSION_CODE=<(app_manifest_version_code)', 200 '-DAPP_MANIFEST_VERSION_CODE=<(app_manifest_version_code)',
201 '-DPROGUARD_FLAGS=>(proguard_flags)', 201 '-DPROGUARD_FLAGS=>(proguard_flags)',
202 '-DPROGUARD_ENABLED=>(proguard_enabled)', 202 '-DPROGUARD_ENABLED=>(proguard_enabled)',
203 203
204 # Add list of inputs to the command line, so if inputs change
205 # (e.g. if a Java file is removed), the command will be re-run.
206 # TODO(newt): remove this once crbug.com/177552 is fixed in ninja.
207 '-DTHIS_IS_IGNORED=>(_inputs)',
208
204 '-Dbasedir=<(java_in_dir)', 209 '-Dbasedir=<(java_in_dir)',
205 '-buildfile', 210 '-buildfile',
206 '<(DEPTH)/build/android/ant/chromium-apk.xml', 211 '<(DEPTH)/build/android/ant/chromium-apk.xml',
207 212
208 # Specify CONFIGURATION_NAME as the target for ant to build. The 213 # Specify CONFIGURATION_NAME as the target for ant to build. The
209 # buildfile will then build the appropriate SDK tools target. 214 # buildfile will then build the appropriate SDK tools target.
210 '<(CONFIGURATION_NAME)', 215 '<(CONFIGURATION_NAME)',
211 ] 216 ]
212 }, 217 },
213 ], 218 ],
214 } 219 }
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