Expose the JavaCcLinkParamsProvider to Starlark (as JavaCcLinkParamsInfo). This
is necessary for the Android Rules Starlark rewrite. The Starlark API is marked as
"do not use" in a similar way the Android Starlark APIs have been.
RELNOTES: none.
PiperOrigin-RevId: 217652352
diff --git a/src/main/java/com/google/devtools/build/skydoc/SkydocMain.java b/src/main/java/com/google/devtools/build/skydoc/SkydocMain.java
index ebb19db..dfc7a4a 100644
--- a/src/main/java/com/google/devtools/build/skydoc/SkydocMain.java
+++ b/src/main/java/com/google/devtools/build/skydoc/SkydocMain.java
@@ -60,6 +60,7 @@
import com.google.devtools.build.skydoc.fakebuildapi.config.FakeConfigGlobalLibrary;
import com.google.devtools.build.skydoc.fakebuildapi.config.FakeConfigSkylarkCommon;
import com.google.devtools.build.skydoc.fakebuildapi.cpp.FakeCcModule;
+import com.google.devtools.build.skydoc.fakebuildapi.java.FakeJavaCcLinkParamsProvider;
import com.google.devtools.build.skydoc.fakebuildapi.java.FakeJavaCommon;
import com.google.devtools.build.skydoc.fakebuildapi.java.FakeJavaInfo.FakeJavaInfoProvider;
import com.google.devtools.build.skydoc.fakebuildapi.java.FakeJavaProtoCommon;
@@ -368,9 +369,12 @@
new ConfigBootstrap(new FakeConfigSkylarkCommon(), new FakeConfigApi(),
new FakeConfigGlobalLibrary());
CcBootstrap ccBootstrap = new CcBootstrap(new FakeCcModule());
- JavaBootstrap javaBootstrap = new JavaBootstrap(new FakeJavaCommon(),
- new FakeJavaInfoProvider(),
- new FakeJavaProtoCommon());
+ JavaBootstrap javaBootstrap =
+ new JavaBootstrap(
+ new FakeJavaCommon(),
+ new FakeJavaInfoProvider(),
+ new FakeJavaProtoCommon(),
+ new FakeJavaCcLinkParamsProvider.Provider());
PlatformBootstrap platformBootstrap = new PlatformBootstrap(new FakePlatformCommon());
RepositoryBootstrap repositoryBootstrap = new RepositoryBootstrap(new FakeRepositoryModule());
TestingBootstrap testingBootstrap = new TestingBootstrap(new FakeTestingModule(),