diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bced813..2dabafc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ on: default: 'false' env: - version: m126-1d69d9b-1 + version: m126-1d69d9b-2 jobs: macos: diff --git a/README.md b/README.md index e3c2e3a..aeb2122 100644 --- a/README.md +++ b/README.md @@ -16,15 +16,15 @@ Prebuilt binaries can be found [in releases](https://github.com/JetBrains/skia-p ## Building locally ```sh -python3 script/checkout.py --version m126-1d69d9b-1 +python3 script/checkout.py --version m126-1d69d9b-2 python3 script/build.py -python3 script/archive.py --version m126-1d69d9b-1 +python3 script/archive.py --version m126-1d69d9b-2 ``` To build a debug build: ```sh -python3 script/checkout.py --version m126-1d69d9b-1 +python3 script/checkout.py --version m126-1d69d9b-2 python3 script/build.py --build-type Debug -python3 script/archive.py --version m126-1d69d9b-1 --build-type Debug +python3 script/archive.py --version m126-1d69d9b-2 --build-type Debug ``` diff --git a/script/build.py b/script/build.py index 1687a42..dbdcdd4 100755 --- a/script/build.py +++ b/script/build.py @@ -18,6 +18,7 @@ def main(): isTvos = 'tvos' == target or 'tvosSim' == target isIosSim = 'iosSim' == target isTvosSim = 'tvosSim' == target + isMacos = 'macos' == target if build_type == 'Debug': args = ['is_debug=true'] @@ -39,7 +40,9 @@ def main(): 'skia_enable_skottie=true' ] - if 'macos' == target or isIos or isTvos: + if isMacos or isIos or isTvos: + if isMacos: + args += ['skia_use_fonthost_mac=true'] args += ['extra_cflags_cc=["-frtti"]'] args += ['skia_use_metal=true'] if isIos: