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

Side by Side Diff: build/java.gypi

Issue 301543002: Revert of Remove apk-codegen.xml (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/gyp/util/build_utils.py ('k') | build/java_apk.gypi » ('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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 }, 149 },
150 'actions': [ 150 'actions': [
151 # Generate R.java and crunch image resources. 151 # Generate R.java and crunch image resources.
152 { 152 {
153 'action_name': 'process_resources', 153 'action_name': 'process_resources',
154 'message': 'processing resources for <(_target_name)', 154 'message': 'processing resources for <(_target_name)',
155 'variables': { 155 'variables': {
156 'android_manifest': '<(DEPTH)/build/android/AndroidManifest.xml', 156 'android_manifest': '<(DEPTH)/build/android/AndroidManifest.xml',
157 # Include the dependencies' res dirs so that references to 157 # Include the dependencies' res dirs so that references to
158 # resources in dependencies can be resolved. 158 # resources in dependencies can be resolved.
159 'dependencies_res_dirs': ['<@(res_extra_dirs)', 159 'all_res_dirs': ['<@(res_input_dirs)',
160 '>@(dependencies_res_input_dirs)',], 160 '>@(dependencies_res_input_dirs)',],
161 # Write the inputs list to a file, so that its mtime is updated when 161 # Write the inputs list to a file, so that its mtime is updated when
162 # the list of inputs changes. 162 # the list of inputs changes.
163 'inputs_list_file': '>|(java_resources.<(_target_name).gypcmd >@(res ource_input_paths) >@(dependencies_res_files))' 163 'inputs_list_file': '>|(java_resources.<(_target_name).gypcmd >@(res ource_input_paths) >@(dependencies_res_files))'
164 }, 164 },
165 'inputs': [ 165 'inputs': [
166 '<(DEPTH)/build/android/gyp/util/build_utils.py', 166 '<(DEPTH)/build/android/gyp/util/build_utils.py',
167 '<(DEPTH)/build/android/gyp/process_resources.py', 167 '<(DEPTH)/build/android/gyp/process_resources.py',
168 '>@(resource_input_paths)', 168 '>@(resource_input_paths)',
169 '>@(dependencies_res_files)', 169 '>@(dependencies_res_files)',
170 '>(inputs_list_file)', 170 '>(inputs_list_file)',
171 ], 171 ],
172 'outputs': [ 172 'outputs': [
173 '<(R_stamp)', 173 '<(R_stamp)',
174 ], 174 ],
175 'action': [ 175 'action': [
176 'python', '<(DEPTH)/build/android/gyp/process_resources.py', 176 'python', '<(DEPTH)/build/android/gyp/process_resources.py',
177 '--android-sdk', '<(android_sdk)', 177 '--android-sdk', '<(android_sdk)',
178 '--android-sdk-tools', '<(android_sdk_tools)', 178 '--android-sdk-tools', '<(android_sdk_tools)',
179 '--R-dir', '<(R_dir)', 179 '--R-dir', '<(R_dir)',
180 '--dependencies-res-dirs', '>(dependencies_res_dirs)', 180 '--res-dirs', '>(all_res_dirs)',
181 '--resource-dir', '<(res_dir)', 181 '--crunch-input-dir', '>(res_dir)',
182 '--crunch-output-dir', '<(res_crunched_dir)', 182 '--crunch-output-dir', '<(res_crunched_dir)',
183 '--android-manifest', '<(android_manifest)', 183 '--android-manifest', '<(android_manifest)',
184 '--non-constant-id', 184 '--non-constant-id',
185 '--custom-package', '<(R_package)', 185 '--custom-package', '<(R_package)',
186 '--stamp', '<(R_stamp)', 186 '--stamp', '<(R_stamp)',
187 ], 187 ],
188 }, 188 },
189 # Generate API 14 resources. 189 # Generate API 14 resources.
190 { 190 {
191 'action_name': 'generate_api_14_resources_<(_target_name)', 191 'action_name': 'generate_api_14_resources_<(_target_name)',
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 'dex_no_locals': 1, 353 'dex_no_locals': 1,
354 }], 354 }],
355 ], 355 ],
356 'dex_input_paths': [ '<(jar_final_path)' ], 356 'dex_input_paths': [ '<(jar_final_path)' ],
357 'output_path': '<(dex_path)', 357 'output_path': '<(dex_path)',
358 }, 358 },
359 'includes': [ 'android/dex_action.gypi' ], 359 'includes': [ 'android/dex_action.gypi' ],
360 }, 360 },
361 ], 361 ],
362 } 362 }
OLDNEW
« no previous file with comments | « build/android/gyp/util/build_utils.py ('k') | build/java_apk.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698