diff --git a/scripts/build-skia.ts b/scripts/build-skia.ts index 43a18464b4..c5a3a72216 100644 --- a/scripts/build-skia.ts +++ b/scripts/build-skia.ts @@ -182,6 +182,13 @@ try { exit(1); } + // Run glient sync + console.log("Running gclient sync..."); + + // Start by running sync + executeCmdSync("PATH=../depot_tools/:$PATH python3 tools/git-sync-deps"); + console.log("gclient sync done"); + // lets check for any dependencies if (platform.dependencies) { console.log(`Found dependencies for platform ${SelectedPlatform}`); @@ -191,13 +198,6 @@ try { }); } - // Run glient sync - console.log("Running gclient sync..."); - - // Start by running sync - executeCmdSync("PATH=../depot_tools/:$PATH python3 tools/git-sync-deps"); - console.log("gclient sync done"); - try { // Configure the platform if (!configurePlatform(SelectedPlatform, SelectedTarget)) {