summaryrefslogtreecommitdiff
path: root/filesystem/filesystem_test.go
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-04-17 22:37:56 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-04-17 22:37:56 +0000
commite25cc5c909783750d86f6ae91b8a170fb5dfc5b1 (patch)
treec159e17a4524c8448eb296a9064ec856187d8ddc /filesystem/filesystem_test.go
parent7bfe1377af668a4461cee6e8d77036bb5e597b05 (diff)
parentf21dd65c0836d3505425485eee522337c30fcf5d (diff)
Merge "Revert^2 "Use Module interface in addRequiredDeps"" into main
Diffstat (limited to 'filesystem/filesystem_test.go')
-rw-r--r--filesystem/filesystem_test.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/filesystem/filesystem_test.go b/filesystem/filesystem_test.go
index f4ecad46c..3a5071d34 100644
--- a/filesystem/filesystem_test.go
+++ b/filesystem/filesystem_test.go
@@ -84,12 +84,21 @@ func TestFileSystemDeps(t *testing.T) {
cc_library {
name: "libbar",
required: ["libbaz"],
+ target: {
+ platform: {
+ required: ["lib_platform_only"],
+ },
+ },
}
cc_library {
name: "libbaz",
}
+ cc_library {
+ name: "lib_platform_only",
+ }
+
phony {
name: "phony",
required: [
@@ -120,6 +129,7 @@ func TestFileSystemDeps(t *testing.T) {
"lib64/libbar.so",
"lib64/libbaz.so",
"lib64/libquz.so",
+ "lib64/lib_platform_only.so",
"etc/bpf/bpf.o",
}
for _, e := range expected {