Merge "`#apex` symbols no longer contribute to platform libraries"
diff --git a/cc/library.go b/cc/library.go
index c3c587d..621b58c 100644
--- a/cc/library.go
+++ b/cc/library.go
@@ -1050,9 +1050,7 @@
if ctx.Module().(android.ApexModule).NotInPlatform() {
flag = "--apex"
} else {
- // TODO(b/239274367) drop --apex when #apex is replaced with #systemapi
- // in the map.txt files of platform libraries
- flag = "--systemapi --apex"
+ flag = "--systemapi"
}
nativeAbiResult := parseNativeAbiDefinition(ctx, symbolFile,
android.ApiLevelOrPanic(ctx, library.MutatedProperties.StubsVersion), flag)