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

Side by Side Diff: build/java.gypi

Issue 291963002: Convert apk-package-resources.xml to python (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 6 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/package_resources.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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 'generated_R_dirs': ['<(R_dir)'], 133 'generated_R_dirs': ['<(R_dir)'],
134 'additional_input_paths': ['<(R_stamp)', 134 'additional_input_paths': ['<(R_stamp)',
135 '<(res_v14_compatibility_stamp)',], 135 '<(res_v14_compatibility_stamp)',],
136 'dependencies_res_files': ['<@(resource_input_paths)'], 136 'dependencies_res_files': ['<@(resource_input_paths)'],
137 137
138 'dependencies_res_input_dirs': ['<@(res_input_dirs)'], 138 'dependencies_res_input_dirs': ['<@(res_input_dirs)'],
139 139
140 # Dependent APKs include this target's resources via 140 # Dependent APKs include this target's resources via
141 # additional_res_dirs, additional_res_packages, and 141 # additional_res_dirs, additional_res_packages, and
142 # additional_R_text_files. 142 # additional_R_text_files.
143 'additional_res_dirs': ['<(res_crunched_dir)', 143 'additional_res_dirs': [
144 '<(res_v14_compatibility_dir)', 144 # The order of these is important to ensure that the proper
145 '<@(res_input_dirs)'], 145 # version (i.e. the crunched version) of resources takes
146 # precedence.
147 '<(res_crunched_dir)',
148 '<(res_v14_compatibility_dir)',
149 '<@(res_input_dirs)'
150 ],
146 'additional_res_packages': ['<(R_package)'], 151 'additional_res_packages': ['<(R_package)'],
147 'additional_R_text_files': ['<(R_text_file)'], 152 'additional_R_text_files': ['<(R_text_file)'],
148 }, 153 },
149 }, 154 },
150 'actions': [ 155 'actions': [
151 # Generate R.java and crunch image resources. 156 # Generate R.java and crunch image resources.
152 { 157 {
153 'action_name': 'process_resources', 158 'action_name': 'process_resources',
154 'message': 'processing resources for <(_target_name)', 159 'message': 'processing resources for <(_target_name)',
155 'variables': { 160 'variables': {
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 'dex_no_locals': 1, 358 'dex_no_locals': 1,
354 }], 359 }],
355 ], 360 ],
356 'dex_input_paths': [ '<(jar_final_path)' ], 361 'dex_input_paths': [ '<(jar_final_path)' ],
357 'output_path': '<(dex_path)', 362 'output_path': '<(dex_path)',
358 }, 363 },
359 'includes': [ 'android/dex_action.gypi' ], 364 'includes': [ 'android/dex_action.gypi' ],
360 }, 365 },
361 ], 366 ],
362 } 367 }
OLDNEW
« no previous file with comments | « build/android/gyp/package_resources.py ('k') | build/java_apk.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698