peachsim 0.1.2768 → 0.1.2769
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +2 -2
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +5 -5
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +3 -3
- package/dist-lib/bundle-channel.cjs +351 -77
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +3 -3
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +3 -3
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +2 -2
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +7 -7
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +5 -5
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-4DR5UGFN.mjs → acorn-GNB3RJH7.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-NNHQMYXA.mjs → chunk-3WG4L5YK.mjs} +372 -106
- package/dist-lib/esm-chunks/{chunk-PYVRYHRN.mjs → chunk-3ZKE33FC.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-FSZC4K7L.mjs → chunk-4GHACZYW.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-LW6EFCKB.mjs → chunk-4IJOKKT2.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-MC3T7WXI.mjs → chunk-53WFZATQ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-LDBKSWMK.mjs → chunk-57JPQBQL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-FM4IQKZR.mjs → chunk-ALLMPTWQ.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-EP3OX3CJ.mjs → chunk-BFLH7V77.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-TNCPRFBQ.mjs → chunk-BP7TLKZD.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-UP76RU63.mjs → chunk-ETXC2XBY.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-P4QFEMNW.mjs → chunk-GHJPVQ3A.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-K6H2SOFN.mjs → chunk-L2U2IEHU.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-OASENKSR.mjs → chunk-MBLYJ74N.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-FY6GYFKM.mjs → chunk-MGIODRG3.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-CWLOVTXX.mjs → chunk-OG5C2CN2.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-IXCYOMAY.mjs → chunk-OPIPPBGX.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-SZC5VUTW.mjs → chunk-TI42U3CD.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NRFW2S2E.mjs → chunk-TJNFADI5.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-76RJVPS6.mjs → chunk-TTVQWJGW.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-QS3CSXQR.mjs → chunk-VF3CWZTM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-LMELFNFT.mjs → chunk-WWANYYJG.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-SBIBHVCU.mjs → chunk-XX7VUACB.mjs} +26 -13
- package/dist-lib/esm-chunks/{chunk-6FVNWSDJ.mjs → chunk-ZGNNVEWM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-IA466TSB.mjs → chunk-ZLYAJ4CU.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-4TX56S4G.mjs → metro-layout-parser-LT2DPN6F.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-7PIYWUST.mjs → swift-package-prebuilt-ZFFWBI33.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-7NOBYKIE.mjs → swift-sdk-app-module-UZ6BZSES.mjs} +22 -17
- package/dist-lib/esm-chunks/{swift-sdk-image-FTSV6Y6Y.mjs → swift-sdk-image-J2DE3SBW.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-TDBFULDN.mjs → swift-sdk-image-producer-C4U4EQRW.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +351 -77
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +7 -7
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +351 -77
- package/dist-lib/host/fetch-proxy-handler.cjs +24 -20
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +3 -3
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +3 -3
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +4 -4
- package/dist-lib/native-app-identity-project.cjs +1 -1
- package/dist-lib/native-app-identity-project.mjs +15 -15
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +6 -6
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +3 -3
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +2 -2
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +3 -3
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +85 -85
- package/dist-lib/public-origins-lib.json +64 -64
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +2 -2
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +8 -8
- package/dist-lib/skills.cjs +351 -77
- package/dist-lib/swift-compile.cjs +331 -57
- package/dist-lib/swift-compile.mjs +12 -12
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +3 -3
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +6 -6
- package/dist-lib/swift-svg-raster.cjs +1 -1
- package/dist-lib/swift-svg-raster.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/magic-string.cjs +1 -1
- package/dist-lib/vendor/stream-json.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
- package/dist-lib/vendor/sucrase.cjs +1 -1
- package/dist-lib/vendor/terser.cjs +1 -1
- package/dist-lib/vendor/valibot.cjs +1 -1
- package/dist-lib/vendor/ws.cjs +1 -1
- package/dist-lib/vendor/zod.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +3 -3
- package/dist-types/packages/peach-engine/src/render-worker/aux-pointer-native.d.ts +4 -0
- package/dist-types/packages/peach-engine/src/render-worker/auxPointerContract.d.ts +4 -0
- package/package.json +1 -1
- package/src/case-insensitive-header-overlay.ts +9 -1
- package/src/native-static-libraries.ts +16 -16
- package/src/swift-compile.ts +158 -42
- package/src/swift-distribution-mirror.ts +273 -10
- package/src/swift-objc-prebuilt.ts +10 -1
- package/src/swift-objc-standin.ts +6 -1
- package/src/swift-sdk-app-module.ts +10 -3
- package/src/swift-sdk-surface.ts +5 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2769 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -6177,7 +6177,7 @@ var init_swift_objc_sdk_tree = __esm({
|
|
|
6177
6177
|
|
|
6178
6178
|
// src/swift-compiler-digest.ts
|
|
6179
6179
|
function swiftArchiveCompilerDigestValue() {
|
|
6180
|
-
return true ? "
|
|
6180
|
+
return true ? "8b191a8fe01f7c85c340f8260c13e9935003dc8380f94603ae47599ba67822f9" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
|
|
6181
6181
|
}
|
|
6182
6182
|
var import_node_crypto10, import_node_fs25, import_node_path25, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
|
|
6183
6183
|
var init_swift_compiler_digest = __esm({
|
|
@@ -6323,13 +6323,13 @@ var init_swift_standin_digest = __esm({
|
|
|
6323
6323
|
];
|
|
6324
6324
|
RUNTIME_IMPORT = /(?:^|[;\n])[ \t]*(?:import|export)\s+(?!type(?:\s|\{))([\s\S]*?)\s+from\s*['"]([^'"]+)['"]|(?:^|[;\n])[ \t]*import\s+['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
6325
6325
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS, STANDIN_DIGEST_EXCLUDED_FILES);
|
|
6326
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
6326
|
+
STANDIN_SOURCE_DIGEST = true ? "46bd6373b813f44d3e812af83162f521ce032cba6bade9039bbb107120481dc5" : standinSourceDigest();
|
|
6327
6327
|
}
|
|
6328
6328
|
});
|
|
6329
6329
|
|
|
6330
6330
|
// src/expo-native-compiler-digest.ts
|
|
6331
6331
|
function expoNativeCompilerDigestValue() {
|
|
6332
|
-
return true ? "
|
|
6332
|
+
return true ? "3e260e6c7ef7597f483e25b974f3331143db4576ba153a8f6a7fa5912b7f12b4" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
6333
6333
|
}
|
|
6334
6334
|
var import_node_crypto12;
|
|
6335
6335
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -16704,7 +16704,12 @@ function contents(node) {
|
|
|
16704
16704
|
}))
|
|
16705
16705
|
];
|
|
16706
16706
|
}
|
|
16707
|
-
function
|
|
16707
|
+
function clearCaseInsensitiveHeaderOverlayCache(rootPrefix) {
|
|
16708
|
+
const prefix = `${rootPrefix}${import_node_path37.default.sep}`;
|
|
16709
|
+
for (const key2 of scans.keys())
|
|
16710
|
+
if (key2 === rootPrefix || key2.startsWith(prefix)) scans.delete(key2);
|
|
16711
|
+
}
|
|
16712
|
+
function caseInsensitiveHeaderOverlay(directory2, roots, listed, fixedName) {
|
|
16708
16713
|
let known = scans;
|
|
16709
16714
|
if (listed) {
|
|
16710
16715
|
known = listedScans.get(listed) ?? /* @__PURE__ */ new Map();
|
|
@@ -16725,7 +16730,7 @@ function caseInsensitiveHeaderOverlay(directory2, roots, listed) {
|
|
|
16725
16730
|
const text7 = JSON.stringify({ "case-sensitive": "false", roots: roots_, version: 0 });
|
|
16726
16731
|
const file = import_node_path37.default.join(
|
|
16727
16732
|
directory2,
|
|
16728
|
-
`case-insensitive-${(0, import_node_crypto21.createHash)("sha256").update(text7).digest("hex").slice(0, 16)}.yaml`
|
|
16733
|
+
fixedName ?? `case-insensitive-${(0, import_node_crypto21.createHash)("sha256").update(text7).digest("hex").slice(0, 16)}.yaml`
|
|
16729
16734
|
);
|
|
16730
16735
|
writeBuildFile(file, text7);
|
|
16731
16736
|
return file;
|
|
@@ -19311,15 +19316,17 @@ function materializeObjcSdk(cacheDir6) {
|
|
|
19311
19316
|
}
|
|
19312
19317
|
return sdk2;
|
|
19313
19318
|
}
|
|
19314
|
-
function objcSdkIntakeFlags(headers, toolchainBin, minimum) {
|
|
19319
|
+
function objcSdkIntakeFlags(headers, toolchainBin, minimum, overlayDirectory) {
|
|
19315
19320
|
const caseOverlay = caseInsensitiveHeaderOverlay(
|
|
19316
|
-
import_node_path40.default.join(swiftCacheDir(), "swift-header-case"),
|
|
19321
|
+
overlayDirectory ?? import_node_path40.default.join(swiftCacheDir(), "swift-header-case"),
|
|
19317
19322
|
[
|
|
19318
19323
|
import_node_path40.default.join(headers, "System/Library/Frameworks"),
|
|
19319
19324
|
import_node_path40.default.join(headers, "wasm/include"),
|
|
19320
19325
|
import_node_path40.default.join(headers, "wasm/intrinsics"),
|
|
19321
19326
|
import_node_path40.default.join(headers, "usr/include")
|
|
19322
|
-
]
|
|
19327
|
+
],
|
|
19328
|
+
void 0,
|
|
19329
|
+
overlayDirectory ? SWIFT_SDK_HEADER_CASE_OVERLAY : void 0
|
|
19323
19330
|
);
|
|
19324
19331
|
return [
|
|
19325
19332
|
...swiftObjCPlatformFlags(toolchainBin, minimum),
|
|
@@ -20396,7 +20403,7 @@ function constantValue(node) {
|
|
|
20396
20403
|
}
|
|
20397
20404
|
return null;
|
|
20398
20405
|
}
|
|
20399
|
-
var import_node_child_process15, import_node_crypto22, import_node_fs39, import_node_path40, REFINED_CONSTANT_TYPES, NATIVE_GRAPH_SDK_VERSION, WASI_EMULATION, WASI_EMULATION_FLAGS, NATIVE_GRAPH_INPUTS, NATIVE_GRAPH_ID, resolvedPinnedSdk, ROUNDS, sdkId, headerFiles2, MISSING_IMPORT, FRAMEWORK_HEADER, FRAMEWORK_MODULEMAP, sdkDeclarations;
|
|
20406
|
+
var import_node_child_process15, import_node_crypto22, import_node_fs39, import_node_path40, REFINED_CONSTANT_TYPES, NATIVE_GRAPH_SDK_VERSION, WASI_EMULATION, WASI_EMULATION_FLAGS, NATIVE_GRAPH_INPUTS, NATIVE_GRAPH_ID, resolvedPinnedSdk, ROUNDS, sdkId, SWIFT_SDK_HEADER_CASE_OVERLAY, headerFiles2, MISSING_IMPORT, FRAMEWORK_HEADER, FRAMEWORK_MODULEMAP, sdkDeclarations;
|
|
20400
20407
|
var init_swift_objc_standin = __esm({
|
|
20401
20408
|
"src/swift-objc-standin.ts"() {
|
|
20402
20409
|
"use strict";
|
|
@@ -20437,6 +20444,7 @@ var init_swift_objc_standin = __esm({
|
|
|
20437
20444
|
};
|
|
20438
20445
|
NATIVE_GRAPH_ID = (0, import_node_crypto22.createHash)("sha256").update(JSON.stringify(NATIVE_GRAPH_INPUTS)).digest("hex");
|
|
20439
20446
|
ROUNDS = 12;
|
|
20447
|
+
SWIFT_SDK_HEADER_CASE_OVERLAY = "sdk-header-case.yaml";
|
|
20440
20448
|
headerFiles2 = (dir) => import_node_fs39.default.readdirSync(dir, { recursive: true, encoding: "utf8" }).filter((file) => file.endsWith(".h") || file.endsWith(".hh")).sort();
|
|
20441
20449
|
MISSING_IMPORT = "#import <PeachMissing/PeachMissing.h>\n";
|
|
20442
20450
|
FRAMEWORK_HEADER = /^System\/Library\/Frameworks\/([^/]+)\.framework\/Headers\/(.+)$/;
|
|
@@ -28382,9 +28390,175 @@ function syncSwiftDistributionMirror(root, source, manifest) {
|
|
|
28382
28390
|
const partial = `${record6}.${(0, import_node_crypto29.randomUUID)()}`;
|
|
28383
28391
|
(0, import_node_fs55.writeFileSync)(partial, JSON.stringify(manifest.files));
|
|
28384
28392
|
(0, import_node_fs55.renameSync)(partial, record6);
|
|
28393
|
+
if ([...changed2, ...removed].some(
|
|
28394
|
+
(file) => !file.startsWith("lib/") && !file.startsWith("modules/")
|
|
28395
|
+
)) {
|
|
28396
|
+
clearCaseInsensitiveHeaderOverlayCache(mirror);
|
|
28397
|
+
clearCaseInsensitiveHeaderOverlayCache(import_node_path55.default.join(root, SWIFT_SDK_MIRROR));
|
|
28398
|
+
}
|
|
28385
28399
|
}
|
|
28386
28400
|
return mirror;
|
|
28387
28401
|
}
|
|
28402
|
+
function syncSwiftSdkMirror(root, frameworkRoot, toolchainBin, sourceSdkId) {
|
|
28403
|
+
const viewOptions = swiftSharedSdkViewOptions(
|
|
28404
|
+
frameworkRoot,
|
|
28405
|
+
true,
|
|
28406
|
+
toolchainBin,
|
|
28407
|
+
sourceSdkId
|
|
28408
|
+
);
|
|
28409
|
+
const sourceView = viewOptions[1];
|
|
28410
|
+
return syncSwiftSdkMirrorFromView(root, frameworkRoot, sourceView, sourceSdkId);
|
|
28411
|
+
}
|
|
28412
|
+
function syncSwiftSdkMirrorFromView(root, frameworkRoot, sourceView, sourceSdkId) {
|
|
28413
|
+
const mirror = import_node_path55.default.join(root, SWIFT_SDK_MIRROR);
|
|
28414
|
+
const bundle = import_node_path55.default.join(mirror, SWIFT_SDK_MIRROR_BUNDLE);
|
|
28415
|
+
const destTriple = import_node_path55.default.join(bundle, "sdk", SWIFT_WASM_TRIPLE);
|
|
28416
|
+
const bundleInfo = import_node_path55.default.join(bundle, "info.json");
|
|
28417
|
+
const recordFile = import_node_path55.default.join(mirror, SWIFT_SDK_MIRROR_RECORD);
|
|
28418
|
+
const options2 = ["--swift-sdks-path", mirror];
|
|
28419
|
+
const previous = readSdkRecord(recordFile);
|
|
28420
|
+
if (previous && previous.sourceView === sourceView && previous.sourceSdkId === sourceSdkId && (0, import_node_fs55.existsSync)(bundleInfo) && (0, import_node_fs55.existsSync)(import_node_path55.default.join(destTriple, "swift-sdk.json"))) {
|
|
28421
|
+
return { id: SWIFT_SDK_MIRROR_ID, options: options2, toolsetChanged: false };
|
|
28422
|
+
}
|
|
28423
|
+
const sourceTriple = resolveSdkViewTripleDir(sourceView, sourceSdkId);
|
|
28424
|
+
if (!previous) {
|
|
28425
|
+
(0, import_node_fs55.rmSync)(mirror, { recursive: true, force: true });
|
|
28426
|
+
(0, import_node_fs55.rmSync)(import_node_path55.default.join(root, ".build"), { recursive: true, force: true });
|
|
28427
|
+
}
|
|
28428
|
+
const changed2 = [];
|
|
28429
|
+
const removed = [];
|
|
28430
|
+
const distributionPrefix = `${frameworkRoot}${import_node_path55.default.sep}`;
|
|
28431
|
+
syncSdkTree(sourceTriple, destTriple, "", distributionPrefix, changed2, removed);
|
|
28432
|
+
const infoText = JSON.stringify(
|
|
28433
|
+
{
|
|
28434
|
+
artifacts: {
|
|
28435
|
+
[SWIFT_SDK_MIRROR_ID]: {
|
|
28436
|
+
type: "swiftSDK",
|
|
28437
|
+
variants: [{ path: `sdk/${SWIFT_WASM_TRIPLE}/swift-sdk.json` }],
|
|
28438
|
+
version: "0.0.1"
|
|
28439
|
+
}
|
|
28440
|
+
},
|
|
28441
|
+
schemaVersion: "1.0"
|
|
28442
|
+
},
|
|
28443
|
+
null,
|
|
28444
|
+
2
|
|
28445
|
+
) + "\n";
|
|
28446
|
+
if (!(0, import_node_fs55.existsSync)(bundleInfo) || (0, import_node_fs55.readFileSync)(bundleInfo, "utf8") !== infoText) {
|
|
28447
|
+
(0, import_node_fs55.mkdirSync)(bundle, { recursive: true });
|
|
28448
|
+
const partial = `${bundleInfo}.${(0, import_node_crypto29.randomUUID)()}`;
|
|
28449
|
+
(0, import_node_fs55.writeFileSync)(partial, infoText);
|
|
28450
|
+
(0, import_node_fs55.renameSync)(partial, bundleInfo);
|
|
28451
|
+
}
|
|
28452
|
+
const touched = [...changed2, ...removed];
|
|
28453
|
+
const toolsetChanged = !previous || touched.some(
|
|
28454
|
+
(file) => file === "toolset.json" || file === "swift-sdk.json" || file.startsWith("swift.xctoolchain/usr/bin/")
|
|
28455
|
+
);
|
|
28456
|
+
if (previous) {
|
|
28457
|
+
if (toolsetChanged) {
|
|
28458
|
+
(0, import_node_fs55.rmSync)(import_node_path55.default.join(root, ".build"), { recursive: true, force: true });
|
|
28459
|
+
} else {
|
|
28460
|
+
const compileTouched = touched.filter(
|
|
28461
|
+
(file) => !file.endsWith(".a") && !file.endsWith(".o") && !file.startsWith("rust/") && file !== "runtime-products.json"
|
|
28462
|
+
);
|
|
28463
|
+
const headersChanged = compileTouched.some(
|
|
28464
|
+
(file) => !file.endsWith(".swiftmodule") && !file.endsWith(".swiftdoc") && !file.endsWith(".swiftsourceinfo") && !file.endsWith(".abi.json")
|
|
28465
|
+
);
|
|
28466
|
+
if (compileTouched.length > 0) {
|
|
28467
|
+
invalidateBuildDependents(
|
|
28468
|
+
root,
|
|
28469
|
+
[[Buffer.from(`${escapeDepPath(destTriple)}/`), ""]],
|
|
28470
|
+
new Set(compileTouched),
|
|
28471
|
+
headersChanged
|
|
28472
|
+
);
|
|
28473
|
+
}
|
|
28474
|
+
if (headersChanged) clearCaseInsensitiveHeaderOverlayCache(mirror);
|
|
28475
|
+
}
|
|
28476
|
+
} else {
|
|
28477
|
+
clearCaseInsensitiveHeaderOverlayCache(mirror);
|
|
28478
|
+
}
|
|
28479
|
+
(0, import_node_fs55.mkdirSync)(mirror, { recursive: true });
|
|
28480
|
+
const partialRecord = `${recordFile}.${(0, import_node_crypto29.randomUUID)()}`;
|
|
28481
|
+
(0, import_node_fs55.writeFileSync)(partialRecord, JSON.stringify({ version: 1, sourceView, sourceSdkId }));
|
|
28482
|
+
(0, import_node_fs55.renameSync)(partialRecord, recordFile);
|
|
28483
|
+
return { id: SWIFT_SDK_MIRROR_ID, options: options2, toolsetChanged };
|
|
28484
|
+
}
|
|
28485
|
+
function readSdkRecord(file) {
|
|
28486
|
+
if (!(0, import_node_fs55.existsSync)(file)) return null;
|
|
28487
|
+
const value = JSON.parse((0, import_node_fs55.readFileSync)(file, "utf8"));
|
|
28488
|
+
if (!isRecord(value) || value.version !== 1 || typeof value.sourceView !== "string" || typeof value.sourceSdkId !== "string")
|
|
28489
|
+
return null;
|
|
28490
|
+
return {
|
|
28491
|
+
version: value.version,
|
|
28492
|
+
sourceView: value.sourceView,
|
|
28493
|
+
sourceSdkId: value.sourceSdkId
|
|
28494
|
+
};
|
|
28495
|
+
}
|
|
28496
|
+
function resolveSdkViewTripleDir(sourceView, sourceSdkId) {
|
|
28497
|
+
for (const entry of (0, import_node_fs55.readdirSync)(sourceView, { withFileTypes: true })) {
|
|
28498
|
+
if (!entry.name.endsWith(".artifactbundle")) continue;
|
|
28499
|
+
const bundleDir = import_node_path55.default.join(sourceView, entry.name);
|
|
28500
|
+
const infoPath = import_node_path55.default.join(bundleDir, "info.json");
|
|
28501
|
+
if (!(0, import_node_fs55.existsSync)(infoPath)) continue;
|
|
28502
|
+
const info = JSON.parse((0, import_node_fs55.readFileSync)(infoPath, "utf8"));
|
|
28503
|
+
if (!isRecord(info) || !isRecord(info.artifacts)) continue;
|
|
28504
|
+
const artifact = info.artifacts[sourceSdkId];
|
|
28505
|
+
if (!isRecord(artifact) || !Array.isArray(artifact.variants)) continue;
|
|
28506
|
+
const first = artifact.variants[0];
|
|
28507
|
+
if (!isRecord(first) || typeof first.path !== "string") continue;
|
|
28508
|
+
return import_node_path55.default.dirname(import_node_path55.default.join(bundleDir, first.path));
|
|
28509
|
+
}
|
|
28510
|
+
throw new Error(`Swift SDK ${sourceSdkId} not found in view ${sourceView}`);
|
|
28511
|
+
}
|
|
28512
|
+
function collectRemovedFiles(dir, prefix, out) {
|
|
28513
|
+
for (const entry of (0, import_node_fs55.readdirSync)(dir, { withFileTypes: true })) {
|
|
28514
|
+
const rel = prefix ? `${prefix}/${entry.name}` : entry.name;
|
|
28515
|
+
const full = import_node_path55.default.join(dir, entry.name);
|
|
28516
|
+
if (entry.isDirectory()) collectRemovedFiles(full, rel, out);
|
|
28517
|
+
else out.push(rel);
|
|
28518
|
+
}
|
|
28519
|
+
}
|
|
28520
|
+
function syncSdkTree(sourceDir, destDir, prefix, distributionPrefix, changed2, removed) {
|
|
28521
|
+
(0, import_node_fs55.mkdirSync)(destDir, { recursive: true });
|
|
28522
|
+
const wanted = /* @__PURE__ */ new Set();
|
|
28523
|
+
for (const entry of (0, import_node_fs55.readdirSync)(sourceDir, { withFileTypes: true })) {
|
|
28524
|
+
wanted.add(entry.name);
|
|
28525
|
+
const rel = prefix ? `${prefix}/${entry.name}` : entry.name;
|
|
28526
|
+
const src = import_node_path55.default.join(sourceDir, entry.name);
|
|
28527
|
+
const dest = import_node_path55.default.join(destDir, entry.name);
|
|
28528
|
+
const destLstat = (0, import_node_fs55.lstatSync)(dest, { throwIfNoEntry: false });
|
|
28529
|
+
if (entry.isSymbolicLink()) {
|
|
28530
|
+
const target = (0, import_node_fs55.readlinkSync)(src);
|
|
28531
|
+
if (target.startsWith(distributionPrefix)) {
|
|
28532
|
+
if (destLstat?.isSymbolicLink() && (0, import_node_fs55.readlinkSync)(dest) === target) continue;
|
|
28533
|
+
if (destLstat) (0, import_node_fs55.rmSync)(dest, { recursive: true, force: true });
|
|
28534
|
+
(0, import_node_fs55.symlinkSync)(target, dest);
|
|
28535
|
+
changed2.push(rel);
|
|
28536
|
+
continue;
|
|
28537
|
+
}
|
|
28538
|
+
}
|
|
28539
|
+
const srcStat = (0, import_node_fs55.statSync)(src, { throwIfNoEntry: false });
|
|
28540
|
+
if (!srcStat) continue;
|
|
28541
|
+
if (srcStat.isDirectory()) {
|
|
28542
|
+
if (destLstat && (!destLstat.isDirectory() || destLstat.isSymbolicLink()))
|
|
28543
|
+
(0, import_node_fs55.rmSync)(dest, { recursive: true, force: true });
|
|
28544
|
+
syncSdkTree(src, dest, rel, distributionPrefix, changed2, removed);
|
|
28545
|
+
continue;
|
|
28546
|
+
}
|
|
28547
|
+
if (destLstat?.isFile() && !destLstat.isSymbolicLink() && destLstat.size === srcStat.size && (0, import_node_fs55.readFileSync)(src).equals((0, import_node_fs55.readFileSync)(dest)))
|
|
28548
|
+
continue;
|
|
28549
|
+
if (destLstat?.isDirectory()) (0, import_node_fs55.rmSync)(dest, { recursive: true, force: true });
|
|
28550
|
+
place(src, dest, (srcStat.mode & 73) !== 0 ? srcStat.mode & 511 : void 0);
|
|
28551
|
+
changed2.push(rel);
|
|
28552
|
+
}
|
|
28553
|
+
for (const entry of (0, import_node_fs55.readdirSync)(destDir, { withFileTypes: true })) {
|
|
28554
|
+
if (wanted.has(entry.name)) continue;
|
|
28555
|
+
const rel = prefix ? `${prefix}/${entry.name}` : entry.name;
|
|
28556
|
+
const dest = import_node_path55.default.join(destDir, entry.name);
|
|
28557
|
+
if (entry.isDirectory()) collectRemovedFiles(dest, rel, removed);
|
|
28558
|
+
else removed.push(rel);
|
|
28559
|
+
(0, import_node_fs55.rmSync)(dest, { recursive: true, force: true });
|
|
28560
|
+
}
|
|
28561
|
+
}
|
|
28388
28562
|
function readRecord(file) {
|
|
28389
28563
|
if (!(0, import_node_fs55.existsSync)(file)) return null;
|
|
28390
28564
|
const value = JSON.parse((0, import_node_fs55.readFileSync)(file, "utf8"));
|
|
@@ -28396,24 +28570,33 @@ function readRecord(file) {
|
|
|
28396
28570
|
}
|
|
28397
28571
|
return files2;
|
|
28398
28572
|
}
|
|
28399
|
-
function place(from, to) {
|
|
28573
|
+
function place(from, to, mode) {
|
|
28400
28574
|
(0, import_node_fs55.mkdirSync)(import_node_path55.default.dirname(to), { recursive: true });
|
|
28401
28575
|
const partial = `${to}.${(0, import_node_crypto29.randomUUID)()}`;
|
|
28402
28576
|
(0, import_node_fs55.copyFileSync)(from, partial, import_node_fs55.constants.COPYFILE_FICLONE);
|
|
28577
|
+
if (mode !== void 0) (0, import_node_fs55.chmodSync)(partial, mode);
|
|
28403
28578
|
(0, import_node_fs55.renameSync)(partial, to);
|
|
28404
28579
|
}
|
|
28405
|
-
function
|
|
28406
|
-
|
|
28407
|
-
if (read2.size === 0) return;
|
|
28408
|
-
const escapedMirror = mirror.replace(
|
|
28580
|
+
function escapeDepPath(directory2) {
|
|
28581
|
+
return directory2.replace(
|
|
28409
28582
|
/[\\ #$]/g,
|
|
28410
28583
|
(character) => character === "$" ? "$$" : `\\${character}`
|
|
28411
28584
|
);
|
|
28585
|
+
}
|
|
28586
|
+
function invalidateDependents(root, mirror, files2) {
|
|
28587
|
+
const read2 = new Set(files2.filter((file) => !file.startsWith("lib/")));
|
|
28588
|
+
if (read2.size === 0) return;
|
|
28412
28589
|
const spellings = [
|
|
28413
|
-
[Buffer.from(`${
|
|
28590
|
+
[Buffer.from(`${escapeDepPath(mirror)}/`), ""]
|
|
28414
28591
|
];
|
|
28415
28592
|
if (files2.some((file) => file.startsWith("sdk/ios/")))
|
|
28416
28593
|
spellings.push([Buffer.from("/darwin/"), "sdk/ios/"]);
|
|
28594
|
+
const headersChanged = files2.some(
|
|
28595
|
+
(file) => !file.startsWith("lib/") && !file.startsWith("modules/")
|
|
28596
|
+
);
|
|
28597
|
+
invalidateBuildDependents(root, spellings, read2, headersChanged);
|
|
28598
|
+
}
|
|
28599
|
+
function invalidateBuildDependents(root, spellings, read2, headersChanged) {
|
|
28417
28600
|
const names = (text7) => spellings.some(([prefix, base2]) => {
|
|
28418
28601
|
let end = 0;
|
|
28419
28602
|
for (let at = text7.indexOf(prefix); at !== -1; at = text7.indexOf(prefix, end)) {
|
|
@@ -28428,9 +28611,6 @@ function invalidateDependents(root, mirror, files2) {
|
|
|
28428
28611
|
});
|
|
28429
28612
|
const scratch2 = import_node_path55.default.join(root, ".build");
|
|
28430
28613
|
if (!(0, import_node_fs55.existsSync)(scratch2)) return;
|
|
28431
|
-
const headersChanged = files2.some(
|
|
28432
|
-
(file) => !file.startsWith("lib/") && !file.startsWith("modules/")
|
|
28433
|
-
);
|
|
28434
28614
|
for (const triple of (0, import_node_fs55.readdirSync)(scratch2, { withFileTypes: true })) {
|
|
28435
28615
|
const products = import_node_path55.default.join(scratch2, triple.name, "release");
|
|
28436
28616
|
if (!triple.isDirectory() || !(0, import_node_fs55.existsSync)(products)) continue;
|
|
@@ -28470,18 +28650,24 @@ function invalidateDependents(root, mirror, files2) {
|
|
|
28470
28650
|
if (headersChanged)
|
|
28471
28651
|
(0, import_node_fs55.rmSync)(import_node_path55.default.join(scratch2, "ModuleCache"), { recursive: true, force: true });
|
|
28472
28652
|
}
|
|
28473
|
-
var import_node_crypto29, import_node_fs55, import_node_path55, SWIFT_DISTRIBUTION_MIRROR;
|
|
28653
|
+
var import_node_crypto29, import_node_fs55, import_node_path55, SWIFT_DISTRIBUTION_MIRROR, SWIFT_SDK_MIRROR, SWIFT_SDK_MIRROR_ID, SWIFT_SDK_MIRROR_RECORD, SWIFT_SDK_MIRROR_BUNDLE;
|
|
28474
28654
|
var init_swift_distribution_mirror = __esm({
|
|
28475
28655
|
"src/swift-distribution-mirror.ts"() {
|
|
28476
28656
|
"use strict";
|
|
28477
28657
|
import_node_crypto29 = require("node:crypto");
|
|
28478
28658
|
import_node_fs55 = require("node:fs");
|
|
28479
28659
|
import_node_path55 = __toESM(require("node:path"), 1);
|
|
28660
|
+
init_case_insensitive_header_overlay();
|
|
28480
28661
|
init_is_record();
|
|
28481
28662
|
init_swift_distribution_contract();
|
|
28482
28663
|
init_swift_shared_sdk();
|
|
28483
28664
|
init_swiftContract();
|
|
28665
|
+
init_swiftTargetContract();
|
|
28484
28666
|
SWIFT_DISTRIBUTION_MIRROR = ".peach-distribution";
|
|
28667
|
+
SWIFT_SDK_MIRROR = ".peach-sdk";
|
|
28668
|
+
SWIFT_SDK_MIRROR_ID = "peach-wasm-sdk";
|
|
28669
|
+
SWIFT_SDK_MIRROR_RECORD = ".peach-sdk-mirror.json";
|
|
28670
|
+
SWIFT_SDK_MIRROR_BUNDLE = "peach-wasm.artifactbundle";
|
|
28485
28671
|
}
|
|
28486
28672
|
});
|
|
28487
28673
|
|
|
@@ -42392,8 +42578,10 @@ function swiftPeachModules(moduleRoot) {
|
|
|
42392
42578
|
(0, import_node_fs68.readFileSync)(import_node_path68.default.join(moduleRoot, "Package.swift"), "utf8")
|
|
42393
42579
|
).filter((target) => !target.executable && !target.path.startsWith("fixtures/")).map((target) => target.name);
|
|
42394
42580
|
}
|
|
42395
|
-
function
|
|
42396
|
-
const
|
|
42581
|
+
function clearSwiftSdkPathsCache(sdkDir) {
|
|
42582
|
+
for (const key2 of sdkPaths.keys()) if (key2.includes(sdkDir)) sdkPaths.delete(key2);
|
|
42583
|
+
}
|
|
42584
|
+
function swiftSdkPaths(moduleRoot, toolchainBin, options2 = swiftCompileSdkOptions(moduleRoot, toolchainBin), sdk2 = swiftModuleSdk(moduleRoot).wasmSdkId) {
|
|
42397
42585
|
const key2 = JSON.stringify([toolchainBin, sdk2, options2]);
|
|
42398
42586
|
const cached4 = sdkPaths.get(key2);
|
|
42399
42587
|
if (cached4) return cached4;
|
|
@@ -45798,7 +45986,10 @@ function finishSwiftAppModuleFile(file) {
|
|
|
45798
45986
|
(0, import_node_fs74.appendFileSync)(file, Buffer.concat([header, nameBytes, thunks]));
|
|
45799
45987
|
}
|
|
45800
45988
|
function swiftAppModuleInputs(tokens3, buildRoot, sdkLibraries) {
|
|
45801
|
-
const owned = (token) =>
|
|
45989
|
+
const owned = (token) => {
|
|
45990
|
+
const resolved = import_node_path74.default.resolve(token);
|
|
45991
|
+
return resolved.startsWith(`${buildRoot}/`) && !resolved.startsWith(`${buildRoot}/${SWIFT_DISTRIBUTION_MIRROR}/`) && !resolved.startsWith(`${buildRoot}/${SWIFT_SDK_MIRROR}/`) && (!token.includes("/.peach-pruned-objs/") || token.endsWith("/swiftrt-patched.o"));
|
|
45992
|
+
};
|
|
45802
45993
|
const inputs2 = [];
|
|
45803
45994
|
for (const [index, token] of tokens3.entries()) {
|
|
45804
45995
|
if (token === "--start-lib") inputs2.push(token);
|
|
@@ -47253,6 +47444,7 @@ var init_swift_sdk_app_module = __esm({
|
|
|
47253
47444
|
import_node_zlib5 = require("node:zlib");
|
|
47254
47445
|
init_nativeSdkBindingContract();
|
|
47255
47446
|
init_nativeWasmContract();
|
|
47447
|
+
init_swift_distribution_mirror();
|
|
47256
47448
|
init_swift_guest_dyld_functions();
|
|
47257
47449
|
init_swift_guest_linked_spans();
|
|
47258
47450
|
init_swift_project_user();
|
|
@@ -48716,7 +48908,9 @@ var init_swift_objc_prebuilt = __esm({
|
|
|
48716
48908
|
init_internal_child_contract();
|
|
48717
48909
|
init_self_invocation();
|
|
48718
48910
|
init_native_prebuilt();
|
|
48911
|
+
init_swift_distribution_mirror();
|
|
48719
48912
|
init_swift_objc_prebuilt_catalog();
|
|
48913
|
+
init_swift_objc_standin();
|
|
48720
48914
|
init_swift_toolchain();
|
|
48721
48915
|
quote2 = (value) => "'" + value.replaceAll("'", "'\\''") + "'";
|
|
48722
48916
|
}
|
|
@@ -50297,7 +50491,7 @@ function syncSwiftTree(base2, files2, alreadySynced) {
|
|
|
50297
50491
|
const full = import_node_path84.default.join(dir, entry.name);
|
|
50298
50492
|
if (dir === base2 && (entry.name === ".build" || entry.name === SWIFT_CACHE_HOLD_MARKER || entry.name.startsWith(".peach-modules-") || // distribution clang maps are written beside the project, so a sync
|
|
50299
50493
|
// must not remove them.
|
|
50300
|
-
entry.name === CLANG_DISTRIBUTION_MODULES || entry.name === SWIFT_DISTRIBUTION_MIRROR || entry.name === SWIFT_LINK_STAMP || entry.name === SWIFT_BUILD_ROOT_SHAPE))
|
|
50494
|
+
entry.name === CLANG_DISTRIBUTION_MODULES || entry.name === SWIFT_DISTRIBUTION_MIRROR || entry.name === SWIFT_SDK_MIRROR || entry.name === SWIFT_LINK_STAMP || entry.name === SWIFT_BUILD_ROOT_SHAPE))
|
|
50301
50495
|
continue;
|
|
50302
50496
|
if (entry.isDirectory()) walk4(full);
|
|
50303
50497
|
else if (!files2.has(full) && (!kept || !kept.has((0, import_node_fs82.lstatSync)(full).ino)))
|
|
@@ -50931,7 +51125,7 @@ function needsNativeToolset(input, prebuilt) {
|
|
|
50931
51125
|
input.packageFiles || prebuilt || Object.keys(input.files).some(isSwiftNativeTranslationUnit)
|
|
50932
51126
|
);
|
|
50933
51127
|
}
|
|
50934
|
-
function writeSwiftProject(layout2, input, moduleRoot, prebuilt, allowHeaderCompiler = false, objcPrebuiltStage) {
|
|
51128
|
+
function writeSwiftProject(layout2, input, moduleRoot, prebuilt, allowHeaderCompiler = false, objcPrebuiltStage, compileSdk) {
|
|
50935
51129
|
const nativeToolset = needsNativeToolset(input, prebuilt);
|
|
50936
51130
|
if (input.headerAliases !== void 0 && !isSwiftHeaderAliases(input.headerAliases))
|
|
50937
51131
|
throw new Error("swift compile input has invalid original header aliases");
|
|
@@ -51060,6 +51254,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
51060
51254
|
checkedToolchain = swiftToolchain(pin2.release, swiftModuleSdk(moduleRoot));
|
|
51061
51255
|
return checkedToolchain;
|
|
51062
51256
|
};
|
|
51257
|
+
const resolvedSdkPaths = (toolchainBin) => swiftSdkPaths(moduleRoot, toolchainBin, compileSdk?.options, compileSdk?.id);
|
|
51063
51258
|
const targetStagedFiles = /* @__PURE__ */ new Map();
|
|
51064
51259
|
const stageTargetFile = (target, file, contents2, options2) => {
|
|
51065
51260
|
const relative7 = import_node_path84.default.relative(layout2.root, file).split(import_node_path84.default.sep).join(import_node_path84.default.posix.sep);
|
|
@@ -51186,9 +51381,25 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
51186
51381
|
files2.set(destination, contents2);
|
|
51187
51382
|
}
|
|
51188
51383
|
}
|
|
51384
|
+
const binaryTreePrefix = `${SWIFT_BINARY_TREES_DIR}/`;
|
|
51385
|
+
const binaryTreeSegment = `/${SWIFT_BINARY_TREES_DIR}/`;
|
|
51386
|
+
const isBinaryTreeFile = (file) => file.startsWith(binaryTreePrefix) || file.includes(binaryTreeSegment);
|
|
51387
|
+
const stageBinaryTreeFile = (file, contents2) => {
|
|
51388
|
+
const destination = import_node_path84.default.join(layout2.root, file);
|
|
51389
|
+
if (files2.has(destination)) return;
|
|
51390
|
+
writeBuildFile(destination, contents2);
|
|
51391
|
+
alreadySynced.set(destination, contents2);
|
|
51392
|
+
files2.set(destination, contents2);
|
|
51393
|
+
};
|
|
51394
|
+
for (const [file, contents2] of Object.entries(input.files))
|
|
51395
|
+
if (isBinaryTreeFile(file)) stageBinaryTreeFile(file, contents2);
|
|
51396
|
+
for (const [file, bytes] of Object.entries(input.packageFiles ?? {}))
|
|
51397
|
+
if (isBinaryTreeFile(file) && !file.endsWith(".swift"))
|
|
51398
|
+
stageBinaryTreeFile(file, Buffer.from(bytes, "base64"));
|
|
51399
|
+
for (const [file, bytes] of Object.entries(input.projectFiles ?? {}))
|
|
51400
|
+
if (isBinaryTreeFile(file)) stageBinaryTreeFile(file, Buffer.from(bytes, "base64"));
|
|
51189
51401
|
const fromInputRoot = (file) => file.startsWith(`${SWIFT_NATIVE_INPUT_ROOT}/`) ? import_node_path84.default.join(layout2.root, file.slice(SWIFT_NATIVE_INPUT_ROOT.length + 1)) : file;
|
|
51190
51402
|
const inRoot = `${layout2.root}${import_node_path84.default.sep}`;
|
|
51191
|
-
const binaryTree = `${import_node_path84.default.sep}${SWIFT_BINARY_TREES_DIR}${import_node_path84.default.sep}`;
|
|
51192
51403
|
const headerSearch = writeXcodeHeaderSearch(
|
|
51193
51404
|
import_node_path84.default.join(layout2.root, ".build", "peach-xcode-headers"),
|
|
51194
51405
|
nativeTargets2.map((settings) => {
|
|
@@ -51240,7 +51451,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
51240
51451
|
import_node_path84.default.join(layout2.root, file)
|
|
51241
51452
|
])
|
|
51242
51453
|
),
|
|
51243
|
-
(file) => !file.startsWith(inRoot) || files2.has(file)
|
|
51454
|
+
(file) => !file.startsWith(inRoot) || files2.has(file)
|
|
51244
51455
|
);
|
|
51245
51456
|
const importModuleMaps = /* @__PURE__ */ new Map();
|
|
51246
51457
|
const sourceModuleMaps = /* @__PURE__ */ new Map();
|
|
@@ -51383,7 +51594,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
51383
51594
|
];
|
|
51384
51595
|
})();
|
|
51385
51596
|
const sdkInclude = import_node_path84.default.join(
|
|
51386
|
-
|
|
51597
|
+
resolvedSdkPaths(toolchainBin).sysroot,
|
|
51387
51598
|
"darwin/usr/include"
|
|
51388
51599
|
);
|
|
51389
51600
|
const dependencyModuleMaps = clangImportModuleMapFlags(
|
|
@@ -52130,7 +52341,8 @@ ${entry}`);
|
|
|
52130
52341
|
);
|
|
52131
52342
|
if (nativeFlags) {
|
|
52132
52343
|
const toolchainBin = nativeToolchain();
|
|
52133
|
-
const headers = import_node_path84.default.join(
|
|
52344
|
+
const headers = import_node_path84.default.join(resolvedSdkPaths(toolchainBin).sysroot, "darwin");
|
|
52345
|
+
const sdkOverlayDirectory = compileSdk?.id === SWIFT_SDK_MIRROR_ID ? import_node_path84.default.join(layout2.root, SWIFT_SDK_MIRROR) : void 0;
|
|
52134
52346
|
const dependencies2 = swiftTargetDependencies(input.files, targets);
|
|
52135
52347
|
const reachesNative = (name3, seen = /* @__PURE__ */ new Set()) => {
|
|
52136
52348
|
if (native.has(name3)) return true;
|
|
@@ -52148,7 +52360,12 @@ ${entry}`);
|
|
|
52148
52360
|
throw new Error(
|
|
52149
52361
|
target.name + ": missing or unsupported declared iOS deployment target " + JSON.stringify(version2)
|
|
52150
52362
|
);
|
|
52151
|
-
const sdkIntake = objcSdkIntakeFlags(
|
|
52363
|
+
const sdkIntake = objcSdkIntakeFlags(
|
|
52364
|
+
headers,
|
|
52365
|
+
toolchainBin,
|
|
52366
|
+
minimum,
|
|
52367
|
+
sdkOverlayDirectory
|
|
52368
|
+
);
|
|
52152
52369
|
const sdkOverlay = sdkIntake.indexOf("-ivfsoverlay");
|
|
52153
52370
|
if (sdkOverlay >= 0) generatedOverlays.add(sdkIntake[sdkOverlay + 1]);
|
|
52154
52371
|
const intake = [
|
|
@@ -52370,7 +52587,7 @@ ${entry}`);
|
|
|
52370
52587
|
distribution: distribution ?? void 0,
|
|
52371
52588
|
moduleExcludes,
|
|
52372
52589
|
deferDarwinOverlay: native.size > 0 && toolsetOrdersLibcxxBeforeDarwinOverlay(
|
|
52373
|
-
|
|
52590
|
+
resolvedSdkPaths(nativeToolchain()).cFlags
|
|
52374
52591
|
),
|
|
52375
52592
|
...reachesFrameworks ? {
|
|
52376
52593
|
distributionLink: {
|
|
@@ -52413,7 +52630,7 @@ ${entry}`);
|
|
|
52413
52630
|
...headerAliasFlags,
|
|
52414
52631
|
...native.size > 0 ? [
|
|
52415
52632
|
"-fmodule-map-file=" + import_node_path84.default.join(
|
|
52416
|
-
|
|
52633
|
+
resolvedSdkPaths(nativeToolchain()).sysroot,
|
|
52417
52634
|
"darwin/wasm/include/module.modulemap"
|
|
52418
52635
|
)
|
|
52419
52636
|
] : []
|
|
@@ -52423,7 +52640,7 @@ ${entry}`);
|
|
|
52423
52640
|
const prebuiltCompiler = distribution && objcPrebuiltStage !== false ? swiftObjCPrebuiltCompiler(
|
|
52424
52641
|
clang,
|
|
52425
52642
|
layout2.root,
|
|
52426
|
-
|
|
52643
|
+
resolvedSdkPaths(nativeToolchain()).sysroot,
|
|
52427
52644
|
distribution.id,
|
|
52428
52645
|
[...native.keys()],
|
|
52429
52646
|
objcPrebuiltStage
|
|
@@ -52681,12 +52898,55 @@ package.targets += [.target(name: ${JSON.stringify(name3)}, dependencies: ${JSON
|
|
|
52681
52898
|
`;
|
|
52682
52899
|
return name3;
|
|
52683
52900
|
};
|
|
52684
|
-
const
|
|
52685
|
-
|
|
52686
|
-
|
|
52687
|
-
|
|
52901
|
+
const producerUnitCount = /* @__PURE__ */ new Map();
|
|
52902
|
+
for (const target of targets) {
|
|
52903
|
+
if (!producerSet.has(target.name)) continue;
|
|
52904
|
+
producerUnitCount.set(
|
|
52905
|
+
target.name,
|
|
52906
|
+
Math.max(
|
|
52907
|
+
1,
|
|
52908
|
+
targetEntries(target).filter(([file]) => file.endsWith(".swift")).length
|
|
52909
|
+
)
|
|
52910
|
+
);
|
|
52911
|
+
}
|
|
52912
|
+
const MAX_HEADER_STAGE_TARGETS = 100;
|
|
52913
|
+
const MAX_HEADER_STAGE_UNITS = 400;
|
|
52914
|
+
const chunkHeaderProducers = (producers2) => {
|
|
52915
|
+
const levelOrdered = [...producers2].sort(
|
|
52916
|
+
(left, right) => depths.get(left) - depths.get(right)
|
|
52917
|
+
);
|
|
52918
|
+
const totalUnits = levelOrdered.reduce(
|
|
52919
|
+
(sum, name3) => sum + (producerUnitCount.get(name3) ?? 1),
|
|
52920
|
+
0
|
|
52921
|
+
);
|
|
52922
|
+
if (levelOrdered.length <= 1 || levelOrdered.length <= MAX_HEADER_STAGE_TARGETS && totalUnits <= MAX_HEADER_STAGE_UNITS) {
|
|
52923
|
+
return [
|
|
52924
|
+
{
|
|
52925
|
+
target: buildProduct(SWIFT_HEADER_PRODUCTS_TARGET, levelOrdered),
|
|
52926
|
+
producers: levelOrdered
|
|
52927
|
+
}
|
|
52928
|
+
];
|
|
52929
|
+
}
|
|
52930
|
+
const chunks = [];
|
|
52931
|
+
let current2 = [];
|
|
52932
|
+
let units = 0;
|
|
52933
|
+
for (const name3 of levelOrdered) {
|
|
52934
|
+
const size2 = producerUnitCount.get(name3) ?? 1;
|
|
52935
|
+
if (current2.length > 0 && (current2.length >= MAX_HEADER_STAGE_TARGETS || units + size2 > MAX_HEADER_STAGE_UNITS)) {
|
|
52936
|
+
chunks.push(current2);
|
|
52937
|
+
current2 = [];
|
|
52938
|
+
units = 0;
|
|
52939
|
+
}
|
|
52940
|
+
current2.push(name3);
|
|
52941
|
+
units += size2;
|
|
52688
52942
|
}
|
|
52689
|
-
|
|
52943
|
+
if (current2.length > 0) chunks.push(current2);
|
|
52944
|
+
return chunks.map((members2, index) => ({
|
|
52945
|
+
target: buildProduct(`${SWIFT_HEADER_PRODUCTS_TARGET}${index + 1}`, members2),
|
|
52946
|
+
producers: members2
|
|
52947
|
+
}));
|
|
52948
|
+
};
|
|
52949
|
+
const headerBuilds = headerCompiler ? chunkHeaderProducers(orderedProducers) : [...stages].sort(([left], [right]) => left - right).map(([level, producers2]) => ({
|
|
52690
52950
|
target: buildProduct(`${SWIFT_HEADER_PRODUCTS_TARGET}${level}`, producers2),
|
|
52691
52951
|
producers: producers2
|
|
52692
52952
|
}));
|
|
@@ -54213,8 +54473,15 @@ ${compatShape}` : "";
|
|
|
54213
54473
|
frameworkLease
|
|
54214
54474
|
);
|
|
54215
54475
|
const compileFrameworkRoot2 = distribution ? swiftDistributionCompileView(frameworkRoot2, distribution) : frameworkRoot2;
|
|
54216
|
-
const
|
|
54217
|
-
const
|
|
54476
|
+
const sdk2 = swiftModuleSdk(frameworkRoot2).wasmSdkId;
|
|
54477
|
+
const compileSdk2 = mirrorDistribution ? syncSwiftSdkMirror(root2, frameworkRoot2, options2.toolchainBin, sdk2) : {
|
|
54478
|
+
id: sdk2,
|
|
54479
|
+
options: swiftCompileSdkOptions(frameworkRoot2, options2.toolchainBin),
|
|
54480
|
+
toolsetChanged: false
|
|
54481
|
+
};
|
|
54482
|
+
if (mirrorDistribution && compileSdk2.toolsetChanged)
|
|
54483
|
+
clearSwiftSdkPathsCache(import_node_path84.default.join(root2, SWIFT_SDK_MIRROR));
|
|
54484
|
+
const icu2 = options2.linkOnly ? null : swiftIcuAsset(options2.toolchainBin, sdk2);
|
|
54218
54485
|
let prebuilt2;
|
|
54219
54486
|
if (!distribution) {
|
|
54220
54487
|
if (allowWrite) stage("compiling framework products");
|
|
@@ -54225,7 +54492,7 @@ ${compatShape}` : "";
|
|
|
54225
54492
|
frameworkKey,
|
|
54226
54493
|
input,
|
|
54227
54494
|
swift,
|
|
54228
|
-
sdk:
|
|
54495
|
+
sdk: sdk2,
|
|
54229
54496
|
toolchainBin: options2.toolchainBin,
|
|
54230
54497
|
plugins: macroPlugins2,
|
|
54231
54498
|
buildOptions: {
|
|
@@ -54250,7 +54517,8 @@ ${compatShape}` : "";
|
|
|
54250
54517
|
frameworkRoot: frameworkRoot2,
|
|
54251
54518
|
compileFrameworkRoot: compileFrameworkRoot2,
|
|
54252
54519
|
macroPlugins: macroPlugins2,
|
|
54253
|
-
sdk:
|
|
54520
|
+
sdk: sdk2,
|
|
54521
|
+
compileSdk: compileSdk2,
|
|
54254
54522
|
icu: icu2,
|
|
54255
54523
|
prebuilt: prebuilt2,
|
|
54256
54524
|
readHold: readHold2
|
|
@@ -54271,7 +54539,7 @@ ${compatShape}` : "";
|
|
|
54271
54539
|
frameworkRoot,
|
|
54272
54540
|
compileFrameworkRoot,
|
|
54273
54541
|
macroPlugins,
|
|
54274
|
-
|
|
54542
|
+
compileSdk,
|
|
54275
54543
|
icu,
|
|
54276
54544
|
prebuilt
|
|
54277
54545
|
} = frameworks;
|
|
@@ -54289,13 +54557,13 @@ ${compatShape}` : "";
|
|
|
54289
54557
|
if (retireStaleSwiftLink(
|
|
54290
54558
|
root2,
|
|
54291
54559
|
swiftLinkStamp({
|
|
54292
|
-
frameworkKey: `${options2.release}\0${Boolean(distribution)}\0${swiftModuleSdk(frameworkRoot).wasmSdkId}`,
|
|
54560
|
+
frameworkKey: mirrorDistribution ? `${options2.release}\0mirror` : `${options2.release}\0${Boolean(distribution)}\0${swiftModuleSdk(frameworkRoot).wasmSdkId}`,
|
|
54293
54561
|
packageHostMacros
|
|
54294
54562
|
}),
|
|
54295
54563
|
swiftLinkStamp({
|
|
54296
|
-
//
|
|
54297
|
-
//
|
|
54298
|
-
frameworkKey: distribution ? `${options2.release}\0${distribution.wasmSdkChecksum}` : frameworkKey,
|
|
54564
|
+
// mirrored distributions and their WASI SDK mirror invalidate
|
|
54565
|
+
// dependents per changed file instead of wiping every Clang object.
|
|
54566
|
+
frameworkKey: mirrorDistribution ? `${options2.release}\0mirror` : distribution ? `${options2.release}\0${distribution.wasmSdkChecksum}` : frameworkKey,
|
|
54299
54567
|
prebuilt,
|
|
54300
54568
|
packageHostMacros
|
|
54301
54569
|
}),
|
|
@@ -54309,7 +54577,8 @@ ${compatShape}` : "";
|
|
|
54309
54577
|
frameworkRoot,
|
|
54310
54578
|
prebuilt,
|
|
54311
54579
|
!options2.project,
|
|
54312
|
-
options2.project ? false : options2.objcPrebuiltStage ?? (options2.intermediates ? false : void 0)
|
|
54580
|
+
options2.project ? false : options2.objcPrebuiltStage ?? (options2.intermediates ? false : void 0),
|
|
54581
|
+
compileSdk
|
|
54313
54582
|
);
|
|
54314
54583
|
const productFile = import_node_path84.default.join(frameworkRoot, SWIFT_FRAMEWORK_PRODUCT_FILE);
|
|
54315
54584
|
writeSwiftAutolinkLinker(
|
|
@@ -54385,6 +54654,7 @@ ${compatShape}` : "";
|
|
|
54385
54654
|
const jobs = swiftCompilerJobs();
|
|
54386
54655
|
const incrementalPreview = sdkImage !== void 0 && !guestGraph && !options2.project && !input.optimize && !input.unoptimized;
|
|
54387
54656
|
const perFile = input.unoptimized || incrementalPreview;
|
|
54657
|
+
const reproducibleFrameworkRoot = mirrorDistribution ? frameworkRoot : compileFrameworkRoot;
|
|
54388
54658
|
const buildArgs = [
|
|
54389
54659
|
"build",
|
|
54390
54660
|
...projectProcess?.cacheOptions ?? swiftPackageCacheOptions(),
|
|
@@ -54394,10 +54664,10 @@ ${compatShape}` : "";
|
|
|
54394
54664
|
String(jobs),
|
|
54395
54665
|
"--package-path",
|
|
54396
54666
|
root2,
|
|
54397
|
-
...
|
|
54667
|
+
...compileSdk.options,
|
|
54398
54668
|
...swiftObjCSelectorOptions(frameworkRoot),
|
|
54399
54669
|
"--swift-sdk",
|
|
54400
|
-
|
|
54670
|
+
compileSdk.id,
|
|
54401
54671
|
...preparation.targetToolset ? ["--toolset", import_node_path84.default.join(root2, ".peach-target-toolset.json")] : [],
|
|
54402
54672
|
"-c",
|
|
54403
54673
|
"release",
|
|
@@ -54432,7 +54702,7 @@ ${compatShape}` : "";
|
|
|
54432
54702
|
],
|
|
54433
54703
|
...swiftReproducibleBuildFlags([
|
|
54434
54704
|
[import_node_path84.default.dirname(options2.toolchainBin), "toolchain"],
|
|
54435
|
-
[
|
|
54705
|
+
[reproducibleFrameworkRoot, "framework"],
|
|
54436
54706
|
[root2, "build"],
|
|
54437
54707
|
...forwarders
|
|
54438
54708
|
]).flatMap((flag, index, flags) => {
|
|
@@ -54442,8 +54712,8 @@ ${compatShape}` : "";
|
|
|
54442
54712
|
let mapped = flag;
|
|
54443
54713
|
for (const [dir, target] of [
|
|
54444
54714
|
[root2, "/peach/build"],
|
|
54445
|
-
[
|
|
54446
|
-
[(0, import_node_fs82.realpathSync)(
|
|
54715
|
+
[reproducibleFrameworkRoot, "/peach/framework"],
|
|
54716
|
+
[(0, import_node_fs82.realpathSync)(reproducibleFrameworkRoot), "/peach/framework"],
|
|
54447
54717
|
[toolchainDir, "/peach/toolchain"],
|
|
54448
54718
|
[(0, import_node_fs82.realpathSync)(toolchainDir), "/peach/toolchain"]
|
|
54449
54719
|
]) {
|
|
@@ -54472,8 +54742,14 @@ ${compatShape}` : "";
|
|
|
54472
54742
|
(0, import_node_fs82.rmSync)(linked, { force: true });
|
|
54473
54743
|
stage("compiling and linking Swift modules");
|
|
54474
54744
|
const frameworkInterfaces = /* @__PURE__ */ new Map();
|
|
54745
|
+
const compileSdkPaths = swiftSdkPaths(
|
|
54746
|
+
frameworkRoot,
|
|
54747
|
+
options2.toolchainBin,
|
|
54748
|
+
compileSdk.options,
|
|
54749
|
+
compileSdk.id
|
|
54750
|
+
);
|
|
54475
54751
|
const sdkFrameworks = import_node_path84.default.join(
|
|
54476
|
-
|
|
54752
|
+
compileSdkPaths.darwin,
|
|
54477
54753
|
"System/Library/Frameworks"
|
|
54478
54754
|
);
|
|
54479
54755
|
const generatedInterface = (source) => withoutImportedSdkEnumForwards(
|
|
@@ -54677,7 +54953,7 @@ ${compatShape}` : "";
|
|
|
54677
54953
|
options2.toolchainBin,
|
|
54678
54954
|
recipe2,
|
|
54679
54955
|
new Map(
|
|
54680
|
-
preparation.headerBuilds
|
|
54956
|
+
preparation.headerBuilds.flatMap((stage2) => stage2.producers).map((producer) => {
|
|
54681
54957
|
const paths = headerPaths(producer);
|
|
54682
54958
|
return [
|
|
54683
54959
|
swiftTargetModuleName(producer),
|
|
@@ -54771,7 +55047,7 @@ ${compatShape}` : "";
|
|
|
54771
55047
|
moduleRoot: frameworkRoot,
|
|
54772
55048
|
toolchainBin: options2.toolchainBin,
|
|
54773
55049
|
swiftCompiler: preparation.headerCompiler ? import_node_path84.default.join(root2, SWIFT_HEADER_COMPILER_WRAPPER) : compiler.SWIFT_EXEC ?? import_node_path84.default.join(options2.toolchainBin, "swiftc"),
|
|
54774
|
-
sysroot:
|
|
55050
|
+
sysroot: compileSdkPaths.sysroot,
|
|
54775
55051
|
sdk: swiftModuleSdk(frameworkRoot),
|
|
54776
55052
|
sdkImage,
|
|
54777
55053
|
compilerDigest: compilerSourceDigest,
|
|
@@ -54801,9 +55077,7 @@ ${compatShape}` : "";
|
|
|
54801
55077
|
project: options2.project && {
|
|
54802
55078
|
...options2.project,
|
|
54803
55079
|
env: { ...options2.project.env, ...projectProcess?.env },
|
|
54804
|
-
sdkRoot: import_node_path84.default.dirname(
|
|
54805
|
-
swiftSdkPaths(frameworkRoot, options2.toolchainBin).sysroot
|
|
54806
|
-
),
|
|
55080
|
+
sdkRoot: import_node_path84.default.dirname(compileSdkPaths.sysroot),
|
|
54807
55081
|
linked: output
|
|
54808
55082
|
}
|
|
54809
55083
|
});
|
|
@@ -55064,7 +55338,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
55064
55338
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
55065
55339
|
MULTI_MANIFEST_VERSION = 76;
|
|
55066
55340
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
55067
|
-
compilerSourceDigest = true ? "
|
|
55341
|
+
compilerSourceDigest = true ? "404914a824c2f550a36612007732c8afa8459125cb02e28f12c34e2e6d8878d3" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
55068
55342
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
55069
55343
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
55070
55344
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -83446,112 +83720,112 @@ var init_native_static_libraries = __esm({
|
|
|
83446
83720
|
name: "skia",
|
|
83447
83721
|
nativeSha256: "5312f2b194b1f6b6721388028bf919e56400278245b039f47136aa98f0582333",
|
|
83448
83722
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
83449
|
-
recipe: "
|
|
83723
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83450
83724
|
archive: "libskia.a"
|
|
83451
83725
|
},
|
|
83452
83726
|
{
|
|
83453
83727
|
name: "skia_svg",
|
|
83454
83728
|
nativeSha256: "77adc498cff85db7850fb713c306681c6337f9b4ec42991b3764c8f3eff9d8d0",
|
|
83455
83729
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
83456
|
-
recipe: "
|
|
83730
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83457
83731
|
archive: "libsvg.a"
|
|
83458
83732
|
},
|
|
83459
83733
|
{
|
|
83460
83734
|
name: "skia_skshaper",
|
|
83461
83735
|
nativeSha256: "830bcf260bd24fd79ee5d323e26ec667638795e3a0e555f1093371b8342c345c",
|
|
83462
83736
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
83463
|
-
recipe: "
|
|
83737
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83464
83738
|
archive: "libskshaper.a"
|
|
83465
83739
|
},
|
|
83466
83740
|
{
|
|
83467
83741
|
name: "skia_skparagraph",
|
|
83468
83742
|
nativeSha256: "26afd4e5b11d46b0820a2cd7fd9918eb5a041946e1a1c0d4b91a5d54877e9dda",
|
|
83469
83743
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
83470
|
-
recipe: "
|
|
83744
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83471
83745
|
archive: "libskparagraph.a"
|
|
83472
83746
|
},
|
|
83473
83747
|
{
|
|
83474
83748
|
name: "skia_skunicode_core",
|
|
83475
83749
|
nativeSha256: "629f58c4e81157d42e353b2b255bebb2fd94d1f31d8f8157e982fa4367710526",
|
|
83476
83750
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
83477
|
-
recipe: "
|
|
83751
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83478
83752
|
archive: "libskunicode_core.a"
|
|
83479
83753
|
},
|
|
83480
83754
|
{
|
|
83481
83755
|
name: "skia_skunicode_libgrapheme",
|
|
83482
83756
|
nativeSha256: "047bd82306ba688453a3ff9dc02e203cdf16f2084551cca54f5d2b099baf1895",
|
|
83483
83757
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
83484
|
-
recipe: "
|
|
83758
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83485
83759
|
archive: "libskunicode_libgrapheme.a"
|
|
83486
83760
|
},
|
|
83487
83761
|
{
|
|
83488
83762
|
name: "skia_skottie",
|
|
83489
83763
|
nativeSha256: "75c0dfd82a256e761cddc45475b8109ed8c9a442767cf3a8bf8720eef0dd4af7",
|
|
83490
83764
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
83491
|
-
recipe: "
|
|
83765
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83492
83766
|
archive: "libskottie.a"
|
|
83493
83767
|
},
|
|
83494
83768
|
{
|
|
83495
83769
|
name: "skia_sksg",
|
|
83496
83770
|
nativeSha256: "df9652a46505d3c5c74d55b52295ef39218d2b5856e074117461fa2348312c8d",
|
|
83497
83771
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
83498
|
-
recipe: "
|
|
83772
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83499
83773
|
archive: "libsksg.a"
|
|
83500
83774
|
},
|
|
83501
83775
|
{
|
|
83502
83776
|
name: "skia",
|
|
83503
83777
|
nativeSha256: "c9b007c4da16f66d84b2f108af719b424ef91ee0759e58df0b76930bc6f82e31",
|
|
83504
83778
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
83505
|
-
recipe: "
|
|
83779
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83506
83780
|
archive: "libskia.a"
|
|
83507
83781
|
},
|
|
83508
83782
|
{
|
|
83509
83783
|
name: "skia_svg",
|
|
83510
83784
|
nativeSha256: "159705737769610b60216b114a28ba833840aa1df7833424df99edec4405b86f",
|
|
83511
83785
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
83512
|
-
recipe: "
|
|
83786
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83513
83787
|
archive: "libsvg.a"
|
|
83514
83788
|
},
|
|
83515
83789
|
{
|
|
83516
83790
|
name: "skia_skshaper",
|
|
83517
83791
|
nativeSha256: "934f3dbf3f38bca87b463b664a17c1588840f86ec89cf6961fb2a89b6336b35b",
|
|
83518
83792
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
83519
|
-
recipe: "
|
|
83793
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83520
83794
|
archive: "libskshaper.a"
|
|
83521
83795
|
},
|
|
83522
83796
|
{
|
|
83523
83797
|
name: "skia_skparagraph",
|
|
83524
83798
|
nativeSha256: "29a48349fc9b75c252b22fc6ca5ade90636900f82beec58780f03fd66ab345b3",
|
|
83525
83799
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
83526
|
-
recipe: "
|
|
83800
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83527
83801
|
archive: "libskparagraph.a"
|
|
83528
83802
|
},
|
|
83529
83803
|
{
|
|
83530
83804
|
name: "skia_skunicode_core",
|
|
83531
83805
|
nativeSha256: "096e5139c4de528dbba5a9605895f4c725853e48225503bdfa9c1d70241e5f58",
|
|
83532
83806
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
83533
|
-
recipe: "
|
|
83807
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83534
83808
|
archive: "libskunicode_core.a"
|
|
83535
83809
|
},
|
|
83536
83810
|
{
|
|
83537
83811
|
name: "skia_skunicode_libgrapheme",
|
|
83538
83812
|
nativeSha256: "d1ec3c2d5ad6889eb4fbf4a6bab74f39946739501d40de903f7d8cb2181ac37d",
|
|
83539
83813
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
83540
|
-
recipe: "
|
|
83814
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83541
83815
|
archive: "libskunicode_libgrapheme.a"
|
|
83542
83816
|
},
|
|
83543
83817
|
{
|
|
83544
83818
|
name: "skia_skottie",
|
|
83545
83819
|
nativeSha256: "52ea2e046f45f51df6027d783e923864e8c4ef94a1fe4fc5971e436574d8ae57",
|
|
83546
83820
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
83547
|
-
recipe: "
|
|
83821
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83548
83822
|
archive: "libskottie.a"
|
|
83549
83823
|
},
|
|
83550
83824
|
{
|
|
83551
83825
|
name: "skia_sksg",
|
|
83552
83826
|
nativeSha256: "541a74d8f83dc411efe8eeac377486a5054fab4c7710afe406a20a27efe8f627",
|
|
83553
83827
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
83554
|
-
recipe: "
|
|
83828
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83555
83829
|
archive: "libsksg.a"
|
|
83556
83830
|
},
|
|
83557
83831
|
{
|
|
@@ -130290,7 +130564,7 @@ var init_nitro_superset = __esm({
|
|
|
130290
130564
|
init_nitroContract();
|
|
130291
130565
|
init_swift_standin_digest();
|
|
130292
130566
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
130293
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
130567
|
+
NITRO_COMPILER_DIGEST = true ? "61b3b5dc20fe5b64808415a8f9ef336a84a5a1c498d9b6f9362e41c0b5a37f73" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
130294
130568
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
130295
130569
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
130296
130570
|
published3 = /* @__PURE__ */ new Map();
|