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

Side by Side Diff: build/java.gypi

Issue 1815563005: [Android] Run lint using a cache in the output directory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: prereview 2 Created 4 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
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 30 matching lines...) Expand all
41 # R_package - The java package in which the R class (which maps resources to 41 # R_package - The java package in which the R class (which maps resources to
42 # integer IDs) should be generated, e.g. org.chromium.content. 42 # integer IDs) should be generated, e.g. org.chromium.content.
43 # R_package_relpath - Same as R_package, but replace each '.' with '/'. 43 # R_package_relpath - Same as R_package, but replace each '.' with '/'.
44 # res_extra_dirs - A list of extra directories containing Android resources. 44 # res_extra_dirs - A list of extra directories containing Android resources.
45 # These directories may be generated at build time. 45 # These directories may be generated at build time.
46 # res_extra_files - A list of the files in res_extra_dirs. 46 # res_extra_files - A list of the files in res_extra_dirs.
47 # never_lint - Set to 1 to not run lint on this target. 47 # never_lint - Set to 1 to not run lint on this target.
48 48
49 { 49 {
50 'dependencies': [ 50 'dependencies': [
51 '<(DEPTH)/build/android/setup.gyp:build_output_dirs' 51 '<(DEPTH)/build/android/lint_cache.gyp:lint_cache',
52 '<(DEPTH)/build/android/setup.gyp:build_output_dirs',
52 ], 53 ],
53 'variables': { 54 'variables': {
54 'add_to_dependents_classpaths%': 1, 55 'add_to_dependents_classpaths%': 1,
55 'android_jar': '<(android_sdk)/android.jar', 56 'android_jar': '<(android_sdk)/android.jar',
56 'input_jars_paths': [ '<(android_jar)' ], 57 'input_jars_paths': [ '<(android_jar)' ],
57 'additional_src_dirs': [], 58 'additional_src_dirs': [],
58 'javac_includes': [], 59 'javac_includes': [],
59 'jar_name': '<(_target_name).jar', 60 'jar_name': '<(_target_name).jar',
60 'jar_dir': '<(PRODUCT_DIR)/lib.java', 61 'jar_dir': '<(PRODUCT_DIR)/lib.java',
61 'jar_path': '<(intermediate_dir)/<(jar_name)', 62 'jar_path': '<(intermediate_dir)/<(jar_name)',
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 'dex_no_locals': 1, 389 'dex_no_locals': 1,
389 }], 390 }],
390 ], 391 ],
391 'dex_input_paths': [ '<(jar_final_path)' ], 392 'dex_input_paths': [ '<(jar_final_path)' ],
392 'output_path': '<(dex_path)', 393 'output_path': '<(dex_path)',
393 }, 394 },
394 'includes': [ 'android/dex_action.gypi' ], 395 'includes': [ 'android/dex_action.gypi' ],
395 }, 396 },
396 ], 397 ],
397 } 398 }
OLDNEW
« build/config/android/internal_rules.gni ('K') | « build/config/android/internal_rules.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698