From 396237addc0351530f0dee38291a3bc483e327bc Mon Sep 17 00:00:00 2001 From: Dennis Shen Date: Thu, 30 Jan 2025 20:06:25 +0000 Subject: Soong: remove codegen instrumentation Read from new storage is enabled for quite some time, remove the flag control to turn on reading from new storage. Test: m Change-Id: I1510c1a546205559ed90de47bb50ba0a099a7915 --- aconfig/codegen/init.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'aconfig/codegen/init.go') diff --git a/aconfig/codegen/init.go b/aconfig/codegen/init.go index 34fdca3d1..a43363d23 100644 --- a/aconfig/codegen/init.go +++ b/aconfig/codegen/init.go @@ -51,12 +51,11 @@ var ( ` && ${aconfig} create-cpp-lib` + ` --mode ${mode}` + ` --cache ${in}` + - ` --out ${gendir}` + - ` --allow-instrumentation ${debug}`, + ` --out ${gendir}`, CommandDeps: []string{ "$aconfig", }, - }, "gendir", "mode", "debug") + }, "gendir", "mode") // For rust_aconfig_library: Generate Rust library rustRule = pctx.AndroidStaticRule("rust_aconfig_library", @@ -66,12 +65,11 @@ var ( ` && ${aconfig} create-rust-lib` + ` --mode ${mode}` + ` --cache ${in}` + - ` --allow-instrumentation ${debug}` + ` --out ${gendir}`, CommandDeps: []string{ "$aconfig", }, - }, "gendir", "mode", "debug") + }, "gendir", "mode") ) func init() { -- cgit v1.2.3-59-g8ed1b