summaryrefslogtreecommitdiff
path: root/apex/apex_test.go
diff options
context:
space:
mode:
author Dennis Shen <dzshen@google.com> 2025-02-04 10:27:43 -0800
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-02-04 10:27:43 -0800
commitd945d131c7f7a350cd79e0a46fcb080fa15c131b (patch)
tree60c727c192ca3da1796bc728d9e68082da70fbb8 /apex/apex_test.go
parentd1516588b2cc78d6f333fc9e80e9cafe1d5bbaf1 (diff)
parent396237addc0351530f0dee38291a3bc483e327bc (diff)
Merge "Soong: remove codegen instrumentation" into main
Diffstat (limited to 'apex/apex_test.go')
-rw-r--r--apex/apex_test.go13
1 files changed, 2 insertions, 11 deletions
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
@@ -10823,15 +10823,6 @@ func TestAconfigFilesRustDeps(t *testing.T) {
}
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",
srcs: ["src/lib.rs"],
@@ -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")