diff options
Diffstat (limited to 'cc/library.go')
| -rw-r--r-- | cc/library.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cc/library.go b/cc/library.go index af92b24b7..f49698e7a 100644 --- a/cc/library.go +++ b/cc/library.go @@ -259,11 +259,10 @@ func CcLibraryBp2Build(ctx android.TopDownMutatorContext) { compilerAttrs := bp2BuildParseCompilerProps(ctx, m) linkerAttrs := bp2BuildParseLinkerProps(ctx, m) - exportedIncludes, exportedIncludesHeaders := bp2BuildParseExportedIncludes(ctx, m) + exportedIncludes := bp2BuildParseExportedIncludes(ctx, m) attrs := &bazelCcLibraryAttributes{ Srcs: compilerAttrs.srcs, - Hdrs: exportedIncludesHeaders, Copts: compilerAttrs.copts, Linkopts: linkerAttrs.linkopts, Deps: linkerAttrs.deps, @@ -2176,7 +2175,7 @@ func CcLibraryStaticBp2Build(ctx android.TopDownMutatorContext) { compilerAttrs := bp2BuildParseCompilerProps(ctx, module) linkerAttrs := bp2BuildParseLinkerProps(ctx, module) - exportedIncludes, exportedIncludesHeaders := bp2BuildParseExportedIncludes(ctx, module) + exportedIncludes := bp2BuildParseExportedIncludes(ctx, module) attrs := &bazelCcLibraryStaticAttributes{ Copts: compilerAttrs.copts, @@ -2184,7 +2183,6 @@ func CcLibraryStaticBp2Build(ctx android.TopDownMutatorContext) { Deps: linkerAttrs.deps, Linkstatic: true, Includes: exportedIncludes, - Hdrs: exportedIncludesHeaders, } props := bazel.BazelTargetModuleProperties{ |