Start organizing platform-specific Python code

This starts to split platform-specific Python code into its own module,
which should help to tidy up our mach commands and make things more
reusable.
This commit is contained in:
Martin Robinson 2023-05-18 15:09:30 +02:00
parent e09f85e17b
commit 5be14ecc3c
14 changed files with 462 additions and 405 deletions

View file

@ -40,7 +40,7 @@ from servo.command_base import (
call, check_call, check_output,
)
from servo_tidy_tests import test_tidy
from servo.util import host_triple
from servo.platform import host_triple
SCRIPT_PATH = os.path.split(__file__)[0]
PROJECT_TOPLEVEL_PATH = os.path.abspath(os.path.join(SCRIPT_PATH, "..", ".."))