From 347f528d6df6eb25fa597763ca89fc9322ef878c Mon Sep 17 00:00:00 2001 From: zhidou Date: Mon, 9 Dec 2024 21:26:51 +0000 Subject: pass new_exported parameter to java_aconfig_library Bug: 329250927 Test: m Change-Id: I2f3a273611a6a75a47d3d05ba24bc153997cb894 --- aconfig/codegen/init.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'aconfig/codegen/init.go') 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", -- cgit v1.2.3-59-g8ed1b