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

Side by Side Diff: build/java.gypi

Issue 12259017: Maintain Android strings in grd files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix behavior for targets that don't generate strings.xml 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/android/process_resources.py ('k') | chrome/android/java/res/values/strings.xml » ('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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 'outputs': [ 130 'outputs': [
131 '<(R_file)', 131 '<(R_file)',
132 ], 132 ],
133 'action': [ 133 'action': [
134 '<(DEPTH)/build/android/process_resources.py', 134 '<(DEPTH)/build/android/process_resources.py',
135 '--android-sdk', '<(android_sdk)', 135 '--android-sdk', '<(android_sdk)',
136 '--android-sdk-tools', '<(android_sdk_tools)', 136 '--android-sdk-tools', '<(android_sdk_tools)',
137 '--R-package', '<(R_package)', 137 '--R-package', '<(R_package)',
138 '--R-dir', '<(R_dir)', 138 '--R-dir', '<(R_dir)',
139 '--res-dir', '<(res_dir)', 139 '--res-dir', '<(res_dir)',
140 '--crunched-res-dir', '<(out_res_dir)', 140 '--out-res-dir', '<(out_res_dir)',
141 ], 141 ],
142 }, 142 },
143 ], 143 ],
144 }], 144 }],
145 ], 145 ],
146 'actions': [ 146 'actions': [
147 { 147 {
148 'action_name': 'ant_<(_target_name)', 148 'action_name': 'ant_<(_target_name)',
149 'message': 'Building <(_target_name) java sources.', 149 'message': 'Building <(_target_name) java sources.',
150 'inputs': [ 150 'inputs': [
(...skipping 23 matching lines...) Expand all
174 '-DOUT_DIR=<(ant_build_out)/<(_target_name)', 174 '-DOUT_DIR=<(ant_build_out)/<(_target_name)',
175 '-DJAVAC_INCLUDES=>(javac_includes)', 175 '-DJAVAC_INCLUDES=>(javac_includes)',
176 176
177 '-Dbasedir=<(java_in_dir)', 177 '-Dbasedir=<(java_in_dir)',
178 '-buildfile', 178 '-buildfile',
179 '<(DEPTH)/build/android/ant/chromium-jars.xml' 179 '<(DEPTH)/build/android/ant/chromium-jars.xml'
180 ] 180 ]
181 }, 181 },
182 ], 182 ],
183 } 183 }
OLDNEW
« no previous file with comments | « build/android/process_resources.py ('k') | chrome/android/java/res/values/strings.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698