blob: b5c0b1c63d7b72e6d2f17767c91560d78cddea63 [file] [log] [blame]
# Copyright 2014 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")
if (current_toolchain == default_toolchain) {
version = "2.3.1"
java_library("errorprone_java") {
jar_path = "lib/error_prone_ant-$version.jar"
}
java_binary("errorprone") {
deps = [
":errorprone_java",
]
main_class = "com.google.errorprone.ErrorProneCompiler"
bootclasspath = "$root_build_dir/lib.java/third_party/errorprone/error_prone_ant-$version.jar"
}
}