peachsim 0.1.2768 → 0.1.2770
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 +356 -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-A3J4BCR3.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-P4QFEMNW.mjs → chunk-25CEOCB7.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-TNCPRFBQ.mjs → chunk-4IOWCCHS.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-LMELFNFT.mjs → chunk-4LHY3IKU.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-76RJVPS6.mjs → chunk-5YKVWHMS.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-SBIBHVCU.mjs → chunk-CFWWQTJ5.mjs} +26 -13
- package/dist-lib/esm-chunks/{chunk-OASENKSR.mjs → chunk-CQBPQSRE.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-LDBKSWMK.mjs → chunk-F3FQZ6SE.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NRFW2S2E.mjs → chunk-FBVGSJJE.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-UP76RU63.mjs → chunk-FJZINSC2.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-LW6EFCKB.mjs → chunk-JGCIXB77.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-FM4IQKZR.mjs → chunk-JN4WVMT4.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-IA466TSB.mjs → chunk-KSVTJ3JI.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-IXCYOMAY.mjs → chunk-NJNU5MPO.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-QS3CSXQR.mjs → chunk-PT3YJZI2.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-K6H2SOFN.mjs → chunk-Q4BHHFX7.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-FY6GYFKM.mjs → chunk-RBNIOLS5.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-SZC5VUTW.mjs → chunk-RG5UROLK.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-FSZC4K7L.mjs → chunk-RSRSOEDS.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-CWLOVTXX.mjs → chunk-TTOBAW65.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-PYVRYHRN.mjs → chunk-TXTIDFLT.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NNHQMYXA.mjs → chunk-USSIX7QH.mjs} +377 -106
- package/dist-lib/esm-chunks/{chunk-EP3OX3CJ.mjs → chunk-W4ZOHLQE.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-MC3T7WXI.mjs → chunk-Y4DWEUO2.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-6FVNWSDJ.mjs → chunk-YGXQSWWR.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-4TX56S4G.mjs → metro-layout-parser-QXJ7SU7Z.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-7PIYWUST.mjs → swift-package-prebuilt-3YL3XSX3.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-7NOBYKIE.mjs → swift-sdk-app-module-QSLP6GQS.mjs} +22 -17
- package/dist-lib/esm-chunks/{swift-sdk-image-FTSV6Y6Y.mjs → swift-sdk-image-XJV6ZFNG.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-TDBFULDN.mjs → swift-sdk-image-producer-NFE2G4PN.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +356 -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 +356 -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 +356 -77
- package/dist-lib/swift-compile.cjs +336 -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 +280 -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.2770 | (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 ? "6b03f57a8a907c059091275e079f41e5ba083b43a70989a634347e73ff6f548e" : 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 ? "20b00f2698ace1deda2b18448f2606eb47a5eaae0195083595ede81758eafc7c" : 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,179 @@ 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 syncingMarker = import_node_path55.default.join(mirror, SWIFT_SDK_MIRROR_SYNCING);
|
|
28419
|
+
const options2 = ["--swift-sdks-path", mirror];
|
|
28420
|
+
const interrupted = (0, import_node_fs55.existsSync)(syncingMarker);
|
|
28421
|
+
const previous = interrupted ? null : readSdkRecord(recordFile);
|
|
28422
|
+
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"))) {
|
|
28423
|
+
return { id: SWIFT_SDK_MIRROR_ID, options: options2, toolsetChanged: false };
|
|
28424
|
+
}
|
|
28425
|
+
const sourceTriple = resolveSdkViewTripleDir(sourceView, sourceSdkId);
|
|
28426
|
+
if (!previous) {
|
|
28427
|
+
if (!interrupted) (0, import_node_fs55.rmSync)(mirror, { recursive: true, force: true });
|
|
28428
|
+
(0, import_node_fs55.rmSync)(import_node_path55.default.join(root, ".build"), { recursive: true, force: true });
|
|
28429
|
+
}
|
|
28430
|
+
(0, import_node_fs55.mkdirSync)(mirror, { recursive: true });
|
|
28431
|
+
(0, import_node_fs55.writeFileSync)(syncingMarker, "1\n");
|
|
28432
|
+
const changed2 = [];
|
|
28433
|
+
const removed = [];
|
|
28434
|
+
const distributionPrefix = `${frameworkRoot}${import_node_path55.default.sep}`;
|
|
28435
|
+
syncSdkTree(sourceTriple, destTriple, "", distributionPrefix, changed2, removed);
|
|
28436
|
+
const infoText = JSON.stringify(
|
|
28437
|
+
{
|
|
28438
|
+
artifacts: {
|
|
28439
|
+
[SWIFT_SDK_MIRROR_ID]: {
|
|
28440
|
+
type: "swiftSDK",
|
|
28441
|
+
variants: [{ path: `sdk/${SWIFT_WASM_TRIPLE}/swift-sdk.json` }],
|
|
28442
|
+
version: "0.0.1"
|
|
28443
|
+
}
|
|
28444
|
+
},
|
|
28445
|
+
schemaVersion: "1.0"
|
|
28446
|
+
},
|
|
28447
|
+
null,
|
|
28448
|
+
2
|
|
28449
|
+
) + "\n";
|
|
28450
|
+
if (!(0, import_node_fs55.existsSync)(bundleInfo) || (0, import_node_fs55.readFileSync)(bundleInfo, "utf8") !== infoText) {
|
|
28451
|
+
(0, import_node_fs55.mkdirSync)(bundle, { recursive: true });
|
|
28452
|
+
const partial = `${bundleInfo}.${(0, import_node_crypto29.randomUUID)()}`;
|
|
28453
|
+
(0, import_node_fs55.writeFileSync)(partial, infoText);
|
|
28454
|
+
(0, import_node_fs55.renameSync)(partial, bundleInfo);
|
|
28455
|
+
}
|
|
28456
|
+
const touched = [...changed2, ...removed];
|
|
28457
|
+
const toolsetChanged = !previous || touched.some(
|
|
28458
|
+
(file) => file === "toolset.json" || file === "swift-sdk.json" || file.startsWith("swift.xctoolchain/usr/bin/")
|
|
28459
|
+
);
|
|
28460
|
+
if (previous) {
|
|
28461
|
+
if (toolsetChanged) {
|
|
28462
|
+
(0, import_node_fs55.rmSync)(import_node_path55.default.join(root, ".build"), { recursive: true, force: true });
|
|
28463
|
+
} else {
|
|
28464
|
+
const compileTouched = touched.filter(
|
|
28465
|
+
(file) => !file.endsWith(".a") && !file.endsWith(".o") && !file.startsWith("rust/") && file !== "runtime-products.json"
|
|
28466
|
+
);
|
|
28467
|
+
const headersChanged = compileTouched.some(
|
|
28468
|
+
(file) => !file.endsWith(".swiftmodule") && !file.endsWith(".swiftdoc") && !file.endsWith(".swiftsourceinfo") && !file.endsWith(".abi.json")
|
|
28469
|
+
);
|
|
28470
|
+
if (compileTouched.length > 0) {
|
|
28471
|
+
invalidateBuildDependents(
|
|
28472
|
+
root,
|
|
28473
|
+
[[Buffer.from(`${escapeDepPath(destTriple)}/`), ""]],
|
|
28474
|
+
new Set(compileTouched),
|
|
28475
|
+
headersChanged
|
|
28476
|
+
);
|
|
28477
|
+
}
|
|
28478
|
+
if (headersChanged) clearCaseInsensitiveHeaderOverlayCache(mirror);
|
|
28479
|
+
}
|
|
28480
|
+
} else {
|
|
28481
|
+
clearCaseInsensitiveHeaderOverlayCache(mirror);
|
|
28482
|
+
}
|
|
28483
|
+
const partialRecord = `${recordFile}.${(0, import_node_crypto29.randomUUID)()}`;
|
|
28484
|
+
(0, import_node_fs55.writeFileSync)(partialRecord, JSON.stringify({ version: 1, sourceView, sourceSdkId }));
|
|
28485
|
+
(0, import_node_fs55.renameSync)(partialRecord, recordFile);
|
|
28486
|
+
(0, import_node_fs55.rmSync)(syncingMarker, { force: true });
|
|
28487
|
+
return { id: SWIFT_SDK_MIRROR_ID, options: options2, toolsetChanged };
|
|
28488
|
+
}
|
|
28489
|
+
function readSdkRecord(file) {
|
|
28490
|
+
if (!(0, import_node_fs55.existsSync)(file)) return null;
|
|
28491
|
+
const value = JSON.parse((0, import_node_fs55.readFileSync)(file, "utf8"));
|
|
28492
|
+
if (!isRecord(value) || value.version !== 1 || typeof value.sourceView !== "string" || typeof value.sourceSdkId !== "string")
|
|
28493
|
+
return null;
|
|
28494
|
+
return {
|
|
28495
|
+
version: value.version,
|
|
28496
|
+
sourceView: value.sourceView,
|
|
28497
|
+
sourceSdkId: value.sourceSdkId
|
|
28498
|
+
};
|
|
28499
|
+
}
|
|
28500
|
+
function resolveSdkViewTripleDir(sourceView, sourceSdkId) {
|
|
28501
|
+
for (const entry of (0, import_node_fs55.readdirSync)(sourceView, { withFileTypes: true })) {
|
|
28502
|
+
if (!entry.name.endsWith(".artifactbundle")) continue;
|
|
28503
|
+
const bundleDir = import_node_path55.default.join(sourceView, entry.name);
|
|
28504
|
+
const infoPath = import_node_path55.default.join(bundleDir, "info.json");
|
|
28505
|
+
if (!(0, import_node_fs55.existsSync)(infoPath)) continue;
|
|
28506
|
+
const info = JSON.parse((0, import_node_fs55.readFileSync)(infoPath, "utf8"));
|
|
28507
|
+
if (!isRecord(info) || !isRecord(info.artifacts)) continue;
|
|
28508
|
+
const artifact = info.artifacts[sourceSdkId];
|
|
28509
|
+
if (!isRecord(artifact) || !Array.isArray(artifact.variants)) continue;
|
|
28510
|
+
const first = artifact.variants[0];
|
|
28511
|
+
if (!isRecord(first) || typeof first.path !== "string") continue;
|
|
28512
|
+
return import_node_path55.default.dirname(import_node_path55.default.join(bundleDir, first.path));
|
|
28513
|
+
}
|
|
28514
|
+
throw new Error(`Swift SDK ${sourceSdkId} not found in view ${sourceView}`);
|
|
28515
|
+
}
|
|
28516
|
+
function collectRemovedFiles(dir, prefix, out) {
|
|
28517
|
+
for (const entry of (0, import_node_fs55.readdirSync)(dir, { withFileTypes: true })) {
|
|
28518
|
+
const rel = prefix ? `${prefix}/${entry.name}` : entry.name;
|
|
28519
|
+
const full = import_node_path55.default.join(dir, entry.name);
|
|
28520
|
+
if (entry.isDirectory()) collectRemovedFiles(full, rel, out);
|
|
28521
|
+
else out.push(rel);
|
|
28522
|
+
}
|
|
28523
|
+
}
|
|
28524
|
+
function syncSdkTree(sourceDir, destDir, prefix, distributionPrefix, changed2, removed) {
|
|
28525
|
+
(0, import_node_fs55.mkdirSync)(destDir, { recursive: true });
|
|
28526
|
+
const wanted = /* @__PURE__ */ new Set();
|
|
28527
|
+
for (const entry of (0, import_node_fs55.readdirSync)(sourceDir, { withFileTypes: true })) {
|
|
28528
|
+
wanted.add(entry.name);
|
|
28529
|
+
const rel = prefix ? `${prefix}/${entry.name}` : entry.name;
|
|
28530
|
+
const src = import_node_path55.default.join(sourceDir, entry.name);
|
|
28531
|
+
const dest = import_node_path55.default.join(destDir, entry.name);
|
|
28532
|
+
const destLstat = (0, import_node_fs55.lstatSync)(dest, { throwIfNoEntry: false });
|
|
28533
|
+
if (entry.isSymbolicLink()) {
|
|
28534
|
+
const target = (0, import_node_fs55.readlinkSync)(src);
|
|
28535
|
+
if (target.startsWith(distributionPrefix)) {
|
|
28536
|
+
if (destLstat?.isSymbolicLink() && (0, import_node_fs55.readlinkSync)(dest) === target) continue;
|
|
28537
|
+
if (destLstat) (0, import_node_fs55.rmSync)(dest, { recursive: true, force: true });
|
|
28538
|
+
(0, import_node_fs55.symlinkSync)(target, dest);
|
|
28539
|
+
changed2.push(rel);
|
|
28540
|
+
continue;
|
|
28541
|
+
}
|
|
28542
|
+
}
|
|
28543
|
+
const srcStat = (0, import_node_fs55.statSync)(src, { throwIfNoEntry: false });
|
|
28544
|
+
if (!srcStat) continue;
|
|
28545
|
+
if (srcStat.isDirectory()) {
|
|
28546
|
+
if (destLstat && (!destLstat.isDirectory() || destLstat.isSymbolicLink()))
|
|
28547
|
+
(0, import_node_fs55.rmSync)(dest, { recursive: true, force: true });
|
|
28548
|
+
syncSdkTree(src, dest, rel, distributionPrefix, changed2, removed);
|
|
28549
|
+
continue;
|
|
28550
|
+
}
|
|
28551
|
+
if (destLstat?.isFile() && !destLstat.isSymbolicLink() && destLstat.size === srcStat.size && (0, import_node_fs55.readFileSync)(src).equals((0, import_node_fs55.readFileSync)(dest)))
|
|
28552
|
+
continue;
|
|
28553
|
+
if (destLstat?.isDirectory()) (0, import_node_fs55.rmSync)(dest, { recursive: true, force: true });
|
|
28554
|
+
place(src, dest, (srcStat.mode & 73) !== 0 ? srcStat.mode & 511 : void 0);
|
|
28555
|
+
changed2.push(rel);
|
|
28556
|
+
}
|
|
28557
|
+
for (const entry of (0, import_node_fs55.readdirSync)(destDir, { withFileTypes: true })) {
|
|
28558
|
+
if (wanted.has(entry.name)) continue;
|
|
28559
|
+
const rel = prefix ? `${prefix}/${entry.name}` : entry.name;
|
|
28560
|
+
const dest = import_node_path55.default.join(destDir, entry.name);
|
|
28561
|
+
if (entry.isDirectory()) collectRemovedFiles(dest, rel, removed);
|
|
28562
|
+
else removed.push(rel);
|
|
28563
|
+
(0, import_node_fs55.rmSync)(dest, { recursive: true, force: true });
|
|
28564
|
+
}
|
|
28565
|
+
}
|
|
28388
28566
|
function readRecord(file) {
|
|
28389
28567
|
if (!(0, import_node_fs55.existsSync)(file)) return null;
|
|
28390
28568
|
const value = JSON.parse((0, import_node_fs55.readFileSync)(file, "utf8"));
|
|
@@ -28396,24 +28574,33 @@ function readRecord(file) {
|
|
|
28396
28574
|
}
|
|
28397
28575
|
return files2;
|
|
28398
28576
|
}
|
|
28399
|
-
function place(from, to) {
|
|
28577
|
+
function place(from, to, mode) {
|
|
28400
28578
|
(0, import_node_fs55.mkdirSync)(import_node_path55.default.dirname(to), { recursive: true });
|
|
28401
28579
|
const partial = `${to}.${(0, import_node_crypto29.randomUUID)()}`;
|
|
28402
28580
|
(0, import_node_fs55.copyFileSync)(from, partial, import_node_fs55.constants.COPYFILE_FICLONE);
|
|
28581
|
+
if (mode !== void 0) (0, import_node_fs55.chmodSync)(partial, mode);
|
|
28403
28582
|
(0, import_node_fs55.renameSync)(partial, to);
|
|
28404
28583
|
}
|
|
28405
|
-
function
|
|
28406
|
-
|
|
28407
|
-
if (read2.size === 0) return;
|
|
28408
|
-
const escapedMirror = mirror.replace(
|
|
28584
|
+
function escapeDepPath(directory2) {
|
|
28585
|
+
return directory2.replace(
|
|
28409
28586
|
/[\\ #$]/g,
|
|
28410
28587
|
(character) => character === "$" ? "$$" : `\\${character}`
|
|
28411
28588
|
);
|
|
28589
|
+
}
|
|
28590
|
+
function invalidateDependents(root, mirror, files2) {
|
|
28591
|
+
const read2 = new Set(files2.filter((file) => !file.startsWith("lib/")));
|
|
28592
|
+
if (read2.size === 0) return;
|
|
28412
28593
|
const spellings = [
|
|
28413
|
-
[Buffer.from(`${
|
|
28594
|
+
[Buffer.from(`${escapeDepPath(mirror)}/`), ""]
|
|
28414
28595
|
];
|
|
28415
28596
|
if (files2.some((file) => file.startsWith("sdk/ios/")))
|
|
28416
28597
|
spellings.push([Buffer.from("/darwin/"), "sdk/ios/"]);
|
|
28598
|
+
const headersChanged = files2.some(
|
|
28599
|
+
(file) => !file.startsWith("lib/") && !file.startsWith("modules/")
|
|
28600
|
+
);
|
|
28601
|
+
invalidateBuildDependents(root, spellings, read2, headersChanged);
|
|
28602
|
+
}
|
|
28603
|
+
function invalidateBuildDependents(root, spellings, read2, headersChanged) {
|
|
28417
28604
|
const names = (text7) => spellings.some(([prefix, base2]) => {
|
|
28418
28605
|
let end = 0;
|
|
28419
28606
|
for (let at = text7.indexOf(prefix); at !== -1; at = text7.indexOf(prefix, end)) {
|
|
@@ -28428,9 +28615,6 @@ function invalidateDependents(root, mirror, files2) {
|
|
|
28428
28615
|
});
|
|
28429
28616
|
const scratch2 = import_node_path55.default.join(root, ".build");
|
|
28430
28617
|
if (!(0, import_node_fs55.existsSync)(scratch2)) return;
|
|
28431
|
-
const headersChanged = files2.some(
|
|
28432
|
-
(file) => !file.startsWith("lib/") && !file.startsWith("modules/")
|
|
28433
|
-
);
|
|
28434
28618
|
for (const triple of (0, import_node_fs55.readdirSync)(scratch2, { withFileTypes: true })) {
|
|
28435
28619
|
const products = import_node_path55.default.join(scratch2, triple.name, "release");
|
|
28436
28620
|
if (!triple.isDirectory() || !(0, import_node_fs55.existsSync)(products)) continue;
|
|
@@ -28470,18 +28654,25 @@ function invalidateDependents(root, mirror, files2) {
|
|
|
28470
28654
|
if (headersChanged)
|
|
28471
28655
|
(0, import_node_fs55.rmSync)(import_node_path55.default.join(scratch2, "ModuleCache"), { recursive: true, force: true });
|
|
28472
28656
|
}
|
|
28473
|
-
var import_node_crypto29, import_node_fs55, import_node_path55, SWIFT_DISTRIBUTION_MIRROR;
|
|
28657
|
+
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_SYNCING, SWIFT_SDK_MIRROR_BUNDLE;
|
|
28474
28658
|
var init_swift_distribution_mirror = __esm({
|
|
28475
28659
|
"src/swift-distribution-mirror.ts"() {
|
|
28476
28660
|
"use strict";
|
|
28477
28661
|
import_node_crypto29 = require("node:crypto");
|
|
28478
28662
|
import_node_fs55 = require("node:fs");
|
|
28479
28663
|
import_node_path55 = __toESM(require("node:path"), 1);
|
|
28664
|
+
init_case_insensitive_header_overlay();
|
|
28480
28665
|
init_is_record();
|
|
28481
28666
|
init_swift_distribution_contract();
|
|
28482
28667
|
init_swift_shared_sdk();
|
|
28483
28668
|
init_swiftContract();
|
|
28669
|
+
init_swiftTargetContract();
|
|
28484
28670
|
SWIFT_DISTRIBUTION_MIRROR = ".peach-distribution";
|
|
28671
|
+
SWIFT_SDK_MIRROR = ".peach-sdk";
|
|
28672
|
+
SWIFT_SDK_MIRROR_ID = "peach-wasm-sdk";
|
|
28673
|
+
SWIFT_SDK_MIRROR_RECORD = ".peach-sdk-mirror.json";
|
|
28674
|
+
SWIFT_SDK_MIRROR_SYNCING = ".peach-sdk-syncing";
|
|
28675
|
+
SWIFT_SDK_MIRROR_BUNDLE = "peach-wasm.artifactbundle";
|
|
28485
28676
|
}
|
|
28486
28677
|
});
|
|
28487
28678
|
|
|
@@ -42392,8 +42583,10 @@ function swiftPeachModules(moduleRoot) {
|
|
|
42392
42583
|
(0, import_node_fs68.readFileSync)(import_node_path68.default.join(moduleRoot, "Package.swift"), "utf8")
|
|
42393
42584
|
).filter((target) => !target.executable && !target.path.startsWith("fixtures/")).map((target) => target.name);
|
|
42394
42585
|
}
|
|
42395
|
-
function
|
|
42396
|
-
const
|
|
42586
|
+
function clearSwiftSdkPathsCache(sdkDir) {
|
|
42587
|
+
for (const key2 of sdkPaths.keys()) if (key2.includes(sdkDir)) sdkPaths.delete(key2);
|
|
42588
|
+
}
|
|
42589
|
+
function swiftSdkPaths(moduleRoot, toolchainBin, options2 = swiftCompileSdkOptions(moduleRoot, toolchainBin), sdk2 = swiftModuleSdk(moduleRoot).wasmSdkId) {
|
|
42397
42590
|
const key2 = JSON.stringify([toolchainBin, sdk2, options2]);
|
|
42398
42591
|
const cached4 = sdkPaths.get(key2);
|
|
42399
42592
|
if (cached4) return cached4;
|
|
@@ -45798,7 +45991,10 @@ function finishSwiftAppModuleFile(file) {
|
|
|
45798
45991
|
(0, import_node_fs74.appendFileSync)(file, Buffer.concat([header, nameBytes, thunks]));
|
|
45799
45992
|
}
|
|
45800
45993
|
function swiftAppModuleInputs(tokens3, buildRoot, sdkLibraries) {
|
|
45801
|
-
const owned = (token) =>
|
|
45994
|
+
const owned = (token) => {
|
|
45995
|
+
const resolved = import_node_path74.default.resolve(token);
|
|
45996
|
+
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"));
|
|
45997
|
+
};
|
|
45802
45998
|
const inputs2 = [];
|
|
45803
45999
|
for (const [index, token] of tokens3.entries()) {
|
|
45804
46000
|
if (token === "--start-lib") inputs2.push(token);
|
|
@@ -47253,6 +47449,7 @@ var init_swift_sdk_app_module = __esm({
|
|
|
47253
47449
|
import_node_zlib5 = require("node:zlib");
|
|
47254
47450
|
init_nativeSdkBindingContract();
|
|
47255
47451
|
init_nativeWasmContract();
|
|
47452
|
+
init_swift_distribution_mirror();
|
|
47256
47453
|
init_swift_guest_dyld_functions();
|
|
47257
47454
|
init_swift_guest_linked_spans();
|
|
47258
47455
|
init_swift_project_user();
|
|
@@ -48716,7 +48913,9 @@ var init_swift_objc_prebuilt = __esm({
|
|
|
48716
48913
|
init_internal_child_contract();
|
|
48717
48914
|
init_self_invocation();
|
|
48718
48915
|
init_native_prebuilt();
|
|
48916
|
+
init_swift_distribution_mirror();
|
|
48719
48917
|
init_swift_objc_prebuilt_catalog();
|
|
48918
|
+
init_swift_objc_standin();
|
|
48720
48919
|
init_swift_toolchain();
|
|
48721
48920
|
quote2 = (value) => "'" + value.replaceAll("'", "'\\''") + "'";
|
|
48722
48921
|
}
|
|
@@ -50297,7 +50496,7 @@ function syncSwiftTree(base2, files2, alreadySynced) {
|
|
|
50297
50496
|
const full = import_node_path84.default.join(dir, entry.name);
|
|
50298
50497
|
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
50498
|
// 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))
|
|
50499
|
+
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
50500
|
continue;
|
|
50302
50501
|
if (entry.isDirectory()) walk4(full);
|
|
50303
50502
|
else if (!files2.has(full) && (!kept || !kept.has((0, import_node_fs82.lstatSync)(full).ino)))
|
|
@@ -50931,7 +51130,7 @@ function needsNativeToolset(input, prebuilt) {
|
|
|
50931
51130
|
input.packageFiles || prebuilt || Object.keys(input.files).some(isSwiftNativeTranslationUnit)
|
|
50932
51131
|
);
|
|
50933
51132
|
}
|
|
50934
|
-
function writeSwiftProject(layout2, input, moduleRoot, prebuilt, allowHeaderCompiler = false, objcPrebuiltStage) {
|
|
51133
|
+
function writeSwiftProject(layout2, input, moduleRoot, prebuilt, allowHeaderCompiler = false, objcPrebuiltStage, compileSdk) {
|
|
50935
51134
|
const nativeToolset = needsNativeToolset(input, prebuilt);
|
|
50936
51135
|
if (input.headerAliases !== void 0 && !isSwiftHeaderAliases(input.headerAliases))
|
|
50937
51136
|
throw new Error("swift compile input has invalid original header aliases");
|
|
@@ -51060,6 +51259,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
51060
51259
|
checkedToolchain = swiftToolchain(pin2.release, swiftModuleSdk(moduleRoot));
|
|
51061
51260
|
return checkedToolchain;
|
|
51062
51261
|
};
|
|
51262
|
+
const resolvedSdkPaths = (toolchainBin) => swiftSdkPaths(moduleRoot, toolchainBin, compileSdk?.options, compileSdk?.id);
|
|
51063
51263
|
const targetStagedFiles = /* @__PURE__ */ new Map();
|
|
51064
51264
|
const stageTargetFile = (target, file, contents2, options2) => {
|
|
51065
51265
|
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 +51386,25 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
51186
51386
|
files2.set(destination, contents2);
|
|
51187
51387
|
}
|
|
51188
51388
|
}
|
|
51389
|
+
const binaryTreePrefix = `${SWIFT_BINARY_TREES_DIR}/`;
|
|
51390
|
+
const binaryTreeSegment = `/${SWIFT_BINARY_TREES_DIR}/`;
|
|
51391
|
+
const isBinaryTreeFile = (file) => file.startsWith(binaryTreePrefix) || file.includes(binaryTreeSegment);
|
|
51392
|
+
const stageBinaryTreeFile = (file, contents2) => {
|
|
51393
|
+
const destination = import_node_path84.default.join(layout2.root, file);
|
|
51394
|
+
if (files2.has(destination)) return;
|
|
51395
|
+
writeBuildFile(destination, contents2);
|
|
51396
|
+
alreadySynced.set(destination, contents2);
|
|
51397
|
+
files2.set(destination, contents2);
|
|
51398
|
+
};
|
|
51399
|
+
for (const [file, contents2] of Object.entries(input.files))
|
|
51400
|
+
if (isBinaryTreeFile(file)) stageBinaryTreeFile(file, contents2);
|
|
51401
|
+
for (const [file, bytes] of Object.entries(input.packageFiles ?? {}))
|
|
51402
|
+
if (isBinaryTreeFile(file) && !file.endsWith(".swift"))
|
|
51403
|
+
stageBinaryTreeFile(file, Buffer.from(bytes, "base64"));
|
|
51404
|
+
for (const [file, bytes] of Object.entries(input.projectFiles ?? {}))
|
|
51405
|
+
if (isBinaryTreeFile(file)) stageBinaryTreeFile(file, Buffer.from(bytes, "base64"));
|
|
51189
51406
|
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
51407
|
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
51408
|
const headerSearch = writeXcodeHeaderSearch(
|
|
51193
51409
|
import_node_path84.default.join(layout2.root, ".build", "peach-xcode-headers"),
|
|
51194
51410
|
nativeTargets2.map((settings) => {
|
|
@@ -51240,7 +51456,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
51240
51456
|
import_node_path84.default.join(layout2.root, file)
|
|
51241
51457
|
])
|
|
51242
51458
|
),
|
|
51243
|
-
(file) => !file.startsWith(inRoot) || files2.has(file)
|
|
51459
|
+
(file) => !file.startsWith(inRoot) || files2.has(file)
|
|
51244
51460
|
);
|
|
51245
51461
|
const importModuleMaps = /* @__PURE__ */ new Map();
|
|
51246
51462
|
const sourceModuleMaps = /* @__PURE__ */ new Map();
|
|
@@ -51383,7 +51599,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
51383
51599
|
];
|
|
51384
51600
|
})();
|
|
51385
51601
|
const sdkInclude = import_node_path84.default.join(
|
|
51386
|
-
|
|
51602
|
+
resolvedSdkPaths(toolchainBin).sysroot,
|
|
51387
51603
|
"darwin/usr/include"
|
|
51388
51604
|
);
|
|
51389
51605
|
const dependencyModuleMaps = clangImportModuleMapFlags(
|
|
@@ -52130,7 +52346,8 @@ ${entry}`);
|
|
|
52130
52346
|
);
|
|
52131
52347
|
if (nativeFlags) {
|
|
52132
52348
|
const toolchainBin = nativeToolchain();
|
|
52133
|
-
const headers = import_node_path84.default.join(
|
|
52349
|
+
const headers = import_node_path84.default.join(resolvedSdkPaths(toolchainBin).sysroot, "darwin");
|
|
52350
|
+
const sdkOverlayDirectory = compileSdk?.id === SWIFT_SDK_MIRROR_ID ? import_node_path84.default.join(layout2.root, SWIFT_SDK_MIRROR) : void 0;
|
|
52134
52351
|
const dependencies2 = swiftTargetDependencies(input.files, targets);
|
|
52135
52352
|
const reachesNative = (name3, seen = /* @__PURE__ */ new Set()) => {
|
|
52136
52353
|
if (native.has(name3)) return true;
|
|
@@ -52148,7 +52365,12 @@ ${entry}`);
|
|
|
52148
52365
|
throw new Error(
|
|
52149
52366
|
target.name + ": missing or unsupported declared iOS deployment target " + JSON.stringify(version2)
|
|
52150
52367
|
);
|
|
52151
|
-
const sdkIntake = objcSdkIntakeFlags(
|
|
52368
|
+
const sdkIntake = objcSdkIntakeFlags(
|
|
52369
|
+
headers,
|
|
52370
|
+
toolchainBin,
|
|
52371
|
+
minimum,
|
|
52372
|
+
sdkOverlayDirectory
|
|
52373
|
+
);
|
|
52152
52374
|
const sdkOverlay = sdkIntake.indexOf("-ivfsoverlay");
|
|
52153
52375
|
if (sdkOverlay >= 0) generatedOverlays.add(sdkIntake[sdkOverlay + 1]);
|
|
52154
52376
|
const intake = [
|
|
@@ -52370,7 +52592,7 @@ ${entry}`);
|
|
|
52370
52592
|
distribution: distribution ?? void 0,
|
|
52371
52593
|
moduleExcludes,
|
|
52372
52594
|
deferDarwinOverlay: native.size > 0 && toolsetOrdersLibcxxBeforeDarwinOverlay(
|
|
52373
|
-
|
|
52595
|
+
resolvedSdkPaths(nativeToolchain()).cFlags
|
|
52374
52596
|
),
|
|
52375
52597
|
...reachesFrameworks ? {
|
|
52376
52598
|
distributionLink: {
|
|
@@ -52413,7 +52635,7 @@ ${entry}`);
|
|
|
52413
52635
|
...headerAliasFlags,
|
|
52414
52636
|
...native.size > 0 ? [
|
|
52415
52637
|
"-fmodule-map-file=" + import_node_path84.default.join(
|
|
52416
|
-
|
|
52638
|
+
resolvedSdkPaths(nativeToolchain()).sysroot,
|
|
52417
52639
|
"darwin/wasm/include/module.modulemap"
|
|
52418
52640
|
)
|
|
52419
52641
|
] : []
|
|
@@ -52423,7 +52645,7 @@ ${entry}`);
|
|
|
52423
52645
|
const prebuiltCompiler = distribution && objcPrebuiltStage !== false ? swiftObjCPrebuiltCompiler(
|
|
52424
52646
|
clang,
|
|
52425
52647
|
layout2.root,
|
|
52426
|
-
|
|
52648
|
+
resolvedSdkPaths(nativeToolchain()).sysroot,
|
|
52427
52649
|
distribution.id,
|
|
52428
52650
|
[...native.keys()],
|
|
52429
52651
|
objcPrebuiltStage
|
|
@@ -52681,12 +52903,55 @@ package.targets += [.target(name: ${JSON.stringify(name3)}, dependencies: ${JSON
|
|
|
52681
52903
|
`;
|
|
52682
52904
|
return name3;
|
|
52683
52905
|
};
|
|
52684
|
-
const
|
|
52685
|
-
|
|
52686
|
-
|
|
52687
|
-
|
|
52906
|
+
const producerUnitCount = /* @__PURE__ */ new Map();
|
|
52907
|
+
for (const target of targets) {
|
|
52908
|
+
if (!producerSet.has(target.name)) continue;
|
|
52909
|
+
producerUnitCount.set(
|
|
52910
|
+
target.name,
|
|
52911
|
+
Math.max(
|
|
52912
|
+
1,
|
|
52913
|
+
targetEntries(target).filter(([file]) => file.endsWith(".swift")).length
|
|
52914
|
+
)
|
|
52915
|
+
);
|
|
52916
|
+
}
|
|
52917
|
+
const MAX_HEADER_STAGE_TARGETS = 100;
|
|
52918
|
+
const MAX_HEADER_STAGE_UNITS = 400;
|
|
52919
|
+
const chunkHeaderProducers = (producers2) => {
|
|
52920
|
+
const levelOrdered = [...producers2].sort(
|
|
52921
|
+
(left, right) => depths.get(left) - depths.get(right)
|
|
52922
|
+
);
|
|
52923
|
+
const totalUnits = levelOrdered.reduce(
|
|
52924
|
+
(sum, name3) => sum + (producerUnitCount.get(name3) ?? 1),
|
|
52925
|
+
0
|
|
52926
|
+
);
|
|
52927
|
+
if (levelOrdered.length <= 1 || levelOrdered.length <= MAX_HEADER_STAGE_TARGETS && totalUnits <= MAX_HEADER_STAGE_UNITS) {
|
|
52928
|
+
return [
|
|
52929
|
+
{
|
|
52930
|
+
target: buildProduct(SWIFT_HEADER_PRODUCTS_TARGET, levelOrdered),
|
|
52931
|
+
producers: levelOrdered
|
|
52932
|
+
}
|
|
52933
|
+
];
|
|
52688
52934
|
}
|
|
52689
|
-
|
|
52935
|
+
const chunks = [];
|
|
52936
|
+
let current2 = [];
|
|
52937
|
+
let units = 0;
|
|
52938
|
+
for (const name3 of levelOrdered) {
|
|
52939
|
+
const size2 = producerUnitCount.get(name3) ?? 1;
|
|
52940
|
+
if (current2.length > 0 && (current2.length >= MAX_HEADER_STAGE_TARGETS || units + size2 > MAX_HEADER_STAGE_UNITS)) {
|
|
52941
|
+
chunks.push(current2);
|
|
52942
|
+
current2 = [];
|
|
52943
|
+
units = 0;
|
|
52944
|
+
}
|
|
52945
|
+
current2.push(name3);
|
|
52946
|
+
units += size2;
|
|
52947
|
+
}
|
|
52948
|
+
if (current2.length > 0) chunks.push(current2);
|
|
52949
|
+
return chunks.map((members2, index) => ({
|
|
52950
|
+
target: buildProduct(`${SWIFT_HEADER_PRODUCTS_TARGET}${index + 1}`, members2),
|
|
52951
|
+
producers: members2
|
|
52952
|
+
}));
|
|
52953
|
+
};
|
|
52954
|
+
const headerBuilds = headerCompiler ? chunkHeaderProducers(orderedProducers) : [...stages].sort(([left], [right]) => left - right).map(([level, producers2]) => ({
|
|
52690
52955
|
target: buildProduct(`${SWIFT_HEADER_PRODUCTS_TARGET}${level}`, producers2),
|
|
52691
52956
|
producers: producers2
|
|
52692
52957
|
}));
|
|
@@ -54213,8 +54478,15 @@ ${compatShape}` : "";
|
|
|
54213
54478
|
frameworkLease
|
|
54214
54479
|
);
|
|
54215
54480
|
const compileFrameworkRoot2 = distribution ? swiftDistributionCompileView(frameworkRoot2, distribution) : frameworkRoot2;
|
|
54216
|
-
const
|
|
54217
|
-
const
|
|
54481
|
+
const sdk2 = swiftModuleSdk(frameworkRoot2).wasmSdkId;
|
|
54482
|
+
const compileSdk2 = mirrorDistribution ? syncSwiftSdkMirror(root2, frameworkRoot2, options2.toolchainBin, sdk2) : {
|
|
54483
|
+
id: sdk2,
|
|
54484
|
+
options: swiftCompileSdkOptions(frameworkRoot2, options2.toolchainBin),
|
|
54485
|
+
toolsetChanged: false
|
|
54486
|
+
};
|
|
54487
|
+
if (mirrorDistribution && compileSdk2.toolsetChanged)
|
|
54488
|
+
clearSwiftSdkPathsCache(import_node_path84.default.join(root2, SWIFT_SDK_MIRROR));
|
|
54489
|
+
const icu2 = options2.linkOnly ? null : swiftIcuAsset(options2.toolchainBin, sdk2);
|
|
54218
54490
|
let prebuilt2;
|
|
54219
54491
|
if (!distribution) {
|
|
54220
54492
|
if (allowWrite) stage("compiling framework products");
|
|
@@ -54225,7 +54497,7 @@ ${compatShape}` : "";
|
|
|
54225
54497
|
frameworkKey,
|
|
54226
54498
|
input,
|
|
54227
54499
|
swift,
|
|
54228
|
-
sdk:
|
|
54500
|
+
sdk: sdk2,
|
|
54229
54501
|
toolchainBin: options2.toolchainBin,
|
|
54230
54502
|
plugins: macroPlugins2,
|
|
54231
54503
|
buildOptions: {
|
|
@@ -54250,7 +54522,8 @@ ${compatShape}` : "";
|
|
|
54250
54522
|
frameworkRoot: frameworkRoot2,
|
|
54251
54523
|
compileFrameworkRoot: compileFrameworkRoot2,
|
|
54252
54524
|
macroPlugins: macroPlugins2,
|
|
54253
|
-
sdk:
|
|
54525
|
+
sdk: sdk2,
|
|
54526
|
+
compileSdk: compileSdk2,
|
|
54254
54527
|
icu: icu2,
|
|
54255
54528
|
prebuilt: prebuilt2,
|
|
54256
54529
|
readHold: readHold2
|
|
@@ -54271,7 +54544,7 @@ ${compatShape}` : "";
|
|
|
54271
54544
|
frameworkRoot,
|
|
54272
54545
|
compileFrameworkRoot,
|
|
54273
54546
|
macroPlugins,
|
|
54274
|
-
|
|
54547
|
+
compileSdk,
|
|
54275
54548
|
icu,
|
|
54276
54549
|
prebuilt
|
|
54277
54550
|
} = frameworks;
|
|
@@ -54289,13 +54562,13 @@ ${compatShape}` : "";
|
|
|
54289
54562
|
if (retireStaleSwiftLink(
|
|
54290
54563
|
root2,
|
|
54291
54564
|
swiftLinkStamp({
|
|
54292
|
-
frameworkKey: `${options2.release}\0${Boolean(distribution)}\0${swiftModuleSdk(frameworkRoot).wasmSdkId}`,
|
|
54565
|
+
frameworkKey: mirrorDistribution ? `${options2.release}\0mirror` : `${options2.release}\0${Boolean(distribution)}\0${swiftModuleSdk(frameworkRoot).wasmSdkId}`,
|
|
54293
54566
|
packageHostMacros
|
|
54294
54567
|
}),
|
|
54295
54568
|
swiftLinkStamp({
|
|
54296
|
-
//
|
|
54297
|
-
//
|
|
54298
|
-
frameworkKey: distribution ? `${options2.release}\0${distribution.wasmSdkChecksum}` : frameworkKey,
|
|
54569
|
+
// mirrored distributions and their WASI SDK mirror invalidate
|
|
54570
|
+
// dependents per changed file instead of wiping every Clang object.
|
|
54571
|
+
frameworkKey: mirrorDistribution ? `${options2.release}\0mirror` : distribution ? `${options2.release}\0${distribution.wasmSdkChecksum}` : frameworkKey,
|
|
54299
54572
|
prebuilt,
|
|
54300
54573
|
packageHostMacros
|
|
54301
54574
|
}),
|
|
@@ -54309,7 +54582,8 @@ ${compatShape}` : "";
|
|
|
54309
54582
|
frameworkRoot,
|
|
54310
54583
|
prebuilt,
|
|
54311
54584
|
!options2.project,
|
|
54312
|
-
options2.project ? false : options2.objcPrebuiltStage ?? (options2.intermediates ? false : void 0)
|
|
54585
|
+
options2.project ? false : options2.objcPrebuiltStage ?? (options2.intermediates ? false : void 0),
|
|
54586
|
+
compileSdk
|
|
54313
54587
|
);
|
|
54314
54588
|
const productFile = import_node_path84.default.join(frameworkRoot, SWIFT_FRAMEWORK_PRODUCT_FILE);
|
|
54315
54589
|
writeSwiftAutolinkLinker(
|
|
@@ -54385,6 +54659,7 @@ ${compatShape}` : "";
|
|
|
54385
54659
|
const jobs = swiftCompilerJobs();
|
|
54386
54660
|
const incrementalPreview = sdkImage !== void 0 && !guestGraph && !options2.project && !input.optimize && !input.unoptimized;
|
|
54387
54661
|
const perFile = input.unoptimized || incrementalPreview;
|
|
54662
|
+
const reproducibleFrameworkRoot = mirrorDistribution ? frameworkRoot : compileFrameworkRoot;
|
|
54388
54663
|
const buildArgs = [
|
|
54389
54664
|
"build",
|
|
54390
54665
|
...projectProcess?.cacheOptions ?? swiftPackageCacheOptions(),
|
|
@@ -54394,10 +54669,10 @@ ${compatShape}` : "";
|
|
|
54394
54669
|
String(jobs),
|
|
54395
54670
|
"--package-path",
|
|
54396
54671
|
root2,
|
|
54397
|
-
...
|
|
54672
|
+
...compileSdk.options,
|
|
54398
54673
|
...swiftObjCSelectorOptions(frameworkRoot),
|
|
54399
54674
|
"--swift-sdk",
|
|
54400
|
-
|
|
54675
|
+
compileSdk.id,
|
|
54401
54676
|
...preparation.targetToolset ? ["--toolset", import_node_path84.default.join(root2, ".peach-target-toolset.json")] : [],
|
|
54402
54677
|
"-c",
|
|
54403
54678
|
"release",
|
|
@@ -54432,7 +54707,7 @@ ${compatShape}` : "";
|
|
|
54432
54707
|
],
|
|
54433
54708
|
...swiftReproducibleBuildFlags([
|
|
54434
54709
|
[import_node_path84.default.dirname(options2.toolchainBin), "toolchain"],
|
|
54435
|
-
[
|
|
54710
|
+
[reproducibleFrameworkRoot, "framework"],
|
|
54436
54711
|
[root2, "build"],
|
|
54437
54712
|
...forwarders
|
|
54438
54713
|
]).flatMap((flag, index, flags) => {
|
|
@@ -54442,8 +54717,8 @@ ${compatShape}` : "";
|
|
|
54442
54717
|
let mapped = flag;
|
|
54443
54718
|
for (const [dir, target] of [
|
|
54444
54719
|
[root2, "/peach/build"],
|
|
54445
|
-
[
|
|
54446
|
-
[(0, import_node_fs82.realpathSync)(
|
|
54720
|
+
[reproducibleFrameworkRoot, "/peach/framework"],
|
|
54721
|
+
[(0, import_node_fs82.realpathSync)(reproducibleFrameworkRoot), "/peach/framework"],
|
|
54447
54722
|
[toolchainDir, "/peach/toolchain"],
|
|
54448
54723
|
[(0, import_node_fs82.realpathSync)(toolchainDir), "/peach/toolchain"]
|
|
54449
54724
|
]) {
|
|
@@ -54472,8 +54747,14 @@ ${compatShape}` : "";
|
|
|
54472
54747
|
(0, import_node_fs82.rmSync)(linked, { force: true });
|
|
54473
54748
|
stage("compiling and linking Swift modules");
|
|
54474
54749
|
const frameworkInterfaces = /* @__PURE__ */ new Map();
|
|
54750
|
+
const compileSdkPaths = swiftSdkPaths(
|
|
54751
|
+
frameworkRoot,
|
|
54752
|
+
options2.toolchainBin,
|
|
54753
|
+
compileSdk.options,
|
|
54754
|
+
compileSdk.id
|
|
54755
|
+
);
|
|
54475
54756
|
const sdkFrameworks = import_node_path84.default.join(
|
|
54476
|
-
|
|
54757
|
+
compileSdkPaths.darwin,
|
|
54477
54758
|
"System/Library/Frameworks"
|
|
54478
54759
|
);
|
|
54479
54760
|
const generatedInterface = (source) => withoutImportedSdkEnumForwards(
|
|
@@ -54677,7 +54958,7 @@ ${compatShape}` : "";
|
|
|
54677
54958
|
options2.toolchainBin,
|
|
54678
54959
|
recipe2,
|
|
54679
54960
|
new Map(
|
|
54680
|
-
preparation.headerBuilds
|
|
54961
|
+
preparation.headerBuilds.flatMap((stage2) => stage2.producers).map((producer) => {
|
|
54681
54962
|
const paths = headerPaths(producer);
|
|
54682
54963
|
return [
|
|
54683
54964
|
swiftTargetModuleName(producer),
|
|
@@ -54771,7 +55052,7 @@ ${compatShape}` : "";
|
|
|
54771
55052
|
moduleRoot: frameworkRoot,
|
|
54772
55053
|
toolchainBin: options2.toolchainBin,
|
|
54773
55054
|
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:
|
|
55055
|
+
sysroot: compileSdkPaths.sysroot,
|
|
54775
55056
|
sdk: swiftModuleSdk(frameworkRoot),
|
|
54776
55057
|
sdkImage,
|
|
54777
55058
|
compilerDigest: compilerSourceDigest,
|
|
@@ -54801,9 +55082,7 @@ ${compatShape}` : "";
|
|
|
54801
55082
|
project: options2.project && {
|
|
54802
55083
|
...options2.project,
|
|
54803
55084
|
env: { ...options2.project.env, ...projectProcess?.env },
|
|
54804
|
-
sdkRoot: import_node_path84.default.dirname(
|
|
54805
|
-
swiftSdkPaths(frameworkRoot, options2.toolchainBin).sysroot
|
|
54806
|
-
),
|
|
55085
|
+
sdkRoot: import_node_path84.default.dirname(compileSdkPaths.sysroot),
|
|
54807
55086
|
linked: output
|
|
54808
55087
|
}
|
|
54809
55088
|
});
|
|
@@ -55064,7 +55343,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
55064
55343
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
55065
55344
|
MULTI_MANIFEST_VERSION = 76;
|
|
55066
55345
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
55067
|
-
compilerSourceDigest = true ? "
|
|
55346
|
+
compilerSourceDigest = true ? "a0b547d433e1045fc952acc099a7aa9b05cde3376f8d2dd002afbf6d4593e5ba" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
55068
55347
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
55069
55348
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
55070
55349
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -83446,112 +83725,112 @@ var init_native_static_libraries = __esm({
|
|
|
83446
83725
|
name: "skia",
|
|
83447
83726
|
nativeSha256: "5312f2b194b1f6b6721388028bf919e56400278245b039f47136aa98f0582333",
|
|
83448
83727
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
83449
|
-
recipe: "
|
|
83728
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83450
83729
|
archive: "libskia.a"
|
|
83451
83730
|
},
|
|
83452
83731
|
{
|
|
83453
83732
|
name: "skia_svg",
|
|
83454
83733
|
nativeSha256: "77adc498cff85db7850fb713c306681c6337f9b4ec42991b3764c8f3eff9d8d0",
|
|
83455
83734
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
83456
|
-
recipe: "
|
|
83735
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83457
83736
|
archive: "libsvg.a"
|
|
83458
83737
|
},
|
|
83459
83738
|
{
|
|
83460
83739
|
name: "skia_skshaper",
|
|
83461
83740
|
nativeSha256: "830bcf260bd24fd79ee5d323e26ec667638795e3a0e555f1093371b8342c345c",
|
|
83462
83741
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
83463
|
-
recipe: "
|
|
83742
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83464
83743
|
archive: "libskshaper.a"
|
|
83465
83744
|
},
|
|
83466
83745
|
{
|
|
83467
83746
|
name: "skia_skparagraph",
|
|
83468
83747
|
nativeSha256: "26afd4e5b11d46b0820a2cd7fd9918eb5a041946e1a1c0d4b91a5d54877e9dda",
|
|
83469
83748
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
83470
|
-
recipe: "
|
|
83749
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83471
83750
|
archive: "libskparagraph.a"
|
|
83472
83751
|
},
|
|
83473
83752
|
{
|
|
83474
83753
|
name: "skia_skunicode_core",
|
|
83475
83754
|
nativeSha256: "629f58c4e81157d42e353b2b255bebb2fd94d1f31d8f8157e982fa4367710526",
|
|
83476
83755
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
83477
|
-
recipe: "
|
|
83756
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83478
83757
|
archive: "libskunicode_core.a"
|
|
83479
83758
|
},
|
|
83480
83759
|
{
|
|
83481
83760
|
name: "skia_skunicode_libgrapheme",
|
|
83482
83761
|
nativeSha256: "047bd82306ba688453a3ff9dc02e203cdf16f2084551cca54f5d2b099baf1895",
|
|
83483
83762
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
83484
|
-
recipe: "
|
|
83763
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83485
83764
|
archive: "libskunicode_libgrapheme.a"
|
|
83486
83765
|
},
|
|
83487
83766
|
{
|
|
83488
83767
|
name: "skia_skottie",
|
|
83489
83768
|
nativeSha256: "75c0dfd82a256e761cddc45475b8109ed8c9a442767cf3a8bf8720eef0dd4af7",
|
|
83490
83769
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
83491
|
-
recipe: "
|
|
83770
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83492
83771
|
archive: "libskottie.a"
|
|
83493
83772
|
},
|
|
83494
83773
|
{
|
|
83495
83774
|
name: "skia_sksg",
|
|
83496
83775
|
nativeSha256: "df9652a46505d3c5c74d55b52295ef39218d2b5856e074117461fa2348312c8d",
|
|
83497
83776
|
upstream: "9f9e6beb751091ef69163d2b4fdcd1e711b594ac",
|
|
83498
|
-
recipe: "
|
|
83777
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83499
83778
|
archive: "libsksg.a"
|
|
83500
83779
|
},
|
|
83501
83780
|
{
|
|
83502
83781
|
name: "skia",
|
|
83503
83782
|
nativeSha256: "c9b007c4da16f66d84b2f108af719b424ef91ee0759e58df0b76930bc6f82e31",
|
|
83504
83783
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
83505
|
-
recipe: "
|
|
83784
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83506
83785
|
archive: "libskia.a"
|
|
83507
83786
|
},
|
|
83508
83787
|
{
|
|
83509
83788
|
name: "skia_svg",
|
|
83510
83789
|
nativeSha256: "159705737769610b60216b114a28ba833840aa1df7833424df99edec4405b86f",
|
|
83511
83790
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
83512
|
-
recipe: "
|
|
83791
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83513
83792
|
archive: "libsvg.a"
|
|
83514
83793
|
},
|
|
83515
83794
|
{
|
|
83516
83795
|
name: "skia_skshaper",
|
|
83517
83796
|
nativeSha256: "934f3dbf3f38bca87b463b664a17c1588840f86ec89cf6961fb2a89b6336b35b",
|
|
83518
83797
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
83519
|
-
recipe: "
|
|
83798
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83520
83799
|
archive: "libskshaper.a"
|
|
83521
83800
|
},
|
|
83522
83801
|
{
|
|
83523
83802
|
name: "skia_skparagraph",
|
|
83524
83803
|
nativeSha256: "29a48349fc9b75c252b22fc6ca5ade90636900f82beec58780f03fd66ab345b3",
|
|
83525
83804
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
83526
|
-
recipe: "
|
|
83805
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83527
83806
|
archive: "libskparagraph.a"
|
|
83528
83807
|
},
|
|
83529
83808
|
{
|
|
83530
83809
|
name: "skia_skunicode_core",
|
|
83531
83810
|
nativeSha256: "096e5139c4de528dbba5a9605895f4c725853e48225503bdfa9c1d70241e5f58",
|
|
83532
83811
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
83533
|
-
recipe: "
|
|
83812
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83534
83813
|
archive: "libskunicode_core.a"
|
|
83535
83814
|
},
|
|
83536
83815
|
{
|
|
83537
83816
|
name: "skia_skunicode_libgrapheme",
|
|
83538
83817
|
nativeSha256: "d1ec3c2d5ad6889eb4fbf4a6bab74f39946739501d40de903f7d8cb2181ac37d",
|
|
83539
83818
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
83540
|
-
recipe: "
|
|
83819
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83541
83820
|
archive: "libskunicode_libgrapheme.a"
|
|
83542
83821
|
},
|
|
83543
83822
|
{
|
|
83544
83823
|
name: "skia_skottie",
|
|
83545
83824
|
nativeSha256: "52ea2e046f45f51df6027d783e923864e8c4ef94a1fe4fc5971e436574d8ae57",
|
|
83546
83825
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
83547
|
-
recipe: "
|
|
83826
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83548
83827
|
archive: "libskottie.a"
|
|
83549
83828
|
},
|
|
83550
83829
|
{
|
|
83551
83830
|
name: "skia_sksg",
|
|
83552
83831
|
nativeSha256: "541a74d8f83dc411efe8eeac377486a5054fab4c7710afe406a20a27efe8f627",
|
|
83553
83832
|
upstream: "b94213a11b3a2edadfae89f0c57a7f4ab72772c9",
|
|
83554
|
-
recipe: "
|
|
83833
|
+
recipe: "50fb5852ce4dba4e96679b78ea0f88a5f6741db10a7380b5257e17591049f0a5",
|
|
83555
83834
|
archive: "libsksg.a"
|
|
83556
83835
|
},
|
|
83557
83836
|
{
|
|
@@ -130290,7 +130569,7 @@ var init_nitro_superset = __esm({
|
|
|
130290
130569
|
init_nitroContract();
|
|
130291
130570
|
init_swift_standin_digest();
|
|
130292
130571
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
130293
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
130572
|
+
NITRO_COMPILER_DIGEST = true ? "80dd47cc4f53f23aef7d6066173498f39993357bb08490b172789693f63a072f" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
130294
130573
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
130295
130574
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
130296
130575
|
published3 = /* @__PURE__ */ new Map();
|