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

Side by Side Diff: build/java.gypi

Issue 1180693002: Update from https://crrev.com/333737 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 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
« no previous file with comments | « build/isolate.gypi ('k') | build/java_aidl.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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 'jar_final_path': '<(jar_dir)/<(jar_name)', 62 'jar_final_path': '<(jar_dir)/<(jar_name)',
63 'jar_excluded_classes': [ '*/R.class', '*/R##*.class' ], 63 'jar_excluded_classes': [ '*/R.class', '*/R##*.class' ],
64 'instr_stamp': '<(intermediate_dir)/instr.stamp', 64 'instr_stamp': '<(intermediate_dir)/instr.stamp',
65 'additional_input_paths': [], 65 'additional_input_paths': [],
66 'dex_path': '<(PRODUCT_DIR)/lib.java/<(_target_name).dex.jar', 66 'dex_path': '<(PRODUCT_DIR)/lib.java/<(_target_name).dex.jar',
67 'generated_src_dirs': ['>@(generated_R_dirs)'], 67 'generated_src_dirs': ['>@(generated_R_dirs)'],
68 'generated_R_dirs': [], 68 'generated_R_dirs': [],
69 'has_java_resources%': 0, 69 'has_java_resources%': 0,
70 'res_extra_dirs': [], 70 'res_extra_dirs': [],
71 'res_extra_files': [], 71 'res_extra_files': [],
72 'res_v14_verify_only%': 0, 72 'res_v14_skip%': 0,
73 'resource_input_paths': ['>@(res_extra_files)'], 73 'resource_input_paths': ['>@(res_extra_files)'],
74 'intermediate_dir': '<(SHARED_INTERMEDIATE_DIR)/<(_target_name)', 74 'intermediate_dir': '<(SHARED_INTERMEDIATE_DIR)/<(_target_name)',
75 'compile_stamp': '<(intermediate_dir)/compile.stamp', 75 'compile_stamp': '<(intermediate_dir)/compile.stamp',
76 'lint_stamp': '<(intermediate_dir)/lint.stamp', 76 'lint_stamp': '<(intermediate_dir)/lint.stamp',
77 'lint_result': '<(intermediate_dir)/lint_result.xml', 77 'lint_result': '<(intermediate_dir)/lint_result.xml',
78 'lint_config': '<(intermediate_dir)/lint_config.xml', 78 'lint_config': '<(intermediate_dir)/lint_config.xml',
79 'never_lint%': 0, 79 'never_lint%': 0,
80 'findbugs_stamp': '<(intermediate_dir)/findbugs.stamp', 80 'findbugs_stamp': '<(intermediate_dir)/findbugs.stamp',
81 'run_findbugs%': 0, 81 'run_findbugs%': 0,
82 'proguard_config%': '', 82 'proguard_config%': '',
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 { 150 {
151 'action_name': 'process_resources', 151 'action_name': 'process_resources',
152 'message': 'processing resources for <(_target_name)', 152 'message': 'processing resources for <(_target_name)',
153 'variables': { 153 'variables': {
154 'android_manifest': '<(DEPTH)/build/android/AndroidManifest.xml', 154 'android_manifest': '<(DEPTH)/build/android/AndroidManifest.xml',
155 # Write the inputs list to a file, so that its mtime is updated when 155 # Write the inputs list to a file, so that its mtime is updated when
156 # the list of inputs changes. 156 # the list of inputs changes.
157 'inputs_list_file': '>|(java_resources.<(_target_name).gypcmd >@(res ource_input_paths))', 157 'inputs_list_file': '>|(java_resources.<(_target_name).gypcmd >@(res ource_input_paths))',
158 'process_resources_options': [], 158 'process_resources_options': [],
159 'conditions': [ 159 'conditions': [
160 ['res_v14_verify_only == 1', { 160 ['res_v14_skip == 1', {
161 'process_resources_options': ['--v14-verify-only'] 161 'process_resources_options': ['--v14-skip']
162 }], 162 }],
163 ], 163 ],
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 '<(DEPTH)/build/android/gyp/generate_v14_compatible_resources.py', 168 '<(DEPTH)/build/android/gyp/generate_v14_compatible_resources.py',
169 '>@(resource_input_paths)', 169 '>@(resource_input_paths)',
170 '>@(dependencies_res_zip_paths)', 170 '>@(dependencies_res_zip_paths)',
171 '>(inputs_list_file)', 171 '>(inputs_list_file)',
172 ], 172 ],
173 'outputs': [ 173 'outputs': [
174 '<(resource_zip_path)', 174 '<(resource_zip_path)',
175 ], 175 ],
176 'action': [ 176 'action': [
177 'python', '<(DEPTH)/build/android/gyp/process_resources.py', 177 'python', '<(DEPTH)/build/android/gyp/process_resources.py',
178 '--android-sdk', '<(android_sdk)', 178 '--android-sdk', '<(android_sdk)',
179 '--android-sdk-tools', '<(android_sdk_tools)', 179 '--aapt-path', '<(android_aapt_path)',
180 '--non-constant-id', 180 '--non-constant-id',
181 181
182 '--android-manifest', '<(android_manifest)', 182 '--android-manifest', '<(android_manifest)',
183 '--custom-package', '<(R_package)', 183 '--custom-package', '<(R_package)',
184 184
185 '--dependencies-res-zips', '>(dependencies_res_zip_paths)', 185 '--dependencies-res-zips', '>(dependencies_res_zip_paths)',
186 '--resource-dirs', '<(res_input_dirs)', 186 '--resource-dirs', '<(res_input_dirs)',
187 187
188 '--R-dir', '<(R_dir)', 188 '--R-dir', '<(R_dir)',
189 '--resource-zip-out', '<(resource_zip_path)', 189 '--resource-zip-out', '<(resource_zip_path)',
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 'dex_no_locals': 1, 338 'dex_no_locals': 1,
339 }], 339 }],
340 ], 340 ],
341 'dex_input_paths': [ '<(jar_final_path)' ], 341 'dex_input_paths': [ '<(jar_final_path)' ],
342 'output_path': '<(dex_path)', 342 'output_path': '<(dex_path)',
343 }, 343 },
344 'includes': [ 'android/dex_action.gypi' ], 344 'includes': [ 'android/dex_action.gypi' ],
345 }, 345 },
346 ], 346 ],
347 } 347 }
OLDNEW
« no previous file with comments | « build/isolate.gypi ('k') | build/java_aidl.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698