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

Unified Diff: third_party/errorprone/errorprone.gyp

Issue 2332843004: Remove GYP files. (Closed)
Patch Set: Merge Created 4 years, 3 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 | « third_party/elfutils/elfutils.gyp ('k') | third_party/expat/expat.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/errorprone/errorprone.gyp
diff --git a/third_party/errorprone/errorprone.gyp b/third_party/errorprone/errorprone.gyp
deleted file mode 100644
index c9bb4832fe2e05772d91043af6c2821b6aa97f96..0000000000000000000000000000000000000000
--- a/third_party/errorprone/errorprone.gyp
+++ /dev/null
@@ -1,132 +0,0 @@
-# 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.
-
-{
- 'variables': {
- 'errorprone_script_path': '<(PRODUCT_DIR)/bin.java/chromium_errorprone',
- },
- 'targets': [
- {
- # GN: //third_party/errorprone:error_prone_annotation_java
- 'target_name': 'error_prone_annotation_jar',
- 'type': 'none',
- 'variables': {
- 'jar_path': 'lib/error_prone_annotation-2.0.5.jar',
- },
- 'includes': [
- '../../build/host_prebuilt_jar.gypi',
- ]
- },
- {
- # GN: //third_party/errorprone:error_prone_annotations_java
- 'target_name': 'error_prone_annotations_jar',
- 'type': 'none',
- 'variables': {
- 'jar_path': 'lib/error_prone_annotations-2.0.5.jar',
- },
- 'includes': [
- '../../build/host_prebuilt_jar.gypi',
- ]
- },
- {
- # GN: //third_party/errorprone:dataflow_java
- 'target_name': 'dataflow_jar',
- 'type': 'none',
- 'variables': {
- 'jar_path': 'lib/dataflow-1.8.10.jar',
- },
- 'includes': [
- '../../build/host_prebuilt_jar.gypi',
- ]
- },
- {
- # GN: //third_party/errorprone:javacutil_java
- 'target_name': 'javacutil_jar',
- 'type': 'none',
- 'variables': {
- 'jar_path': 'lib/javacutil-1.8.10.jar',
- },
- 'includes': [
- '../../build/host_prebuilt_jar.gypi',
- ]
- },
- {
- # GN: //third_party/errorprone:javac_java
- 'target_name': 'javac_jar',
- 'type': 'none',
- 'variables': {
- 'jar_path': 'lib/javac-1.9.0-dev-r2644-1.jar',
- },
- 'includes': [
- '../../build/host_prebuilt_jar.gypi',
- ]
- },
- {
- # GN: //third_party/errorprone:chromium_errorprone
- 'target_name': 'chromium_errorprone',
- 'type': 'none',
- 'variables': {
- 'jar_path': 'lib/error_prone_core-2.0.5.jar',
- },
- 'dependencies': [
- '../../third_party/findbugs/findbugs.gyp:format_string_jar',
- 'error_prone_annotation_jar',
- 'error_prone_annotations_jar',
- 'dataflow_jar',
- 'javac_jar',
- 'javacutil_jar',
- ],
- 'includes': [
- '../../build/host_prebuilt_jar.gypi',
- ],
- 'actions': [
- {
- 'action_name': 'create_errorprone_binary_script',
- 'inputs': [
- '<(DEPTH)/build/android/gyp/create_java_binary_script.py',
- '<(DEPTH)/build/android/gyp/util/build_utils.py',
- # Ensure that the script is touched when the jar is.
- '<(jar_path)',
- ],
- 'outputs': [
- '<(errorprone_script_path)',
- ],
- 'action': [
- 'python', '<(DEPTH)/build/android/gyp/create_java_binary_script.py',
- '--output', '<(PRODUCT_DIR)/bin.java/chromium_errorprone',
- # TODO(mikecase): Remove this extra arg when the bots are on jdk8 or higher.
- '--bootclasspath', '<(PRODUCT_DIR)/lib.java/javac_jar.jar',
- '--jar-path=<(jar_path)',
- '--classpath=>@(input_jars_paths)',
- '--main-class=com.google.errorprone.ErrorProneCompiler',
- ],
- },
- ],
- },
- {
- # This emulates gn's datadeps fields. We don't want the errorprone jars
- # to be added to the classpaths of targets that depend on errorprone.
- 'target_name': 'require_errorprone',
- 'type': 'none',
- 'actions': [
- {
- 'action_name': 'require_errorprone',
- 'message': 'Making sure errorprone has been built.',
- 'variables': {
- 'required_file': '<(PRODUCT_DIR)/bin.java/errorprone.required',
- },
- 'inputs': [
- '<(errorprone_script_path)',
- ],
- 'outputs': [
- '<(required_file)',
- ],
- 'action': [
- 'python', '../../build/android/gyp/touch.py', '<(required_file)',
- ],
- },
- ],
- },
- ],
-}
« no previous file with comments | « third_party/elfutils/elfutils.gyp ('k') | third_party/expat/expat.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698