naiveproxy/tools/android/errorprone_plugin/BUILD.gn

27 lines
944 B
Plaintext
Raw Normal View History

2018-08-15 01:19:20 +03:00
# 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/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",
]
}