OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/android/rules.gni") | 5 import("//build/config/android/rules.gni") |
6 | 6 |
7 # GYP: //third_party/errorprone/errorprone.gyp:error_prone_annotation_jar | 7 # GYP: //third_party/errorprone/errorprone.gyp:error_prone_annotation_jar |
8 java_prebuilt("error_prone_annotation_java") { | 8 java_prebuilt("error_prone_annotation_java") { |
9 jar_path = "lib/error_prone_annotation-2.0.5.jar" | 9 jar_path = "lib/error_prone_annotation-2.0.5.jar" |
10 } | 10 } |
11 | 11 |
12 # GYP: //third_party/errorprone/errorprone.gyp:error_prone_annotations_jar | 12 # GYP: //third_party/errorprone/errorprone.gyp:error_prone_annotations_jar |
13 java_prebuilt("error_prone_annotations_java") { | 13 java_prebuilt("error_prone_annotations_java") { |
14 jar_path = "lib/error_prone_annotations-2.0.5.jar" | 14 jar_path = "lib/error_prone_annotations-2.0.5.jar" |
15 } | 15 } |
16 | 16 |
17 # GYP: //third_party/errorprone/errorprone.gyp:javac_jar | 17 # GYP: //third_party/errorprone/errorprone.gyp:javac_jar |
18 java_prebuilt("javac_java") { | 18 java_prebuilt("javac_java") { |
19 jar_path = "lib/javac-1.9.0-dev-r2644-1.jar" | 19 jar_path = "lib/javac-1.9.0-dev-r2644-1.jar" |
20 } | 20 } |
21 | 21 |
22 # GYP: //third_party/errorprone/errorprone.gyp:dataflow_jar | 22 # GYP: //third_party/errorprone/errorprone.gyp:dataflow_jar |
23 java_prebuilt("dataflow_java") { | 23 java_prebuilt("dataflow_java") { |
24 jar_path = "lib/dataflow-1.8.10.jar" | 24 jar_path = "lib/dataflow-1.8.10.jar" |
25 } | 25 } |
26 | 26 |
| 27 # GYP: //third_party/errorprone/errorprone.gyp:javacutil_jar |
| 28 java_prebuilt("javacutil_java") { |
| 29 jar_path = "lib/javacutil-1.8.10.jar" |
| 30 } |
| 31 |
27 # GYP: //third_party/errorprone/errorprone.gyp:chromium_errorprone | 32 # GYP: //third_party/errorprone/errorprone.gyp:chromium_errorprone |
28 java_prebuilt("chromium_errorprone") { | 33 java_prebuilt("chromium_errorprone") { |
29 jar_path = "lib/error_prone_core-2.0.5.jar" | 34 jar_path = "lib/error_prone_core-2.0.5.jar" |
30 deps = [ | 35 deps = [ |
31 ":dataflow_java", | 36 ":dataflow_java", |
32 ":error_prone_annotation_java", | 37 ":error_prone_annotation_java", |
33 ":error_prone_annotations_java", | 38 ":error_prone_annotations_java", |
34 ":javac_java", | 39 ":javac_java", |
| 40 ":javacutil_java", |
35 "//third_party/findbugs:format_string_java", | 41 "//third_party/findbugs:format_string_java", |
36 ] | 42 ] |
37 main_class = "com.google.errorprone.ErrorProneCompiler" | 43 main_class = "com.google.errorprone.ErrorProneCompiler" |
38 | 44 |
39 # TODO(mikecase): Remove this extra arg when the bots are on jdk8 or higher. | 45 # TODO(mikecase): Remove this extra arg when the bots are on jdk8 or higher. |
40 bootclasspath = "$target_gen_dir/javac_java.jar" | 46 bootclasspath = "$target_gen_dir/javac_java.jar" |
41 } | 47 } |
OLD | NEW |