1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//build/config/android/rules.gni")
7 # GYP: //third_party/errorprone/errorprone.gyp:error_prone_annotation_jar
8 java_prebuilt("error_prone_annotation_java") {
9 jar_path = "lib/error_prone_annotation-2.0.1.jar"
12 # GYP: //third_party/errorprone/errorprone.gyp:error_prone_annotations_jar
13 java_prebuilt("error_prone_annotations_java") {
14 jar_path = "lib/error_prone_annotations-2.0.1.jar"
17 # GYP: //third_party/errorprone/errorprone.gyp:javacutil_jar
18 java_prebuilt("javacutil_java") {
19 jar_path = "lib/javacutil-1.8.10.jar"
22 # GYP: //third_party/errorprone/errorprone.gyp:dataflow_jar
23 java_prebuilt("dataflow_java") {
24 jar_path = "lib/dataflow-1.8.10.jar"
27 # GYP: //third_party/errorprone/errorprone.gyp:chromium_errorprone
28 java_prebuilt("chromium_errorprone") {
29 jar_path = "lib/error_prone_core-2.0.1.jar"
32 ":error_prone_annotation_java",
33 ":error_prone_annotations_java",
35 "//build/android:sun_tools_java",
36 "//third_party/findbugs:format_string_java",
38 main_class = "com.google.errorprone.ErrorProneCompiler"