Index: tools/gn/ninja_copy_target_writer_unittest.cc |
diff --git a/tools/gn/ninja_copy_target_writer_unittest.cc b/tools/gn/ninja_copy_target_writer_unittest.cc |
index 12496bf0f82ba0c7faba18242664eaa7bbcd821f..e6ec2225dff2838527bdd65e5881a7dafb8805d4 100644 |
--- a/tools/gn/ninja_copy_target_writer_unittest.cc |
+++ b/tools/gn/ninja_copy_target_writer_unittest.cc |
@@ -15,7 +15,6 @@ TEST(NinjaCopyTargetWriter, Run) { |
TestWithScope setup; |
Err err; |
- setup.settings()->set_target_os(Settings::LINUX); |
setup.build_settings()->SetBuildDir(SourceDir("//out/Debug/")); |
Target target(setup.settings(), Label(SourceDir("//foo/"), "bar")); |
target.set_output_type(Target::COPY_FILES); |
@@ -47,7 +46,6 @@ TEST(NinjaCopyTargetWriter, ToolchainDeps) { |
TestWithScope setup; |
Err err; |
- setup.settings()->set_target_os(Settings::LINUX); |
setup.build_settings()->SetBuildDir(SourceDir("//out/Debug/")); |
Target target(setup.settings(), Label(SourceDir("//foo/"), "bar")); |
target.set_output_type(Target::COPY_FILES); |
@@ -76,7 +74,6 @@ TEST(NinjaCopyTargetWriter, OrderOnlyDeps) { |
TestWithScope setup; |
Err err; |
- setup.settings()->set_target_os(Settings::LINUX); |
setup.build_settings()->SetBuildDir(SourceDir("//out/Debug/")); |
Target target(setup.settings(), Label(SourceDir("//foo/"), "bar")); |