Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(951)

Unified Diff: third_party/errorprone/BUILD.gn

Issue 1136573002: Use the Errorprone Compiler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Full Sync and Update Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/java_apk.gypi ('k') | third_party/errorprone/LICENSE » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
+ ]
+}
« no previous file with comments | « build/java_apk.gypi ('k') | third_party/errorprone/LICENSE » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698