summaryrefslogtreecommitdiff
path: root/src/buildstream/_platform/darwin.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/_platform/darwin.py')
-rw-r--r--src/buildstream/_platform/darwin.py36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/buildstream/_platform/darwin.py b/src/buildstream/_platform/darwin.py
deleted file mode 100644
index 00bca2c4c..000000000
--- a/src/buildstream/_platform/darwin.py
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# Copyright (C) 2017 Codethink Limited
-# Copyright (C) 2018 Bloomberg Finance LP
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library. If not, see <http://www.gnu.org/licenses/>.
-
-from ..sandbox import SandboxDummy
-
-from .platform import Platform
-
-
-class Darwin(Platform):
- @staticmethod
- def _check_dummy_sandbox_config(config):
- pass
-
- @staticmethod
- def _create_dummy_sandbox(*args, **kwargs):
- kwargs["dummy_reason"] = "There are no supported sandbox technologies for MacOS at this time"
- return SandboxDummy(*args, **kwargs)
-
- def _setup_dummy_sandbox(self):
- self.check_sandbox_config = Darwin._check_dummy_sandbox_config
- self.create_sandbox = Darwin._create_dummy_sandbox
- return True