@proteinjs/reflection-build 1.4.1 → 1.4.3
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/test/examples/source-repository/a/generated/index.js +1 -1
- package/dist/test/examples/source-repository/a/generated/index.js.map +1 -1
- package/dist/test/examples/source-repository/b/generated/index.js +1 -1
- package/dist/test/examples/source-repository/b/generated/index.js.map +1 -1
- package/package.json +4 -4
- package/test/examples/source-repository/a/dist/generated/index.js +1 -1
- package/test/examples/source-repository/a/dist/generated/index.js.map +1 -1
- package/test/examples/source-repository/a/generated/index.ts +1 -1
- package/test/examples/source-repository/a/node_modules/.package-lock.json +20 -16
- package/test/examples/source-repository/a/node_modules/@proteinjs/reflection/package.json +2 -2
- package/test/examples/source-repository/a/node_modules/@proteinjs/util/CHANGELOG.md +11 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/util/dist/src/isInstanceOf.d.ts +1 -1
- package/test/examples/source-repository/a/node_modules/@proteinjs/util/dist/src/isInstanceOf.js +0 -1
- package/test/examples/source-repository/a/node_modules/@proteinjs/util/dist/src/isInstanceOf.js.map +1 -1
- package/test/examples/source-repository/a/node_modules/@proteinjs/util/package.json +2 -2
- package/test/examples/source-repository/a/node_modules/@proteinjs/util/src/isInstanceOf.ts +1 -2
- package/test/examples/source-repository/a/node_modules/@proteinjs/util-node/CHANGELOG.md +41 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/util-node/dist/src/Fs.d.ts +1 -0
- package/test/examples/source-repository/a/node_modules/@proteinjs/util-node/dist/src/Fs.js +52 -17
- package/test/examples/source-repository/a/node_modules/@proteinjs/util-node/dist/src/Fs.js.map +1 -1
- package/test/examples/source-repository/a/node_modules/@proteinjs/util-node/package.json +3 -3
- package/test/examples/source-repository/a/node_modules/@proteinjs/util-node/src/Fs.ts +47 -18
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/.target.mk +2 -2
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/Makefile +5 -5
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/Release/.deps/Release/.node.d +1 -1
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/Release/.deps/Release/obj.target/fse/fsevents.o.d.raw +69 -65
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/Release/.node +0 -0
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/fse.target.mk +24 -21
- package/test/examples/source-repository/a/node_modules/glob-watcher/node_modules/fsevents/build/gyp-mac-tool +100 -106
- package/test/examples/source-repository/a/package-lock.json +24 -20
- package/test/examples/source-repository/a/package.json +4 -4
- package/test/examples/source-repository/b/dist/generated/index.js +1 -1
- package/test/examples/source-repository/b/dist/generated/index.js.map +1 -1
- package/test/examples/source-repository/b/generated/index.ts +1 -1
- package/test/examples/source-repository/b/node_modules/.package-lock.json +16 -12
- package/test/examples/source-repository/b/node_modules/@proteinjs/reflection/package.json +2 -2
- package/test/examples/source-repository/b/node_modules/@proteinjs/util/CHANGELOG.md +11 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/util/dist/src/isInstanceOf.d.ts +1 -1
- package/test/examples/source-repository/b/node_modules/@proteinjs/util/dist/src/isInstanceOf.js +0 -1
- package/test/examples/source-repository/b/node_modules/@proteinjs/util/dist/src/isInstanceOf.js.map +1 -1
- package/test/examples/source-repository/b/node_modules/@proteinjs/util/package.json +2 -2
- package/test/examples/source-repository/b/node_modules/@proteinjs/util/src/isInstanceOf.ts +1 -2
- package/test/examples/source-repository/b/node_modules/@proteinjs/util-node/CHANGELOG.md +41 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/util-node/dist/src/Fs.d.ts +1 -0
- package/test/examples/source-repository/b/node_modules/@proteinjs/util-node/dist/src/Fs.js +52 -17
- package/test/examples/source-repository/b/node_modules/@proteinjs/util-node/dist/src/Fs.js.map +1 -1
- package/test/examples/source-repository/b/node_modules/@proteinjs/util-node/package.json +3 -3
- package/test/examples/source-repository/b/node_modules/@proteinjs/util-node/src/Fs.ts +47 -18
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/.target.mk +2 -2
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/Makefile +5 -5
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/Release/.deps/Release/.node.d +1 -1
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/Release/.deps/Release/obj.target/fse/fsevents.o.d.raw +69 -65
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/Release/.node +0 -0
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/fse.target.mk +24 -21
- package/test/examples/source-repository/b/node_modules/glob-watcher/node_modules/fsevents/build/gyp-mac-tool +100 -106
- package/test/examples/source-repository/b/package-lock.json +20 -16
- package/test/examples/source-repository/b/package.json +4 -4
|
@@ -1,69 +1,73 @@
|
|
|
1
1
|
Release/obj.target/fse/fsevents.o: ../fsevents.cc ../../../../nan/nan.h \
|
|
2
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
3
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
4
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
5
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
6
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
7
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
8
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
9
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
10
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
11
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
12
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
13
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
14
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
15
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
16
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
17
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
18
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
19
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
20
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
21
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
22
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
23
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
24
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
25
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
26
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
27
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
28
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
29
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
30
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
31
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
32
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
33
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
34
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
35
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
36
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
37
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
38
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
39
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
40
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
41
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
42
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
43
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
44
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
45
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
46
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
47
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
48
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
49
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
50
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
51
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
52
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
53
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
54
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
55
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
56
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
57
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
58
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
59
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
60
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
61
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
62
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
63
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
64
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
65
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
66
|
-
/Users/brentbahry/Library/Caches/node-gyp/
|
|
2
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/node_version.h \
|
|
3
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/uv.h \
|
|
4
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/uv/errno.h \
|
|
5
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/uv/version.h \
|
|
6
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/uv/unix.h \
|
|
7
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/uv/threadpool.h \
|
|
8
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/uv/darwin.h \
|
|
9
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/node.h \
|
|
10
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8.h \
|
|
11
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/cppgc/common.h \
|
|
12
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8config.h \
|
|
13
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-array-buffer.h \
|
|
14
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-local-handle.h \
|
|
15
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-handle-base.h \
|
|
16
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-internal.h \
|
|
17
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-memory-span.h \
|
|
18
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-object.h \
|
|
19
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-maybe.h \
|
|
20
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/cppgc/internal/conditional-stack-allocated.h \
|
|
21
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/cppgc/macros.h \
|
|
22
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/cppgc/internal/compiler-specific.h \
|
|
23
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/cppgc/type-traits.h \
|
|
24
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-persistent-handle.h \
|
|
25
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-weak-callback-info.h \
|
|
26
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-primitive.h \
|
|
27
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-data.h \
|
|
28
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-value.h \
|
|
29
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-sandbox.h \
|
|
30
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-traced-handle.h \
|
|
31
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-platform.h \
|
|
32
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-source-location.h \
|
|
33
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-container.h \
|
|
34
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-context.h \
|
|
35
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-snapshot.h \
|
|
36
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-isolate.h \
|
|
37
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-callbacks.h \
|
|
38
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-promise.h \
|
|
39
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-debug.h \
|
|
40
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-script.h \
|
|
41
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-message.h \
|
|
42
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-embedder-heap.h \
|
|
43
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-exception.h \
|
|
44
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-function-callback.h \
|
|
45
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-microtask.h \
|
|
46
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-statistics.h \
|
|
47
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-unwinder.h \
|
|
48
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-embedder-state-scope.h \
|
|
49
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-date.h \
|
|
50
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-extension.h \
|
|
51
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-external.h \
|
|
52
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-function.h \
|
|
53
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-template.h \
|
|
54
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-initialization.h \
|
|
55
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-json.h \
|
|
56
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-locker.h \
|
|
57
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-microtask-queue.h \
|
|
58
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-primitive-object.h \
|
|
59
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-proxy.h \
|
|
60
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-regexp.h \
|
|
61
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-typed-array.h \
|
|
62
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-value-serializer.h \
|
|
63
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-version.h \
|
|
64
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/v8-wasm.h \
|
|
65
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/node_api.h \
|
|
66
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/js_native_api.h \
|
|
67
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/js_native_api_types.h \
|
|
68
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/node_api_types.h \
|
|
69
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/node_buffer.h \
|
|
70
|
+
/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node/node_object_wrap.h \
|
|
67
71
|
../../../../nan/nan_callbacks.h ../../../../nan/nan_callbacks_12_inl.h \
|
|
68
72
|
../../../../nan/nan_maybe_43_inl.h ../../../../nan/nan_converters.h \
|
|
69
73
|
../../../../nan/nan_converters_43_inl.h ../../../../nan/nan_new.h \
|
|
Binary file
|
|
@@ -8,9 +8,11 @@ DEFS_Debug := \
|
|
|
8
8
|
'-DUSING_V8_SHARED=1' \
|
|
9
9
|
'-DV8_DEPRECATION_WARNINGS=1' \
|
|
10
10
|
'-D_GLIBCXX_USE_CXX11_ABI=1' \
|
|
11
|
+
'-D_FILE_OFFSET_BITS=64' \
|
|
11
12
|
'-D_DARWIN_USE_64_BIT_INODE=1' \
|
|
12
13
|
'-D_LARGEFILE_SOURCE' \
|
|
13
|
-
'-
|
|
14
|
+
'-DOPENSSL_NO_PINSHARED' \
|
|
15
|
+
'-DOPENSSL_THREADS' \
|
|
14
16
|
'-DBUILDING_NODE_EXTENSION' \
|
|
15
17
|
'-DDEBUG' \
|
|
16
18
|
'-D_DEBUG'
|
|
@@ -20,7 +22,7 @@ CFLAGS_Debug := \
|
|
|
20
22
|
-O0 \
|
|
21
23
|
-gdwarf-2 \
|
|
22
24
|
-fno-strict-aliasing \
|
|
23
|
-
-mmacosx-version-min=
|
|
25
|
+
-mmacosx-version-min=13.5 \
|
|
24
26
|
-arch \
|
|
25
27
|
arm64 \
|
|
26
28
|
-Wall \
|
|
@@ -45,13 +47,13 @@ CFLAGS_OBJC_Debug :=
|
|
|
45
47
|
CFLAGS_OBJCC_Debug :=
|
|
46
48
|
|
|
47
49
|
INCS_Debug := \
|
|
48
|
-
-I/Users/brentbahry/Library/Caches/node-gyp/
|
|
49
|
-
-I/Users/brentbahry/Library/Caches/node-gyp/
|
|
50
|
-
-I/Users/brentbahry/Library/Caches/node-gyp/
|
|
51
|
-
-I/Users/brentbahry/Library/Caches/node-gyp/
|
|
52
|
-
-I/Users/brentbahry/Library/Caches/node-gyp/
|
|
53
|
-
-I/Users/brentbahry/Library/Caches/node-gyp/
|
|
54
|
-
-I/Users/brentbahry/Library/Caches/node-gyp/
|
|
50
|
+
-I/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node \
|
|
51
|
+
-I/Users/brentbahry/Library/Caches/node-gyp/24.11.1/src \
|
|
52
|
+
-I/Users/brentbahry/Library/Caches/node-gyp/24.11.1/deps/openssl/config \
|
|
53
|
+
-I/Users/brentbahry/Library/Caches/node-gyp/24.11.1/deps/openssl/openssl/include \
|
|
54
|
+
-I/Users/brentbahry/Library/Caches/node-gyp/24.11.1/deps/uv/include \
|
|
55
|
+
-I/Users/brentbahry/Library/Caches/node-gyp/24.11.1/deps/zlib \
|
|
56
|
+
-I/Users/brentbahry/Library/Caches/node-gyp/24.11.1/deps/v8/include \
|
|
55
57
|
-I$(srcdir)/../../../nan
|
|
56
58
|
|
|
57
59
|
DEFS_Release := \
|
|
@@ -60,9 +62,11 @@ DEFS_Release := \
|
|
|
60
62
|
'-DUSING_V8_SHARED=1' \
|
|
61
63
|
'-DV8_DEPRECATION_WARNINGS=1' \
|
|
62
64
|
'-D_GLIBCXX_USE_CXX11_ABI=1' \
|
|
65
|
+
'-D_FILE_OFFSET_BITS=64' \
|
|
63
66
|
'-D_DARWIN_USE_64_BIT_INODE=1' \
|
|
64
67
|
'-D_LARGEFILE_SOURCE' \
|
|
65
|
-
'-
|
|
68
|
+
'-DOPENSSL_NO_PINSHARED' \
|
|
69
|
+
'-DOPENSSL_THREADS' \
|
|
66
70
|
'-DBUILDING_NODE_EXTENSION'
|
|
67
71
|
|
|
68
72
|
# Flags passed to all source files.
|
|
@@ -70,8 +74,7 @@ CFLAGS_Release := \
|
|
|
70
74
|
-O3 \
|
|
71
75
|
-gdwarf-2 \
|
|
72
76
|
-fno-strict-aliasing \
|
|
73
|
-
-
|
|
74
|
-
-mmacosx-version-min=11.0 \
|
|
77
|
+
-mmacosx-version-min=13.5 \
|
|
75
78
|
-arch \
|
|
76
79
|
arm64 \
|
|
77
80
|
-Wall \
|
|
@@ -96,13 +99,13 @@ CFLAGS_OBJC_Release :=
|
|
|
96
99
|
CFLAGS_OBJCC_Release :=
|
|
97
100
|
|
|
98
101
|
INCS_Release := \
|
|
99
|
-
-I/Users/brentbahry/Library/Caches/node-gyp/
|
|
100
|
-
-I/Users/brentbahry/Library/Caches/node-gyp/
|
|
101
|
-
-I/Users/brentbahry/Library/Caches/node-gyp/
|
|
102
|
-
-I/Users/brentbahry/Library/Caches/node-gyp/
|
|
103
|
-
-I/Users/brentbahry/Library/Caches/node-gyp/
|
|
104
|
-
-I/Users/brentbahry/Library/Caches/node-gyp/
|
|
105
|
-
-I/Users/brentbahry/Library/Caches/node-gyp/
|
|
102
|
+
-I/Users/brentbahry/Library/Caches/node-gyp/24.11.1/include/node \
|
|
103
|
+
-I/Users/brentbahry/Library/Caches/node-gyp/24.11.1/src \
|
|
104
|
+
-I/Users/brentbahry/Library/Caches/node-gyp/24.11.1/deps/openssl/config \
|
|
105
|
+
-I/Users/brentbahry/Library/Caches/node-gyp/24.11.1/deps/openssl/openssl/include \
|
|
106
|
+
-I/Users/brentbahry/Library/Caches/node-gyp/24.11.1/deps/uv/include \
|
|
107
|
+
-I/Users/brentbahry/Library/Caches/node-gyp/24.11.1/deps/zlib \
|
|
108
|
+
-I/Users/brentbahry/Library/Caches/node-gyp/24.11.1/deps/v8/include \
|
|
106
109
|
-I$(srcdir)/../../../nan
|
|
107
110
|
|
|
108
111
|
OBJS := \
|
|
@@ -138,7 +141,7 @@ LDFLAGS_Debug := \
|
|
|
138
141
|
-framework CoreFoundation -framework CoreServices \
|
|
139
142
|
-undefined dynamic_lookup \
|
|
140
143
|
-Wl,-search_paths_first \
|
|
141
|
-
-mmacosx-version-min=
|
|
144
|
+
-mmacosx-version-min=13.5 \
|
|
142
145
|
-arch \
|
|
143
146
|
arm64 \
|
|
144
147
|
-L$(builddir) \
|
|
@@ -153,7 +156,7 @@ LDFLAGS_Release := \
|
|
|
153
156
|
-framework CoreFoundation -framework CoreServices \
|
|
154
157
|
-undefined dynamic_lookup \
|
|
155
158
|
-Wl,-search_paths_first \
|
|
156
|
-
-mmacosx-version-min=
|
|
159
|
+
-mmacosx-version-min=13.5 \
|
|
157
160
|
-arch \
|
|
158
161
|
arm64 \
|
|
159
162
|
-L$(builddir) \
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
These functions are executed via gyp-mac-tool when using the Makefile generator.
|
|
10
10
|
"""
|
|
11
11
|
|
|
12
|
-
|
|
13
12
|
import fcntl
|
|
14
13
|
import fnmatch
|
|
15
14
|
import glob
|
|
@@ -26,14 +25,13 @@ import tempfile
|
|
|
26
25
|
|
|
27
26
|
def main(args):
|
|
28
27
|
executor = MacTool()
|
|
29
|
-
exit_code
|
|
30
|
-
if exit_code is not None:
|
|
28
|
+
if (exit_code := executor.Dispatch(args)) is not None:
|
|
31
29
|
sys.exit(exit_code)
|
|
32
30
|
|
|
33
31
|
|
|
34
32
|
class MacTool:
|
|
35
33
|
"""This class performs all the Mac tooling steps. The methods can either be
|
|
36
|
-
|
|
34
|
+
executed directly, or dispatched from an argument list."""
|
|
37
35
|
|
|
38
36
|
def Dispatch(self, args):
|
|
39
37
|
"""Dispatches a string command to a method."""
|
|
@@ -49,7 +47,7 @@ class MacTool:
|
|
|
49
47
|
|
|
50
48
|
def ExecCopyBundleResource(self, source, dest, convert_to_binary):
|
|
51
49
|
"""Copies a resource file to the bundle/Resources directory, performing any
|
|
52
|
-
|
|
50
|
+
necessary compilation on each resource."""
|
|
53
51
|
convert_to_binary = convert_to_binary == "True"
|
|
54
52
|
extension = os.path.splitext(source)[1].lower()
|
|
55
53
|
if os.path.isdir(source):
|
|
@@ -60,9 +58,7 @@ class MacTool:
|
|
|
60
58
|
if os.path.exists(dest):
|
|
61
59
|
shutil.rmtree(dest)
|
|
62
60
|
shutil.copytree(source, dest)
|
|
63
|
-
elif extension
|
|
64
|
-
return self._CopyXIBFile(source, dest)
|
|
65
|
-
elif extension == ".storyboard":
|
|
61
|
+
elif extension in {".xib", ".storyboard"}:
|
|
66
62
|
return self._CopyXIBFile(source, dest)
|
|
67
63
|
elif extension == ".strings" and not convert_to_binary:
|
|
68
64
|
self._CopyStringsFile(source, dest)
|
|
@@ -71,7 +67,7 @@ class MacTool:
|
|
|
71
67
|
os.unlink(dest)
|
|
72
68
|
shutil.copy(source, dest)
|
|
73
69
|
|
|
74
|
-
if convert_to_binary and extension in
|
|
70
|
+
if convert_to_binary and extension in {".plist", ".strings"}:
|
|
75
71
|
self._ConvertToBinary(dest)
|
|
76
72
|
|
|
77
73
|
def _CopyXIBFile(self, source, dest):
|
|
@@ -145,7 +141,7 @@ class MacTool:
|
|
|
145
141
|
# CFPropertyListCreateFromXMLData(): Old-style plist parser: missing
|
|
146
142
|
# semicolon in dictionary.
|
|
147
143
|
# on invalid files. Do the same kind of validation.
|
|
148
|
-
import CoreFoundation
|
|
144
|
+
import CoreFoundation # noqa: PLC0415
|
|
149
145
|
|
|
150
146
|
with open(source, "rb") as in_file:
|
|
151
147
|
s = in_file.read()
|
|
@@ -159,17 +155,15 @@ class MacTool:
|
|
|
159
155
|
|
|
160
156
|
def _DetectInputEncoding(self, file_name):
|
|
161
157
|
"""Reads the first few bytes from file_name and tries to guess the text
|
|
162
|
-
|
|
158
|
+
encoding. Returns None as a guess if it can't detect it."""
|
|
163
159
|
with open(file_name, "rb") as fp:
|
|
164
160
|
try:
|
|
165
161
|
header = fp.read(3)
|
|
166
162
|
except Exception:
|
|
167
163
|
return None
|
|
168
|
-
if header.startswith(b"\
|
|
164
|
+
if header.startswith((b"\xfe\xff", b"\xff\xfe")):
|
|
169
165
|
return "UTF-16"
|
|
170
|
-
elif header.startswith(b"\
|
|
171
|
-
return "UTF-16"
|
|
172
|
-
elif header.startswith(b"\xEF\xBB\xBF"):
|
|
166
|
+
elif header.startswith(b"\xef\xbb\xbf"):
|
|
173
167
|
return "UTF-8"
|
|
174
168
|
else:
|
|
175
169
|
return None
|
|
@@ -260,9 +254,9 @@ class MacTool:
|
|
|
260
254
|
|
|
261
255
|
def ExecFilterLibtool(self, *cmd_list):
|
|
262
256
|
"""Calls libtool and filters out '/path/to/libtool: file: foo.o has no
|
|
263
|
-
|
|
257
|
+
symbols'."""
|
|
264
258
|
libtool_re = re.compile(
|
|
265
|
-
r"^.*libtool: (?:for architecture: \S* )?
|
|
259
|
+
r"^.*libtool: (?:for architecture: \S* )?file: .* has no symbols$"
|
|
266
260
|
)
|
|
267
261
|
libtool_re5 = re.compile(
|
|
268
262
|
r"^.*libtool: warning for library: "
|
|
@@ -309,7 +303,7 @@ class MacTool:
|
|
|
309
303
|
|
|
310
304
|
def ExecPackageFramework(self, framework, version):
|
|
311
305
|
"""Takes a path to Something.framework and the Current version of that and
|
|
312
|
-
|
|
306
|
+
sets up all the symlinks."""
|
|
313
307
|
# Find the name of the binary based on the part before the ".framework".
|
|
314
308
|
binary = os.path.basename(framework).split(".")[0]
|
|
315
309
|
|
|
@@ -338,7 +332,7 @@ class MacTool:
|
|
|
338
332
|
|
|
339
333
|
def _Relink(self, dest, link):
|
|
340
334
|
"""Creates a symlink to |dest| named |link|. If |link| already exists,
|
|
341
|
-
|
|
335
|
+
it is overwritten."""
|
|
342
336
|
if os.path.lexists(link):
|
|
343
337
|
os.remove(link)
|
|
344
338
|
os.symlink(dest, link)
|
|
@@ -363,14 +357,14 @@ class MacTool:
|
|
|
363
357
|
def ExecCompileXcassets(self, keys, *inputs):
|
|
364
358
|
"""Compiles multiple .xcassets files into a single .car file.
|
|
365
359
|
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
360
|
+
This invokes 'actool' to compile all the inputs .xcassets files. The
|
|
361
|
+
|keys| arguments is a json-encoded dictionary of extra arguments to
|
|
362
|
+
pass to 'actool' when the asset catalogs contains an application icon
|
|
363
|
+
or a launch image.
|
|
370
364
|
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
365
|
+
Note that 'actool' does not create the Assets.car file if the asset
|
|
366
|
+
catalogs does not contains imageset.
|
|
367
|
+
"""
|
|
374
368
|
command_line = [
|
|
375
369
|
"xcrun",
|
|
376
370
|
"actool",
|
|
@@ -443,13 +437,13 @@ class MacTool:
|
|
|
443
437
|
def ExecCodeSignBundle(self, key, entitlements, provisioning, path, preserve):
|
|
444
438
|
"""Code sign a bundle.
|
|
445
439
|
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
440
|
+
This function tries to code sign an iOS bundle, following the same
|
|
441
|
+
algorithm as Xcode:
|
|
442
|
+
1. pick the provisioning profile that best match the bundle identifier,
|
|
443
|
+
and copy it into the bundle as embedded.mobileprovision,
|
|
444
|
+
2. copy Entitlements.plist from user or SDK next to the bundle,
|
|
445
|
+
3. code sign the bundle.
|
|
446
|
+
"""
|
|
453
447
|
substitutions, overrides = self._InstallProvisioningProfile(
|
|
454
448
|
provisioning, self._GetCFBundleIdentifier()
|
|
455
449
|
)
|
|
@@ -468,16 +462,16 @@ class MacTool:
|
|
|
468
462
|
def _InstallProvisioningProfile(self, profile, bundle_identifier):
|
|
469
463
|
"""Installs embedded.mobileprovision into the bundle.
|
|
470
464
|
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
465
|
+
Args:
|
|
466
|
+
profile: string, optional, short name of the .mobileprovision file
|
|
467
|
+
to use, if empty or the file is missing, the best file installed
|
|
468
|
+
will be used
|
|
469
|
+
bundle_identifier: string, value of CFBundleIdentifier from Info.plist
|
|
476
470
|
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
471
|
+
Returns:
|
|
472
|
+
A tuple containing two dictionary: variables substitutions and values
|
|
473
|
+
to overrides when generating the entitlements file.
|
|
474
|
+
"""
|
|
481
475
|
source_path, provisioning_data, team_id = self._FindProvisioningProfile(
|
|
482
476
|
profile, bundle_identifier
|
|
483
477
|
)
|
|
@@ -493,24 +487,24 @@ class MacTool:
|
|
|
493
487
|
def _FindProvisioningProfile(self, profile, bundle_identifier):
|
|
494
488
|
"""Finds the .mobileprovision file to use for signing the bundle.
|
|
495
489
|
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
490
|
+
Checks all the installed provisioning profiles (or if the user specified
|
|
491
|
+
the PROVISIONING_PROFILE variable, only consult it) and select the most
|
|
492
|
+
specific that correspond to the bundle identifier.
|
|
499
493
|
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
494
|
+
Args:
|
|
495
|
+
profile: string, optional, short name of the .mobileprovision file
|
|
496
|
+
to use, if empty or the file is missing, the best file installed
|
|
497
|
+
will be used
|
|
498
|
+
bundle_identifier: string, value of CFBundleIdentifier from Info.plist
|
|
505
499
|
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
500
|
+
Returns:
|
|
501
|
+
A tuple of the path to the selected provisioning profile, the data of
|
|
502
|
+
the embedded plist in the provisioning profile and the team identifier
|
|
503
|
+
to use for code signing.
|
|
510
504
|
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
505
|
+
Raises:
|
|
506
|
+
SystemExit: if no .mobileprovision can be used to sign the bundle.
|
|
507
|
+
"""
|
|
514
508
|
profiles_dir = os.path.join(
|
|
515
509
|
os.environ["HOME"], "Library", "MobileDevice", "Provisioning Profiles"
|
|
516
510
|
)
|
|
@@ -558,12 +552,12 @@ class MacTool:
|
|
|
558
552
|
def _LoadProvisioningProfile(self, profile_path):
|
|
559
553
|
"""Extracts the plist embedded in a provisioning profile.
|
|
560
554
|
|
|
561
|
-
|
|
562
|
-
|
|
555
|
+
Args:
|
|
556
|
+
profile_path: string, path to the .mobileprovision file
|
|
563
557
|
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
558
|
+
Returns:
|
|
559
|
+
Content of the plist embedded in the provisioning profile as a dictionary.
|
|
560
|
+
"""
|
|
567
561
|
with tempfile.NamedTemporaryFile() as temp:
|
|
568
562
|
subprocess.check_call(
|
|
569
563
|
["security", "cms", "-D", "-i", profile_path, "-o", temp.name]
|
|
@@ -586,16 +580,16 @@ class MacTool:
|
|
|
586
580
|
def _LoadPlistMaybeBinary(self, plist_path):
|
|
587
581
|
"""Loads into a memory a plist possibly encoded in binary format.
|
|
588
582
|
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
583
|
+
This is a wrapper around plistlib.readPlist that tries to convert the
|
|
584
|
+
plist to the XML format if it can't be parsed (assuming that it is in
|
|
585
|
+
the binary format).
|
|
592
586
|
|
|
593
|
-
|
|
594
|
-
|
|
587
|
+
Args:
|
|
588
|
+
plist_path: string, path to a plist file, in XML or binary format
|
|
595
589
|
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
590
|
+
Returns:
|
|
591
|
+
Content of the plist as a dictionary.
|
|
592
|
+
"""
|
|
599
593
|
try:
|
|
600
594
|
# First, try to read the file using plistlib that only supports XML,
|
|
601
595
|
# and if an exception is raised, convert a temporary copy to XML and
|
|
@@ -611,13 +605,13 @@ class MacTool:
|
|
|
611
605
|
def _GetSubstitutions(self, bundle_identifier, app_identifier_prefix):
|
|
612
606
|
"""Constructs a dictionary of variable substitutions for Entitlements.plist.
|
|
613
607
|
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
608
|
+
Args:
|
|
609
|
+
bundle_identifier: string, value of CFBundleIdentifier from Info.plist
|
|
610
|
+
app_identifier_prefix: string, value for AppIdentifierPrefix
|
|
617
611
|
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
612
|
+
Returns:
|
|
613
|
+
Dictionary of substitutions to apply when generating Entitlements.plist.
|
|
614
|
+
"""
|
|
621
615
|
return {
|
|
622
616
|
"CFBundleIdentifier": bundle_identifier,
|
|
623
617
|
"AppIdentifierPrefix": app_identifier_prefix,
|
|
@@ -626,9 +620,9 @@ class MacTool:
|
|
|
626
620
|
def _GetCFBundleIdentifier(self):
|
|
627
621
|
"""Extracts CFBundleIdentifier value from Info.plist in the bundle.
|
|
628
622
|
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
623
|
+
Returns:
|
|
624
|
+
Value of CFBundleIdentifier in the Info.plist located in the bundle.
|
|
625
|
+
"""
|
|
632
626
|
info_plist_path = os.path.join(
|
|
633
627
|
os.environ["TARGET_BUILD_DIR"], os.environ["INFOPLIST_PATH"]
|
|
634
628
|
)
|
|
@@ -638,19 +632,19 @@ class MacTool:
|
|
|
638
632
|
def _InstallEntitlements(self, entitlements, substitutions, overrides):
|
|
639
633
|
"""Generates and install the ${BundleName}.xcent entitlements file.
|
|
640
634
|
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
635
|
+
Expands variables "$(variable)" pattern in the source entitlements file,
|
|
636
|
+
add extra entitlements defined in the .mobileprovision file and the copy
|
|
637
|
+
the generated plist to "${BundlePath}.xcent".
|
|
644
638
|
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
639
|
+
Args:
|
|
640
|
+
entitlements: string, optional, path to the Entitlements.plist template
|
|
641
|
+
to use, defaults to "${SDKROOT}/Entitlements.plist"
|
|
642
|
+
substitutions: dictionary, variable substitutions
|
|
643
|
+
overrides: dictionary, values to add to the entitlements
|
|
650
644
|
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
645
|
+
Returns:
|
|
646
|
+
Path to the generated entitlements file.
|
|
647
|
+
"""
|
|
654
648
|
source_path = entitlements
|
|
655
649
|
target_path = os.path.join(
|
|
656
650
|
os.environ["BUILT_PRODUCTS_DIR"], os.environ["PRODUCT_NAME"] + ".xcent"
|
|
@@ -670,15 +664,15 @@ class MacTool:
|
|
|
670
664
|
def _ExpandVariables(self, data, substitutions):
|
|
671
665
|
"""Expands variables "$(variable)" in data.
|
|
672
666
|
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
667
|
+
Args:
|
|
668
|
+
data: object, can be either string, list or dictionary
|
|
669
|
+
substitutions: dictionary, variable substitutions to perform
|
|
676
670
|
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
671
|
+
Returns:
|
|
672
|
+
Copy of data where each references to "$(variable)" has been replaced
|
|
673
|
+
by the corresponding value found in substitutions, or left intact if
|
|
674
|
+
the key was not found.
|
|
675
|
+
"""
|
|
682
676
|
if isinstance(data, str):
|
|
683
677
|
for key, value in substitutions.items():
|
|
684
678
|
data = data.replace("$(%s)" % key, value)
|
|
@@ -697,15 +691,15 @@ def NextGreaterPowerOf2(x):
|
|
|
697
691
|
def WriteHmap(output_name, filelist):
|
|
698
692
|
"""Generates a header map based on |filelist|.
|
|
699
693
|
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
694
|
+
Per Mark Mentovai:
|
|
695
|
+
A header map is structured essentially as a hash table, keyed by names used
|
|
696
|
+
in #includes, and providing pathnames to the actual files.
|
|
703
697
|
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
698
|
+
The implementation below and the comment above comes from inspecting:
|
|
699
|
+
http://www.opensource.apple.com/source/distcc/distcc-2503/distcc_dist/include_server/headermap.py?txt
|
|
700
|
+
while also looking at the implementation in clang in:
|
|
701
|
+
https://llvm.org/svn/llvm-project/cfe/trunk/lib/Lex/HeaderMap.cpp
|
|
702
|
+
"""
|
|
709
703
|
magic = 1751998832
|
|
710
704
|
version = 1
|
|
711
705
|
_reserved = 0
|