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

Unified Diff: build/java.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, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/host_jar.gypi ('k') | build/java_apk.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/java.gypi
diff --git a/build/java.gypi b/build/java.gypi
index bc489a78946a49e37dcc5b0765bf14329a88f1c2..333ad4aad54957be90099953869b5db099822f5d 100644
--- a/build/java.gypi
+++ b/build/java.gypi
@@ -83,8 +83,6 @@
'java_in_dir_suffix%': '/src',
'proguard_config%': '',
'proguard_preprocess%': '0',
- 'enable_errorprone%': '0',
- 'errorprone_exe_path': '<(PRODUCT_DIR)/bin.java/chromium_errorprone',
'variables': {
'variables': {
'proguard_preprocess%': 0,
@@ -105,6 +103,13 @@
},
'emma_instrument': '<(emma_instrument)',
'javac_jar_path': '<(javac_jar_path)',
+ 'conditions': [
+ ['chromium_code == 0', {
+ 'enable_errorprone': 0,
+ }],
+ ],
+ 'enable_errorprone%': 0,
+ 'errorprone_exe_path': '<(PRODUCT_DIR)/bin.java/chromium_errorprone',
},
'conditions': [
['add_to_dependents_classpaths == 1', {
« no previous file with comments | « build/host_jar.gypi ('k') | build/java_apk.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698