Skip to content

Commit

Permalink
⬆️ Update to Skia m122 (#2111)
Browse files Browse the repository at this point in the history
  • Loading branch information
wcandillon authored Jan 24, 2024
1 parent 92e6bc9 commit f3042c3
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 72 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[submodule "externals/skia"]
path = externals/skia
url = https://chromium.googlesource.com/skia/
branch = chrome/m119
branch = chrome/m122
[submodule "externals/depot_tools"]
path = externals/depot_tools
url = https://chromium.googlesource.com/chromium/tools/depot_tools.git
2 changes: 1 addition & 1 deletion externals/depot_tools
Submodule depot_tools updated from 911ccd to 097edb
2 changes: 1 addition & 1 deletion externals/skia
Submodule skia updated from 89907a to c3fedd
48 changes: 0 additions & 48 deletions scripts/build-libgrapheme-ios.ts

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/build-skia-ios-framework.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ configurations.ios.outputNames.forEach((out) => {
);
});

console.log("Frameworks successfully built.");
console.log("Frameworks successfully built.");
9 changes: 0 additions & 9 deletions scripts/build-skia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,15 +189,6 @@ try {
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}`);
platform.dependencies.forEach((dep) => {
console.log(`Running dependency ${dep.name}`);
dep.executable();
});
}

try {
// Configure the platform
if (!configurePlatform(SelectedPlatform, SelectedTarget)) {
Expand Down
12 changes: 1 addition & 11 deletions scripts/skia-configuration.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import { buildLibGraphemeiOS } from "./build-libgrapheme-ios";
import { executeCmdSync } from "./utils";

const NdkDir: string = process.env.ANDROID_NDK ?? "";

export const BUILD_WITH_PARAGRAPH = true;
Expand Down Expand Up @@ -73,7 +70,6 @@ export type Platform = {
outputRoot: string;
outputNames: string[];
options?: Arg[];
dependencies?: { name: string; executable: () => void }[];
};

export const configurations: Configuration = {
Expand Down Expand Up @@ -163,12 +159,6 @@ export const configurations: Configuration = {
"libskottie.a",
"libsksg.a",
...ParagraphOutputs,
],
dependencies: [
{
name: "libgrapheme",
executable: buildLibGraphemeiOS,
},
],
]
},
};

0 comments on commit f3042c3

Please sign in to comment.