Skip to content

Commit deb1d96

Browse files
authored
Merge pull request #80199 from etcwilde/ewilde/remove-ninja-host
[build-script] Remove ninja host
2 parents be670da + bafbfa2 commit deb1d96

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

utils/swift_build_support/swift_build_support/products/ninja.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def is_before_build_script_impl_product(cls):
3434
return False
3535

3636
@classmethod
37-
def new_builder(cls, args, toolchain, workspace, host):
37+
def new_builder(cls, args, toolchain, workspace):
3838
return NinjaBuilder(cls, args, toolchain, workspace)
3939

4040

utils/swift_build_support/tests/products/test_ninja.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@ def test_ninja_bin_path(self):
7070
ninja_build = Ninja.new_builder(
7171
args=self.args,
7272
toolchain=self.toolchain,
73-
workspace=self.workspace,
74-
host=self.host)
73+
workspace=self.workspace)
7574

7675
self.assertEqual(ninja_build.ninja_bin_path,
7776
os.path.join(
@@ -82,8 +81,7 @@ def test_build(self):
8281
ninja_build = Ninja.new_builder(
8382
args=self.args,
8483
toolchain=self.toolchain,
85-
workspace=self.workspace,
86-
host=self.host)
84+
workspace=self.workspace)
8785

8886
ninja_build.build()
8987

0 commit comments

Comments
 (0)