summaryrefslogtreecommitdiff
path: root/aconfig
diff options
context:
space:
mode:
author Zhi Dou <zhidou@google.com> 2025-03-19 22:34:58 +0000
committer Zhi Dou <zhidou@google.com> 2025-03-20 07:27:40 -0700
commitaa9cafa688b7d4cd43125bae041b1be15d71e58e (patch)
tree9cf7650c0262fd1b019786f9a5541f3edb243fd8 /aconfig
parentd1b7198f5112d5ef88aa541d26af4a69d7a9f3d7 (diff)
This change add exported flags to droidcore
This change adds exported flag check to droidcore. Then when build the cf image, it will trigger the exported flag check. Test: m Bug: 336800305 Ignore-AOSP-First: need to submit with other change, will cherry pick to aosp once submitted Change-Id: Iff6e95784ba17c7c2f4d563a4940bcf934558acc
Diffstat (limited to 'aconfig')
-rw-r--r--aconfig/all_aconfig_declarations.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/aconfig/all_aconfig_declarations.go b/aconfig/all_aconfig_declarations.go
index f3c68c37a..5a5262485 100644
--- a/aconfig/all_aconfig_declarations.go
+++ b/aconfig/all_aconfig_declarations.go
@@ -129,6 +129,7 @@ func (this *allAconfigDeclarationsSingleton) GenerateAndroidBuildActions(ctx and
invalidExportedFlags := android.PathForIntermediates(ctx, "invalid_exported_flags.txt")
GenerateExportedFlagCheck(ctx, invalidExportedFlags, parsedFlagsFile, this.properties)
depsFiles = append(depsFiles, invalidExportedFlags)
+ ctx.Phony("droidcore", invalidExportedFlags)
}
}