Android,C++: Android Skylark constructor taking wrong provider
It should take a CcInfo provider not CcLinkingKinfo.
There are no tests for the Android Skylark API. Filed bug for the Android team
to add those to Blaze: b/118599946
RELNOTES:none
@@ -17,7 +17,6 @@ package com.google.devtools.build.lib.skylarkbuildapi.android;
import com.google.devtools.build.lib.skylarkbuildapi.ProviderApi;
import com.google.devtools.build.lib.skylarkbuildapi.StructApi;
import com.google.devtools.build.lib.skylarkbuildapi.cpp.CcInfoApi;
-import com.google.devtools.build.lib.skylarkbuildapi.cpp.CcLinkingInfoApi;
import com.google.devtools.build.lib.skylarkinterface.Param;
import com.google.devtools.build.lib.skylarkinterface.SkylarkCallable;
import com.google.devtools.build.lib.skylarkinterface.SkylarkConstructor;
@@ -58,10 +57,10 @@ public interface AndroidCcLinkParamsProviderApi<T extends CcInfoApi> extends Str
parameters = {
@Param(
name = "store",
- doc = "The CcLinkingInfo provider.",
+ doc = "The CcInfo provider.",
positional = true,
named = false,
- type = CcLinkingInfoApi.class),
+ type = CcInfoApi.class),
},
selfCall = true)
@SkylarkConstructor(
