Skip to content

Commit 277a16c

Browse files
committed
💄
1 parent 662a0f0 commit 277a16c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

scripts/build-skia-ios.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { executeCmd, executeCmdSync } from "./utils";
33

44
const configuration = configurations.ios;
55

6-
console.log("Building skia for iOS...");
76
let command = "";
87

98
Object.keys(configuration.targets).forEach((targetKey) => {
@@ -13,9 +12,12 @@ Object.keys(configuration.targets).forEach((targetKey) => {
1312
});
1413

1514
// Generate libgrapheme headers
16-
const libgraphemeDir = "./externals/skia/third_party/externals/libgrapheme";
15+
const currentDir = process.cwd();
16+
const libgraphemeDir = `${currentDir}/externals/skia/third_party/externals/libgrapheme`;
1717

18+
console.log("Generating libgrapheme headers...");
1819
executeCmdSync(`cd ${libgraphemeDir} && ./configure && make`);
20+
console.log("Building skia for iOS...");
1921
executeCmd(command, "iOS", () => {
2022
console.log(`Done building skia for iOS.`);
2123
});

scripts/skia-configuration.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const ParagraphArgsIOS = BUILD_WITH_PARAGRAPH
2727
? [
2828
...CommonParagraphArgs,
2929
["skia_use_icu", false],
30+
["skia_use_client_icu", false],
3031
["skia_use_libgrapheme", true],
3132
]
3233
: NoParagraphArgs;

0 commit comments

Comments
 (0)