summaryrefslogtreecommitdiff
path: root/aconfig/codegen/init.go
diff options
context:
space:
mode:
author zhidou <zhidou@google.com> 2024-12-09 21:26:51 +0000
committer zhidou <zhidou@google.com> 2024-12-09 21:30:34 +0000
commit347f528d6df6eb25fa597763ca89fc9322ef878c (patch)
tree2a94f0d071c66fd5e14a1d515d9eb81debe07630 /aconfig/codegen/init.go
parentdfe822f632e74c788c6b3d188f93bba15d1138b5 (diff)
pass new_exported parameter to java_aconfig_library
Bug: 329250927 Test: m Change-Id: I2f3a273611a6a75a47d3d05ba24bc153997cb894
Diffstat (limited to 'aconfig/codegen/init.go')
-rw-r--r--aconfig/codegen/init.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/aconfig/codegen/init.go b/aconfig/codegen/init.go
index ed0b3ed7f..34fdca3d1 100644
--- a/aconfig/codegen/init.go
+++ b/aconfig/codegen/init.go
@@ -33,6 +33,7 @@ var (
` --cache ${in}` +
` --out ${out}.tmp` +
` --allow-instrumentation ${debug}` +
+ ` --new-exported ${new_exported}` +
` && $soong_zip -write_if_changed -jar -o ${out} -C ${out}.tmp -D ${out}.tmp` +
` && rm -rf ${out}.tmp`,
CommandDeps: []string{
@@ -40,7 +41,7 @@ var (
"$soong_zip",
},
Restat: true,
- }, "mode", "debug")
+ }, "mode", "debug", "new_exported")
// For cc_aconfig_library: Generate C++ library
cppRule = pctx.AndroidStaticRule("cc_aconfig_library",