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.
8 # GN: //third_party/errorprone:errorprone_java
9 'target_name': 'errorprone_java',
12 'jar_path': 'lib/error_prone_core-1.1.2.jar',
15 '../../build/host_prebuilt_jar.gypi',
19 # GN: //third_party/errorprone:chromium_errorprone
20 'target_name': 'chromium_errorprone',
24 'src/org/chromium/errorprone/ChromiumErrorProneCompiler.java',
26 'enable_errorprone': 0,
29 '../../build/android/setup.gyp:sun_tools_java',
33 '../../build/host_jar.gypi',
37 'action_name': 'create_errorprone_binary_script',
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.
45 '<(PRODUCT_DIR)/bin.java/chromium_errorprone'
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',