From ffea9b3b0e84286879327b73026d8cc3e34042d2 Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Sun, 17 Jul 2022 17:32:56 +0900 Subject: [PATCH] `#apex` symbols no longer contribute to platform libraries Bug: 239274367 Test: m Change-Id: I7a6cd0f46071d5dbbf9510df5693a0d6b95e10c0 --- cc/library.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cc/library.go b/cc/library.go index e2d5ef624..443d6d0e3 100644 --- a/cc/library.go +++ b/cc/library.go @@ -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)