summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Zhi Dou <zhidou@google.com> 2025-02-11 21:40:40 +0000
committer Zhi Dou <zhidou@google.com> 2025-02-11 21:40:40 +0000
commit234a96c6a07b1cd68b475db579c28c406c222fcd (patch)
tree2026fe1c9d3323aa02695311e704926820c7c279
parent5c846d83491453439c1cd9936a7842b9dc285e92 (diff)
Pass single-exported-file parameter
This change passes single-exported-files parameter when generates exported_java_aconfig_library. It will generate an extra file ExportedFlags for each class. This class is preferred to be used to access the flags NO_IFTTT=The mode in regular exported doesn't need to change Test: m exported_java_aconfig_library, and use it Bug: 392871534 Change-Id: I8766b350130f2e6c80876abcff1e1d30f55203ca
-rw-r--r--aconfig/init.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/aconfig/init.go b/aconfig/init.go
index 3dcec5cd8..bcc33c1b5 100644
--- a/aconfig/init.go
+++ b/aconfig/init.go
@@ -104,6 +104,7 @@ var (
` --mode=exported` +
` --allow-instrumentation ${use_new_storage}` +
` --new-exported ${use_new_exported}` +
+ ` --single-exported-file true` +
` --check-api-level ${check_api_level}` +
` --out ${out}.tmp; ` +
` fi ` +