diff options
author | 2024-09-23 16:49:48 +0000 | |
---|---|---|
committer | 2024-09-23 19:29:41 +0000 | |
commit | 9cf2e8e1403b5e057aca10870080adbe3e621f83 (patch) | |
tree | 3a1a2f40838243be40c03f6ed29aac7d03c2a27b /aconfig/codegen/init.go | |
parent | 29c267af2db1842c13ccb124b1c82eeadd2a1890 (diff) |
pass read new storage parameter to java codegen
When RELEASE_READ_FROM_NEW_STORAGE is true, enable reading from new
storage. So that we can ensure nextfood is not impacted.
Test: m and check cf
Bug: 349874828
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c98032785339de11e34ee3d4f94b3ec3ed70d324)
Merged-In: Id12816206a16b17c23e3a53832d268f1600107b3
Change-Id: I95ad9457e6d9c07a5a5b3074045a383f004113a9
Diffstat (limited to 'aconfig/codegen/init.go')
-rw-r--r-- | aconfig/codegen/init.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/aconfig/codegen/init.go b/aconfig/codegen/init.go index 98d288f0a..ed0b3ed7f 100644 --- a/aconfig/codegen/init.go +++ b/aconfig/codegen/init.go @@ -32,6 +32,7 @@ var ( ` --mode ${mode}` + ` --cache ${in}` + ` --out ${out}.tmp` + + ` --allow-instrumentation ${debug}` + ` && $soong_zip -write_if_changed -jar -o ${out} -C ${out}.tmp -D ${out}.tmp` + ` && rm -rf ${out}.tmp`, CommandDeps: []string{ @@ -39,7 +40,7 @@ var ( "$soong_zip", }, Restat: true, - }, "mode") + }, "mode", "debug") // For cc_aconfig_library: Generate C++ library cppRule = pctx.AndroidStaticRule("cc_aconfig_library", |