File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,6 @@ Object.keys(configuration.targets).forEach((targetKey) => {
11
11
`yarn ts-node ./scripts/build-skia.ts ios ${ targetKey } ` ;
12
12
} ) ;
13
13
14
- // Generate libgrapheme headers
15
- const currentDir = process . cwd ( ) ;
16
- const libgraphemeDir = `${ currentDir } /externals/skia/third_party/externals/libgrapheme` ;
17
- console . log ( { currentDir, libgraphemeDir } ) ;
18
- console . log ( "Generating libgrapheme headers..." ) ;
19
- executeCmdSync ( `cd ${ libgraphemeDir } && ./configure && make` ) ;
20
14
console . log ( "Building skia for iOS..." ) ;
21
15
executeCmd ( command , "iOS" , ( ) => {
22
16
console . log ( `Done building skia for iOS.` ) ;
Original file line number Diff line number Diff line change @@ -190,6 +190,13 @@ try {
190
190
executeCmdSync ( "PATH=../depot_tools/:$PATH python3 tools/git-sync-deps" ) ;
191
191
console . log ( "gclient sync done" ) ;
192
192
193
+
194
+ // Generate libgrapheme headers
195
+ process . chdir ( SkiaDir ) ;
196
+ const libgraphemeDir = `./externals/skia/third_party/externals/libgrapheme` ;
197
+ console . log ( "Generating libgrapheme headers..." ) ;
198
+ executeCmdSync ( `cd ${ libgraphemeDir } && ./configure && make` ) ;
199
+
193
200
try {
194
201
// Configure the platform
195
202
if ( ! configurePlatform ( SelectedPlatform , SelectedTarget ) ) {
You can’t perform that action at this time.
0 commit comments