summaryrefslogtreecommitdiff
path: root/java/kotlin_test.go
diff options
context:
space:
mode:
author Vinh Tran <vinhdaitran@google.com> 2022-12-20 10:38:48 -0500
committer Vinh Tran <vinhdaitran@google.com> 2023-01-03 21:44:07 +0000
commit55225e343dd406a711f260406fbe5c636b15f356 (patch)
treeb5cb3eb7266de5a957301b390203135029417764 /java/kotlin_test.go
parent2266e02a3a643b138feb6f1ff94d88ec46dfda6d (diff)
Remove apex_available tag in cc_library_static generated from stubs-providing lib
When a cc library has stubs, its static variant shouldn't be included in an apex to ensure the library with stubs isn't statically linked. See https://cs.android.com/android/platform/superproject/+/master:build/soong/apex/apex.go;l=2804;drc=89b01aeaa9e19377ff547baab791277719b8aaf3 This CL modifies bp2build so that it excludes apex_available tag from the static target if the library has stubs. This way, we can ensure that no apex can depend on the static target which results to static linking. Test: go test Bug: 255589949 Change-Id: Iedf248994b808436f2440570b094fd06d6284ae9
Diffstat (limited to 'java/kotlin_test.go')
0 files changed, 0 insertions, 0 deletions