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.gyp:errorprone_java | 7 # GYP: //third_party/errorprone/errorprone.gyp:error_prone_annotation_jar |
8 java_prebuilt("errorprone_java") { | 8 java_prebuilt("error_prone_annotation_java") { |
9 jar_path = "lib/error_prone_core-1.1.2.jar" | 9 jar_path = "lib/error_prone_annotation-2.0.1.jar" |
10 } | 10 } |
11 | 11 |
12 # GYP: //third_party/errorprone.gyp:chromium_errorprone | 12 # GYP: //third_party/errorprone/errorprone.gyp:error_prone_annotations_jar |
13 java_binary("chromium_errorprone") { | 13 java_prebuilt("error_prone_annotations_java") { |
14 chromium_code = false | 14 jar_path = "lib/error_prone_annotations-2.0.1.jar" |
15 main_class = "org.chromium.errorprone.ChromiumErrorProneCompiler" | 15 } |
16 enable_errorprone = false | 16 |
17 java_files = [ "src/org/chromium/errorprone/ChromiumErrorProneCompiler.java" ] | 17 # GYP: //third_party/errorprone/errorprone.gyp:javacutil_jar |
| 18 java_prebuilt("javacutil_java") { |
| 19 jar_path = "lib/javacutil-1.8.10.jar" |
| 20 } |
| 21 |
| 22 # GYP: //third_party/errorprone/errorprone.gyp:dataflow_jar |
| 23 java_prebuilt("dataflow_java") { |
| 24 jar_path = "lib/dataflow-1.8.10.jar" |
| 25 } |
| 26 |
| 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" |
18 deps = [ | 30 deps = [ |
| 31 ":dataflow_java", |
| 32 ":error_prone_annotation_java", |
| 33 ":error_prone_annotations_java", |
| 34 ":javacutil_java", |
19 "//build/android:sun_tools_java", | 35 "//build/android:sun_tools_java", |
20 ":errorprone_java", | 36 "//third_party/findbugs:format_string_java", |
21 ] | 37 ] |
| 38 main_class = "com.google.errorprone.ErrorProneCompiler" |
22 } | 39 } |
OLD | NEW |