commit | b3a0bff47dd81073bfe67a402971bad92e4f2423 | [log] [tgz] |
---|---|---|
author | danakj <danakj@chromium.org> | Wed Jun 05 13:02:21 2024 -0400 |
committer | GN LUCI <gn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 06 01:25:53 2024 +0000 |
tree | 1a8a0029462b8f6d908bbd9b72bfaa279497a7ca | |
parent | 0fc01ef5fab9fe86d47ee73524c297b6768b59fc [diff] |
Fix expectations in NinjaRustBinaryTargetWriterTest.SwiftModule The change in https://gn-review.googlesource.com/c/gn/+/17300 removed native dependencies from the library search paths. But the SwiftModule test landed around the same time and did not get that change included in its expectations. Update the test to match what GN does now. Bug: 370 Change-Id: I9934965641e66201a1eabb8ec37644d7f8cf4d09 Reviewed-on: https://gn-review.googlesource.com/c/gn/+/17340 Reviewed-by: Takuto Ikuta <tikuta@google.com> Reviewed-by: Dana Jansens <danakj@google.com> Commit-Queue: Takuto Ikuta <tikuta@google.com>
diff --git a/src/gn/ninja_rust_binary_target_writer_unittest.cc b/src/gn/ninja_rust_binary_target_writer_unittest.cc index 921580c..65be062 100644 --- a/src/gn/ninja_rust_binary_target_writer_unittest.cc +++ b/src/gn/ninja_rust_binary_target_writer_unittest.cc
@@ -2076,7 +2076,7 @@ " source_file_part = exe.rs\n" " source_name_part = exe\n" " externs =\n" - " rustdeps = -Lnative=obj/foo -Clink-arg=-Bdynamic " + " rustdeps = -Clink-arg=-Bdynamic " "-Clink-arg=obj/foo/file1.o -Clink-arg=obj/foo/file2.o " "-Clink-arg=-swiftmodule=obj/foo/Foo.swiftmodule\n" " ldflags =\n"