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

Side by Side Diff: third_party/errorprone/BUILD.gn

Issue 1233453010: GN: Fix support errorprone and java_binary (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn12
Patch Set: Add errorprone target only for OS=android Created 5 years, 5 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 unified diff | Download patch
« no previous file with comments | « build/config/android/rules.gni ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 }
OLDNEW
« no previous file with comments | « build/config/android/rules.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698