Index: build/java_apk.gypi |
diff --git a/build/java_apk.gypi b/build/java_apk.gypi |
index f35f51f485c8c99d9be9a178395a979b1cc63eed..847729de84e194ffaa8d024b4d8d08f9aa5e3c78 100644 |
--- a/build/java_apk.gypi |
+++ b/build/java_apk.gypi |
@@ -223,7 +223,12 @@ |
'native_lib_placeholders': [], |
'main_apk_name': '<(apk_name)', |
'dex_path': '<(dex_path)', |
- 'enable_errorprone%': '0', |
+ 'conditions': [ |
+ ['chromium_code == 0', { |
+ 'enable_errorprone': 0, |
+ }], |
+ ], |
+ 'enable_errorprone%': 0, |
'errorprone_exe_path': '<(PRODUCT_DIR)/bin.java/chromium_errorprone', |
}, |
# Pass the jar path to the apk's "fake" jar target. This would be better as |