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

Side by Side Diff: build/host_jar.gypi

Issue 1314493010: Never run errorprone on non-Chromium code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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/config/android/internal_rules.gni ('k') | build/java.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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 to build 5 # This file is meant to be included into a target to provide a rule to build
6 # a JAR file for use on a host in a consistent manner. If a main class is 6 # a JAR file for use on a host in a consistent manner. If a main class is
7 # specified, this file will also generate an executable to run the jar in the 7 # specified, this file will also generate an executable to run the jar in the
8 # output folder's /bin/ directory. 8 # output folder's /bin/ directory.
9 # 9 #
10 # To use this, create a gyp target with the following form: 10 # To use this, create a gyp target with the following form:
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 'excluded_src_paths': [], 46 'excluded_src_paths': [],
47 'generated_src_dirs': [], 47 'generated_src_dirs': [],
48 'input_jars_paths': [], 48 'input_jars_paths': [],
49 'intermediate_dir': '<(SHARED_INTERMEDIATE_DIR)/<(_target_name)', 49 'intermediate_dir': '<(SHARED_INTERMEDIATE_DIR)/<(_target_name)',
50 'jar_dir': '<(PRODUCT_DIR)/lib.java', 50 'jar_dir': '<(PRODUCT_DIR)/lib.java',
51 'jar_excluded_classes': [], 51 'jar_excluded_classes': [],
52 'jar_name': '<(_target_name).jar', 52 'jar_name': '<(_target_name).jar',
53 'jar_path': '<(jar_dir)/<(jar_name)', 53 'jar_path': '<(jar_dir)/<(jar_name)',
54 'main_class%': '', 54 'main_class%': '',
55 'stamp': '<(intermediate_dir)/jar.stamp', 55 'stamp': '<(intermediate_dir)/jar.stamp',
56 'enable_errorprone%': '0', 56 'conditions': [
57 ['chromium_code == 0', {
58 'enable_errorprone': 0,
59 }],
60 ],
61 'enable_errorprone%': 0,
57 'errorprone_exe_path': '<(PRODUCT_DIR)/bin.java/chromium_errorprone', 62 'errorprone_exe_path': '<(PRODUCT_DIR)/bin.java/chromium_errorprone',
58 }, 63 },
59 'all_dependent_settings': { 64 'all_dependent_settings': {
60 'variables': { 65 'variables': {
61 'input_jars_paths': ['<(jar_path)'] 66 'input_jars_paths': ['<(jar_path)']
62 }, 67 },
63 }, 68 },
64 'actions': [ 69 'actions': [
65 { 70 {
66 'action_name': 'javac_<(_target_name)', 71 'action_name': 'javac_<(_target_name)',
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 ] 142 ]
138 }], 143 }],
139 ['enable_errorprone == 1', { 144 ['enable_errorprone == 1', {
140 'dependencies': [ 145 'dependencies': [
141 '<(DEPTH)/third_party/errorprone/errorprone.gyp:require_errorprone', 146 '<(DEPTH)/third_party/errorprone/errorprone.gyp:require_errorprone',
142 ], 147 ],
143 }], 148 }],
144 ] 149 ]
145 } 150 }
146 151
OLDNEW
« no previous file with comments | « build/config/android/internal_rules.gni ('k') | build/java.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698