aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/cpp/LinkerInputs.java
diff options
context:
space:
mode:
authorGravatar plf <plf@google.com>2018-07-02 06:50:30 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-07-02 06:51:54 -0700
commit95a40bea2d0488ba3afc803b9082b16cadef1deb (patch)
treee3c00515980ebb47d368aa67bed791125c5972de /src/main/java/com/google/devtools/build/lib/rules/cpp/LinkerInputs.java
parentc7a01554d0fa01aab41577e241ae262fdda45d95 (diff)
C++: Exposes C++ Skylark providers to Bazel
RELNOTES:none PiperOrigin-RevId: 202943806
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/cpp/LinkerInputs.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/cpp/LinkerInputs.java10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/LinkerInputs.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/LinkerInputs.java
index 5997105792..5ccef60859 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/cpp/LinkerInputs.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/LinkerInputs.java
@@ -22,8 +22,7 @@ import com.google.devtools.build.lib.collect.CollectionUtils;
import com.google.devtools.build.lib.concurrent.ThreadSafety;
import com.google.devtools.build.lib.skyframe.serialization.autocodec.AutoCodec;
import com.google.devtools.build.lib.skyframe.serialization.autocodec.AutoCodec.VisibleForSerialization;
-import com.google.devtools.build.lib.skylarkinterface.SkylarkModule;
-import com.google.devtools.build.lib.skylarkinterface.SkylarkModuleCategory;
+import com.google.devtools.build.lib.skylarkbuildapi.cpp.LibraryToLinkApi;
/**
* Factory for creating new {@link LinkerInput} objects.
@@ -154,12 +153,7 @@ public abstract class LinkerInputs {
* A library the user can link to. This is different from a simple linker input in that it also
* has a library identifier.
*/
- @SkylarkModule(
- name = "LibraryToLink",
- category = SkylarkModuleCategory.BUILTIN,
- documented = false,
- doc = "A library the user can link to.")
- public interface LibraryToLink extends LinkerInput {
+ public interface LibraryToLink extends LinkerInput, LibraryToLinkApi {
ImmutableMap<Artifact, Artifact> getLtoBitcodeFiles();
/**