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

Side by Side Diff: build/java.gypi

Issue 196423008: android: Make javac rules depend on java files too. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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 | « no previous file | 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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 ] 273 ]
274 }, 274 },
275 ], 275 ],
276 }], 276 }],
277 ], 277 ],
278 'actions': [ 278 'actions': [
279 { 279 {
280 'action_name': 'javac_<(_target_name)', 280 'action_name': 'javac_<(_target_name)',
281 'message': 'Compiling <(_target_name) java sources', 281 'message': 'Compiling <(_target_name) java sources',
282 'variables': { 282 'variables': {
283 'java_source_list': '>|(javasources.<(_target_name).gypcmd >!@(find >(ja va_in_dir)/src >(additional_src_dirs) -name "*.java"))', 283 'java_sources': ['>!@(find >(java_in_dir)/src >(additional_src_dirs) -na me "*.java")'],
284 'java_source_list': '>|(javasources.<(_target_name).gypcmd >@(java_sourc es))',
284 }, 285 },
285 'inputs': [ 286 'inputs': [
286 '<(DEPTH)/build/android/gyp/util/build_utils.py', 287 '<(DEPTH)/build/android/gyp/util/build_utils.py',
287 '<(DEPTH)/build/android/gyp/javac.py', 288 '<(DEPTH)/build/android/gyp/javac.py',
289 '>@(java_sources)',
288 '>(java_source_list)', 290 '>(java_source_list)',
289 '>@(input_jars_paths)', 291 '>@(input_jars_paths)',
290 '>@(additional_input_paths)', 292 '>@(additional_input_paths)',
291 ], 293 ],
292 'outputs': [ 294 'outputs': [
293 '<(compile_stamp)', 295 '<(compile_stamp)',
294 ], 296 ],
295 'action': [ 297 'action': [
296 'python', '<(DEPTH)/build/android/gyp/javac.py', 298 'python', '<(DEPTH)/build/android/gyp/javac.py',
297 '--output-dir=<(classes_dir)', 299 '--output-dir=<(classes_dir)',
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 'dex_no_locals': 1, 385 'dex_no_locals': 1,
384 }], 386 }],
385 ], 387 ],
386 'dex_input_paths': [ '<(jar_final_path)' ], 388 'dex_input_paths': [ '<(jar_final_path)' ],
387 'output_path': '<(dex_path)', 389 'output_path': '<(dex_path)',
388 }, 390 },
389 'includes': [ 'android/dex_action.gypi' ], 391 'includes': [ 'android/dex_action.gypi' ],
390 }, 392 },
391 ], 393 ],
392 } 394 }
OLDNEW
« no previous file with comments | « no previous file | build/java_apk.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698