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

Unified Diff: third_party/errorprone/BUILD.gn

Issue 1133673002: Add errorprone into third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: errorprone to third_party Created 5 years, 7 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 | « no previous file | third_party/errorprone/LICENSE » ('j') | third_party/errorprone/errorprone.gyp » ('J')
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..62db2b744541ad50d08eb7b66a413396d001bdf6
--- /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 = "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",
cjhopman 2015/05/07 19:00:36 This doesn't exist. I'd either move the sun tools
+ ":errorprone_java",
+ ]
+}
« no previous file with comments | « no previous file | third_party/errorprone/LICENSE » ('j') | third_party/errorprone/errorprone.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698