summaryrefslogtreecommitdiff
path: root/cc/prebuilt.go
diff options
context:
space:
mode:
Diffstat (limited to 'cc/prebuilt.go')
-rw-r--r--cc/prebuilt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/prebuilt.go b/cc/prebuilt.go
index d324241e0..62f393824 100644
--- a/cc/prebuilt.go
+++ b/cc/prebuilt.go
@@ -330,7 +330,7 @@ type prebuiltStaticLibraryBazelHandler struct {
func (h *prebuiltStaticLibraryBazelHandler) GenerateBazelBuildActions(ctx android.ModuleContext, label string) bool {
bazelCtx := ctx.Config().BazelContext
- ccInfo, ok, err := bazelCtx.GetCcInfo(label, ctx.Arch().ArchType)
+ ccInfo, ok, err := bazelCtx.GetCcInfo(label, android.GetConfigKey(ctx))
if err != nil {
ctx.ModuleErrorf("Error getting Bazel CcInfo: %s", err)
}