forked from realm/realm-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
binding.gyp
163 lines (158 loc) · 4.72 KB
/
binding.gyp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
{
"includes": [
"target_defaults.gypi",
"realm.gypi"
],
"targets": [
{
"target_name": "realm",
"dependencies": [
"object-store"
],
"sources": [
"src/js_realm.cpp",
"src/node/node_init.cpp",
"src/node/platform.cpp",
"src/concurrent_deque.hpp",
"src/event_loop_dispatcher.hpp",
"src/js_class.hpp",
"src/js_collection.hpp",
"src/js_list.hpp",
"src/js_object_accessor.hpp",
"src/js_observable.hpp",
"src/js_realm.hpp",
"src/js_realm_object.hpp",
"src/js_results.hpp",
"src/js_schema.hpp",
"src/js_sync.hpp",
"src/js_types.hpp",
"src/js_util.hpp",
"src/node/node_class.hpp",
"src/node/node_context.hpp",
"src/node/node_exception.hpp",
"src/node/node_function.hpp",
"src/node/node_init.hpp",
"src/node/node_object.hpp",
"src/node/node_protected.hpp",
"src/node/node_return_value.hpp",
"src/node/node_string.hpp",
"src/node/node_types.hpp",
"src/node/node_value.hpp",
"src/platform.hpp",
"src/rpc.hpp",
],
"include_dirs": [
"src"
],
"conditions": [
["runtime=='electron'", {
"dependencies": [ "OpenSSL" ]
}],
["OS=='win'", {
"dependencies": [ "OpenSSL" ]
}],
]
},
{
"target_name": "action_after_build",
"type": "none",
"dependencies": [ "<(module_name)" ],
"copies": [
{
"files": [ "<(PRODUCT_DIR)/<(module_name).node" ],
"destination": "<(module_path)"
}
]
},
{
"target_name": "scripts",
"type": "none",
"sources": [
"CHANGELOG.md",
"README.md",
"binding.gyp",
"dependencies.list",
"package.json",
"realm.gypi",
"target_defaults.gypi",
"lib/collection-methods.js",
"lib/errors.js",
"lib/extensions.js",
"lib/index.d.ts",
"lib/index.js",
"lib/management-schema.js",
"lib/permission-api.js",
"lib/submit-analytics.js",
"lib/user-methods.js",
"lib/browser/base64.js",
"lib/browser/collections.js",
"lib/browser/constants.js",
"lib/browser/index.js",
"lib/browser/lists.js",
"lib/browser/objects.js",
"lib/browser/results.js",
"lib/browser/rpc.js",
"lib/browser/session.js",
"lib/browser/user.js",
"lib/browser/util.js"
"scripts/build-node-pre-gyp.ps1",
"scripts/build-node-pre-gyp.sh",
"scripts/ccache-clang .sh",
"scripts/ccache-clang.sh",
"scripts/changelog-header.sh",
"scripts/check-environment.js",
"scripts/docker-android-wrapper.sh",
"scripts/docker-wrapper.sh",
"scripts/docker_build_wrapper.sh",
"scripts/download-object-server.sh",
"scripts/download-realm.js",
"scripts/download_and_start_server.sh",
"scripts/find-ios-device.rb",
"scripts/git-win-symlink-aliases",
"scripts/handle-license-check.js",
"scripts/prepublish.js",
"scripts/publish.sh",
"scripts/react-tests-android.js",
"scripts/set-version.sh",
"scripts/test.sh",
"tests/.eslintrc.json",
"tests/index.js",
"tests/js/admin-user-helper.js",
"tests/js/asserts.js",
"tests/js/async-tests.js",
"tests/js/download-api-helper.js",
"tests/js/encryption-tests.js",
"tests/js/garbage-collection.js",
"tests/js/index.js",
"tests/js/linkingobjects-tests.js",
"tests/js/list-tests.js",
"tests/js/migration-tests.js",
"tests/js/object-id-tests.js",
"tests/js/object-tests.js",
"tests/js/package.json",
"tests/js/permission-tests.js",
"tests/js/query-tests.js",
"tests/js/query-tests.json",
"tests/js/realm-tests.js",
"tests/js/results-tests.js",
"tests/js/schemas.js",
"tests/js/session-tests.js",
"tests/js/user-tests.js",
"tests/js/worker-tests-script.js",
"tests/js/worker.js",
"tests/package.json",
"tests/spec/helpers/mock_realm.js",
"tests/spec/helpers/reporters.js",
"tests/spec/helpers/setup-module-path.js",
"tests/spec/support/jasmine.json",
"tests/spec/unit_tests.js",
"tests/test-runners/ava/package.json",
"tests/test-runners/ava/test.js",
"tests/test-runners/jest/package.json",
"tests/test-runners/jest/test.js",
"tests/test-runners/mocha/package.json",
"tests/test-runners/mocha/test.js",
]
}
]
}