blob: e61b0c4ed343cad2fec1cb05279979b392f146ca [file] [log] [blame]
# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/android/rules.gni")
java_library("errorprone_plugin_java") {
java_files = [
# Turned off because of existing code which fails the check
# "src/org/chromium/tools/errorprone/plugin/NoContextGetApplicationContext.java",
"src/org/chromium/tools/errorprone/plugin/AndroidNullableCheck.java",
"src/org/chromium/tools/errorprone/plugin/NoSynchronizedMethodCheck.java",
"src/org/chromium/tools/errorprone/plugin/NoRedundantFieldInitCheck.java",
"src/org/chromium/tools/errorprone/plugin/NoAndroidAsyncTaskCheck.java",
"src/org/chromium/tools/errorprone/plugin/NoSynchronizedThisCheck.java",
]
# Necessary to avoid dependency cycle
enable_errorprone = false
enable_bytecode_rewriter = false
# So that we don't need to inject emma runtime into the compiler's classpath.
emma_never_instrument = true
annotation_processor_deps = [ "//third_party/auto:auto_service_processor" ]
deps = [
"//third_party/auto:auto_service_java",
"//third_party/errorprone:errorprone_java",
]
}