naiveproxy/tools/android/errorprone_plugin/BUILD.gn
2018-12-09 21:59:24 -05:00

28 lines
1021 B
Plaintext

# 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/NoSynchronizedMethodCheck.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
# 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",
]
}