#apex symbols no longer contribute to platform libraries

Bug: 239274367
Test: m
Change-Id: I7a6cd0f46071d5dbbf9510df5693a0d6b95e10c0
This commit is contained in:
Jiyong Park
2022-07-17 17:32:56 +09:00
parent 85cc35a143
commit ffea9b3b0e

View File

@@ -1039,9 +1039,7 @@ func (library *libraryDecorator) compile(ctx ModuleContext, flags Flags, deps Pa
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)