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 --- apex/apex_test.go | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'apex/apex_test.go') diff --git a/apex/apex_test.go b/apex/apex_test.go index a5b66c10e..ffd0606e3 100644 --- a/apex/apex_test.go +++ b/apex/apex_test.go @@ -10822,15 +10822,6 @@ func TestAconfigFilesRustDeps(t *testing.T) { updatable: false, } - rust_library { - name: "libflags_rust", // test mock - crate_name: "flags_rust", - srcs: ["lib.rs"], - apex_available: [ - "myapex", - ], - } - rust_library { name: "liblazy_static", // test mock crate_name: "lazy_static", @@ -10951,8 +10942,8 @@ func TestAconfigFilesRustDeps(t *testing.T) { mod := ctx.ModuleForTests("myapex", "android_common_myapex") s := mod.Rule("apexRule").Args["copy_commands"] copyCmds := regexp.MustCompile(" *&& *").Split(s, -1) - if len(copyCmds) != 34 { - t.Fatalf("Expected 34 commands, got %d in:\n%s", len(copyCmds), s) + if len(copyCmds) != 32 { + t.Fatalf("Expected 32 commands, got %d in:\n%s", len(copyCmds), s) } ensureListContainsMatch(t, copyCmds, "^cp -f .*/aconfig_flags.pb .*/image.apex/etc/aconfig_flags.pb") -- cgit v1.2.3-59-g8ed1b