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

Side by Side Diff: third_party/errorprone/errorprone.gyp

Issue 1136573002: Use the Errorprone Compiler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup and testing 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 unified diff | Download patch
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 {
6 'targets': [
7 {
8 # GN: //third_party/errorprone:errorprone_java
9 'target_name': 'errorprone_java',
10 'type': 'none',
11 'variables': {
12 'jar_path': 'error_prone_core-1.1.2.jar',
jbudorick 2015/06/01 22:28:42 (couldn't comment directly on the jar) Thanks for
raywilliams_chromium 2015/06/03 21:53:18 Done.
13 },
14 'includes': [
15 '../../build/host_prebuilt_jar.gypi',
16 ]
17 },
18 {
19 # GN: //third_party/errorprone:chromium_errorprone
20 'target_name': 'chromium_errorprone',
21 'type': 'none',
22 'variables': {
23 'src_paths': [
24 'src/org/chromium/errorprone/ChromiumErrorProneCompiler.java',
25 ],
26 'enable_errorprone': 0,
27 },
28 'dependencies': [
29 '../../build/android/setup.gyp:sun_tools_java',
30 'errorprone_java',
31 ],
32 'includes': [
33 '../../build/host_jar.gypi',
34 ],
35 'actions': [
36 {
37 'action_name': 'create_errorprone_binary_script',
38 'inputs': [
39 '<(DEPTH)/build/android/gyp/create_java_binary_script.py',
40 '<(DEPTH)/build/android/gyp/util/build_utils.py',
41 # Ensure that the script is touched when the jar is.
42 '<(jar_path)',
43 ],
44 'outputs': [
45 '<(PRODUCT_DIR)/bin.java/chromium_errorprone'
46 ],
47 'action': [
48 'python', '<(DEPTH)/build/android/gyp/create_java_binary_script.py',
49 '--output', '<(PRODUCT_DIR)/bin.java/chromium_errorprone',
50 '--classpath=>@(input_jars_paths)',
51 '--jar-path=<(jar_path)',
52 '--main-class=org.chromium.errorprone.ChromiumErrorProneCompiler',
53 ],
54 },
55 ],
56 },
57 ],
58 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698