aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/cpp/LinkerInput.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/cpp/LinkerInput.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/cpp/LinkerInput.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/LinkerInput.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/LinkerInput.java
index 9cbcf67434..c2da5135bf 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/cpp/LinkerInput.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/LinkerInput.java
@@ -15,23 +15,19 @@
package com.google.devtools.build.lib.rules.cpp;
import com.google.devtools.build.lib.actions.Artifact;
-import com.google.devtools.build.lib.skylarkinterface.SkylarkCallable;
+import com.google.devtools.build.lib.skylarkbuildapi.cpp.LinkerInputApi;
/**
* Something that appears on the command line of the linker. Since we sometimes expand archive files
* to their constituent object files, we need to keep information whether a certain file contains
* embedded objects and if so, the list of the object files themselves.
*/
-public interface LinkerInput {
+public interface LinkerInput extends LinkerInputApi {
/**
* Returns the type of the linker input.
*/
ArtifactCategory getArtifactCategory();
- /** Returns the artifact that is the input of the linker. */
- @SkylarkCallable(name = "artifact", doc = "Artifact passed to the linker.")
- Artifact getArtifact();
-
/**
* Returns the original library to link. If this library is a solib symlink, returns the
* artifact the symlink points to, otherwise, the library itself.