Index: third_party/errorprone/BUILD.gn |
diff --git a/third_party/errorprone/BUILD.gn b/third_party/errorprone/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ff4c02cbb15172717a1774704acee71dc3c5e5fd |
--- /dev/null |
+++ b/third_party/errorprone/BUILD.gn |
@@ -0,0 +1,22 @@ |
+# 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") |
+ |
+# GYP: //third_party/errorprone.gyp:errorprone_java |
+java_prebuilt("errorprone_java") { |
+ jar_path = "lib/error_prone_core-1.1.2.jar" |
+} |
+ |
+# GYP: //third_party/errorprone.gyp:chromium_errorprone |
+java_binary("chromium_errorprone") { |
+ chromium_code = false |
+ main_class = "org.chromium.errorprone.ChromiumErrorProneCompiler" |
+ disable_errorprone = true |
+ java_files = [ "src/org/chromium/errorprone/ChromiumErrorProneCompiler.java" ] |
+ deps = [ |
+ "//build/android:sun_tools_java", |
+ ":errorprone_java", |
+ ] |
+} |