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.gyp:errorprone_java |
8 java_prebuilt("errorprone_java") { | 8 java_prebuilt("errorprone_java") { |
9 jar_path = "lib/error_prone_core-1.1.2.jar" | 9 jar_path = "lib/error_prone_core-1.1.2.jar" |
10 } | 10 } |
11 | 11 |
12 # GYP: //third_party/errorprone.gyp:chromium_errorprone | 12 # GYP: //third_party/errorprone.gyp:chromium_errorprone |
13 java_binary("chromium_errorprone") { | 13 java_binary("chromium_errorprone") { |
14 chromium_code = false | 14 chromium_code = false |
15 main_class = "org.chromium.errorprone.ChromiumErrorProneCompiler" | 15 main_class = "org.chromium.errorprone.ChromiumErrorProneCompiler" |
16 disable_errorprone = true | 16 enable_errorprone = false |
17 java_files = [ "src/org/chromium/errorprone/ChromiumErrorProneCompiler.java" ] | 17 java_files = [ "src/org/chromium/errorprone/ChromiumErrorProneCompiler.java" ] |
18 deps = [ | 18 deps = [ |
19 "//build/android:sun_tools_java", | 19 "//build/android:sun_tools_java", |
20 ":errorprone_java", | 20 ":errorprone_java", |
21 ] | 21 ] |
22 } | 22 } |
OLD | NEW |