Fix: duplicated definition of llndk_headers module
A llndk_headers module was double defined; one as a header lib and the other as a static lib. Since llndk_headers is a header lib, the static lib is now deleted. Bug: 70617292 Test: build. (TestLlndkHeaders added) Change-Id: I1a3e9d1a73616ea4faf03664a7a4b03bd5955629
This commit is contained in:
4
cc/cc.go
4
cc/cc.go
@@ -1422,7 +1422,9 @@ func vendorMutator(mctx android.BottomUpMutatorContext) {
|
||||
mctx.CreateVariations(vendorMode)
|
||||
} else if _, ok := m.linker.(*llndkHeadersDecorator); ok {
|
||||
// ... and LL-NDK headers as well
|
||||
mctx.CreateVariations(vendorMode)
|
||||
mod := mctx.CreateVariations(vendorMode)
|
||||
vendor := mod[0].(*Module)
|
||||
vendor.Properties.UseVndk = true
|
||||
} else if _, ok := m.linker.(*vndkPrebuiltLibraryDecorator); ok {
|
||||
// Make vendor variants only for the versions in BOARD_VNDK_VERSION and
|
||||
// PRODUCT_EXTRA_VNDK_VERSIONS.
|
||||
|
||||
Reference in New Issue
Block a user