@treatjs/ant-sdk-linux-x64-gnu 0.1.0-ant-sdk.33ae7017faf9
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/package.json +18 -0
- package/sdk/LICENSES/ant-LICENSE.txt +21 -0
- package/sdk/LICENSES/argtable3-LICENSE.txt +167 -0
- package/sdk/LICENSES/base64-LICENSE.txt +28 -0
- package/sdk/LICENSES/boringssl-LICENSE.txt +238 -0
- package/sdk/LICENSES/brotli-LICENSE.txt +19 -0
- package/sdk/LICENSES/crprintf-LICENSE.txt +21 -0
- package/sdk/LICENSES/double-conversion-LICENSE.txt +26 -0
- package/sdk/LICENSES/libffi-LICENSE.txt +21 -0
- package/sdk/LICENSES/libuv-LICENSE.txt +19 -0
- package/sdk/LICENSES/llhttp-LICENSE.txt +22 -0
- package/sdk/LICENSES/lmdb-LICENSE.txt +47 -0
- package/sdk/LICENSES/minicoro-LICENSE.txt +47 -0
- package/sdk/LICENSES/mir-LICENSE.txt +21 -0
- package/sdk/LICENSES/nghttp2-LICENSE.txt +21 -0
- package/sdk/LICENSES/pcre2-LICENSE.txt +5 -0
- package/sdk/LICENSES/skim-LICENSE.txt +21 -0
- package/sdk/LICENSES/tlsuv-LICENSE.txt +21 -0
- package/sdk/LICENSES/uriparser-LICENSE.txt +202 -0
- package/sdk/LICENSES/utf8proc-LICENSE.txt +93 -0
- package/sdk/LICENSES/uthash-LICENSE.txt +21 -0
- package/sdk/LICENSES/wamr-LICENSE.txt +219 -0
- package/sdk/LICENSES/wirecall-LICENSE.txt +21 -0
- package/sdk/LICENSES/yyjson-LICENSE.txt +21 -0
- package/sdk/LICENSES/zlib-ng-LICENSE.txt +19 -0
- package/sdk/include/ant.h +233 -0
- package/sdk/include/pkg.h +385 -0
- package/sdk/include/treat_ant_bridge.h +74 -0
- package/sdk/lib/libtreat_ant_bridge_helpers.a +0 -0
- package/sdk/lib/libtreat_ant_native.a +0 -0
- package/sdk/metadata/sdk.json +18 -0
- package/sdk/rust/bindings.rs +4847 -0
- package/sdk/rust/tag_constants.rs +13 -0
|
@@ -0,0 +1,385 @@
|
|
|
1
|
+
#ifndef PKG_H
|
|
2
|
+
#define PKG_H
|
|
3
|
+
|
|
4
|
+
#include <stdint.h>
|
|
5
|
+
#include <stddef.h>
|
|
6
|
+
#include <stdbool.h>
|
|
7
|
+
|
|
8
|
+
typedef enum {
|
|
9
|
+
PKG_OK = 0,
|
|
10
|
+
PKG_OUT_OF_MEMORY = -1,
|
|
11
|
+
PKG_INVALID_LOCKFILE = -2,
|
|
12
|
+
PKG_IO_ERROR = -3,
|
|
13
|
+
PKG_NETWORK_ERROR = -4,
|
|
14
|
+
PKG_CACHE_ERROR = -5,
|
|
15
|
+
PKG_EXTRACT_ERROR = -6,
|
|
16
|
+
PKG_RESOLVE_ERROR = -7,
|
|
17
|
+
PKG_INVALID_ARGUMENT = -8,
|
|
18
|
+
PKG_NOT_FOUND = -9,
|
|
19
|
+
PKG_INTEGRITY_MISMATCH = -10,
|
|
20
|
+
} pkg_error_t;
|
|
21
|
+
|
|
22
|
+
typedef enum {
|
|
23
|
+
PKG_REGISTRY_CHOICE_UNKNOWN = 0,
|
|
24
|
+
PKG_REGISTRY_CHOICE_PRIMARY = 1,
|
|
25
|
+
PKG_REGISTRY_CHOICE_FALLBACK = 2,
|
|
26
|
+
} pkg_registry_choice_t;
|
|
27
|
+
|
|
28
|
+
typedef enum {
|
|
29
|
+
PKG_PHASE_RESOLVING = 0,
|
|
30
|
+
PKG_PHASE_FETCHING = 1,
|
|
31
|
+
PKG_PHASE_EXTRACTING = 2,
|
|
32
|
+
PKG_PHASE_LINKING = 3,
|
|
33
|
+
PKG_PHASE_CACHING = 4,
|
|
34
|
+
PKG_PHASE_POSTINSTALL = 5,
|
|
35
|
+
} pkg_phase_t;
|
|
36
|
+
|
|
37
|
+
typedef void (*pkg_progress_cb)(
|
|
38
|
+
void *user_data,
|
|
39
|
+
pkg_phase_t phase,
|
|
40
|
+
uint32_t current,
|
|
41
|
+
uint32_t total,
|
|
42
|
+
const char *message
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
typedef struct {
|
|
46
|
+
const char *cache_dir;
|
|
47
|
+
const char *registry_url;
|
|
48
|
+
uint32_t max_connections;
|
|
49
|
+
pkg_progress_cb progress_callback;
|
|
50
|
+
void *user_data;
|
|
51
|
+
bool verbose;
|
|
52
|
+
bool force;
|
|
53
|
+
} pkg_options_t;
|
|
54
|
+
|
|
55
|
+
typedef struct pkg_context pkg_context_t;
|
|
56
|
+
|
|
57
|
+
void pkg_set_trace_enabled(bool enabled);
|
|
58
|
+
|
|
59
|
+
const char *pkg_error_string(const pkg_context_t *ctx);
|
|
60
|
+
|
|
61
|
+
pkg_context_t *pkg_init(const pkg_options_t *options);
|
|
62
|
+
|
|
63
|
+
pkg_error_t pkg_install(
|
|
64
|
+
pkg_context_t *ctx,
|
|
65
|
+
const char *package_json_path,
|
|
66
|
+
const char *lockfile_path,
|
|
67
|
+
const char *node_modules_path
|
|
68
|
+
);
|
|
69
|
+
|
|
70
|
+
pkg_error_t pkg_resolve_and_install(
|
|
71
|
+
pkg_context_t *ctx,
|
|
72
|
+
const char *package_json_path,
|
|
73
|
+
const char *lockfile_path,
|
|
74
|
+
const char *node_modules_path
|
|
75
|
+
);
|
|
76
|
+
|
|
77
|
+
pkg_error_t pkg_resolve_check_many(
|
|
78
|
+
pkg_context_t *ctx,
|
|
79
|
+
const char *const *package_specs,
|
|
80
|
+
uint32_t count
|
|
81
|
+
);
|
|
82
|
+
|
|
83
|
+
pkg_registry_choice_t pkg_choose_registry_many(
|
|
84
|
+
const char *const *package_specs,
|
|
85
|
+
uint32_t count,
|
|
86
|
+
const char *cache_dir,
|
|
87
|
+
const char *primary_registry,
|
|
88
|
+
const char *fallback_registry
|
|
89
|
+
);
|
|
90
|
+
|
|
91
|
+
pkg_registry_choice_t pkg_cached_resolution_registry_choice(
|
|
92
|
+
const char *package_json_path,
|
|
93
|
+
const char *cache_dir,
|
|
94
|
+
const char *primary_registry,
|
|
95
|
+
const char *fallback_registry
|
|
96
|
+
);
|
|
97
|
+
|
|
98
|
+
pkg_error_t pkg_add(
|
|
99
|
+
pkg_context_t *ctx,
|
|
100
|
+
const char *package_json_path,
|
|
101
|
+
const char *package_spec,
|
|
102
|
+
bool dev
|
|
103
|
+
);
|
|
104
|
+
|
|
105
|
+
pkg_error_t pkg_add_many(
|
|
106
|
+
pkg_context_t *ctx,
|
|
107
|
+
const char *package_json_path,
|
|
108
|
+
const char *const *package_specs,
|
|
109
|
+
uint32_t count,
|
|
110
|
+
bool dev
|
|
111
|
+
);
|
|
112
|
+
|
|
113
|
+
pkg_error_t pkg_remove(
|
|
114
|
+
pkg_context_t *ctx,
|
|
115
|
+
const char *package_json_path,
|
|
116
|
+
const char *package_name
|
|
117
|
+
);
|
|
118
|
+
|
|
119
|
+
void pkg_free(pkg_context_t *ctx);
|
|
120
|
+
void pkg_cache_sync(pkg_context_t *ctx);
|
|
121
|
+
|
|
122
|
+
typedef struct {
|
|
123
|
+
uint64_t total_size;
|
|
124
|
+
uint64_t db_size;
|
|
125
|
+
uint32_t package_count;
|
|
126
|
+
} pkg_cache_stats_t;
|
|
127
|
+
|
|
128
|
+
pkg_error_t pkg_cache_stats(pkg_context_t *ctx, pkg_cache_stats_t *out);
|
|
129
|
+
|
|
130
|
+
int32_t pkg_cache_prune(pkg_context_t *ctx, uint32_t max_age_days);
|
|
131
|
+
|
|
132
|
+
typedef struct {
|
|
133
|
+
uint32_t package_count;
|
|
134
|
+
uint32_t cache_hits;
|
|
135
|
+
uint32_t cache_misses;
|
|
136
|
+
uint32_t files_linked;
|
|
137
|
+
uint32_t files_copied;
|
|
138
|
+
uint32_t packages_installed;
|
|
139
|
+
uint32_t packages_skipped;
|
|
140
|
+
uint64_t elapsed_ms;
|
|
141
|
+
} pkg_install_result_t;
|
|
142
|
+
|
|
143
|
+
typedef struct {
|
|
144
|
+
const char *name;
|
|
145
|
+
const char *version;
|
|
146
|
+
bool direct;
|
|
147
|
+
} pkg_added_package_t;
|
|
148
|
+
|
|
149
|
+
typedef struct {
|
|
150
|
+
const char *name;
|
|
151
|
+
const char *script;
|
|
152
|
+
} pkg_lifecycle_script_t;
|
|
153
|
+
|
|
154
|
+
uint32_t pkg_get_added_count(const pkg_context_t *ctx);
|
|
155
|
+
uint32_t pkg_count_installed(const char *node_modules_path);
|
|
156
|
+
uint32_t pkg_get_lifecycle_script_count(const pkg_context_t *ctx);
|
|
157
|
+
|
|
158
|
+
pkg_error_t pkg_discover_lifecycle_scripts(
|
|
159
|
+
pkg_context_t *ctx,
|
|
160
|
+
const char *node_modules_path
|
|
161
|
+
);
|
|
162
|
+
|
|
163
|
+
pkg_error_t pkg_get_lifecycle_script(
|
|
164
|
+
const pkg_context_t *ctx,
|
|
165
|
+
uint32_t index,
|
|
166
|
+
pkg_lifecycle_script_t *out
|
|
167
|
+
);
|
|
168
|
+
|
|
169
|
+
pkg_error_t pkg_run_postinstall(
|
|
170
|
+
pkg_context_t *ctx,
|
|
171
|
+
const char *node_modules_path,
|
|
172
|
+
const char **package_names,
|
|
173
|
+
uint32_t count
|
|
174
|
+
);
|
|
175
|
+
|
|
176
|
+
pkg_error_t pkg_add_trusted_dependencies(
|
|
177
|
+
const char *package_json_path,
|
|
178
|
+
const char **package_names,
|
|
179
|
+
uint32_t count
|
|
180
|
+
);
|
|
181
|
+
|
|
182
|
+
pkg_error_t pkg_get_install_result(
|
|
183
|
+
pkg_context_t *ctx,
|
|
184
|
+
pkg_install_result_t *out
|
|
185
|
+
);
|
|
186
|
+
|
|
187
|
+
pkg_error_t pkg_get_added_package(
|
|
188
|
+
const pkg_context_t *ctx,
|
|
189
|
+
uint32_t index,
|
|
190
|
+
pkg_added_package_t *out
|
|
191
|
+
);
|
|
192
|
+
|
|
193
|
+
int pkg_get_latest_available_version(
|
|
194
|
+
pkg_context_t *ctx,
|
|
195
|
+
const char *package_name,
|
|
196
|
+
const char *installed_version,
|
|
197
|
+
char *out_version,
|
|
198
|
+
size_t out_version_len
|
|
199
|
+
);
|
|
200
|
+
|
|
201
|
+
int pkg_get_bin_path(
|
|
202
|
+
const char *node_modules_path,
|
|
203
|
+
const char *bin_name,
|
|
204
|
+
char *out_path,
|
|
205
|
+
size_t out_path_len
|
|
206
|
+
);
|
|
207
|
+
|
|
208
|
+
typedef void (*pkg_bin_callback)(
|
|
209
|
+
const char *name,
|
|
210
|
+
void *user_data
|
|
211
|
+
);
|
|
212
|
+
|
|
213
|
+
int pkg_list_bins(
|
|
214
|
+
const char *node_modules_path,
|
|
215
|
+
pkg_bin_callback callback,
|
|
216
|
+
void *user_data
|
|
217
|
+
);
|
|
218
|
+
|
|
219
|
+
int pkg_list_package_bins(
|
|
220
|
+
const char *node_modules_path,
|
|
221
|
+
const char *package_name,
|
|
222
|
+
pkg_bin_callback callback,
|
|
223
|
+
void *user_data
|
|
224
|
+
);
|
|
225
|
+
|
|
226
|
+
int pkg_get_script(
|
|
227
|
+
const char *package_json_path,
|
|
228
|
+
const char *script_name,
|
|
229
|
+
char *out_script,
|
|
230
|
+
size_t out_script_len
|
|
231
|
+
);
|
|
232
|
+
|
|
233
|
+
typedef struct {
|
|
234
|
+
int exit_code;
|
|
235
|
+
int signal;
|
|
236
|
+
} pkg_script_result_t;
|
|
237
|
+
|
|
238
|
+
pkg_error_t pkg_run_script(
|
|
239
|
+
const char *package_json_path,
|
|
240
|
+
const char *script_name,
|
|
241
|
+
const char *node_modules_path,
|
|
242
|
+
const char *extra_args,
|
|
243
|
+
pkg_script_result_t *result
|
|
244
|
+
);
|
|
245
|
+
|
|
246
|
+
typedef void (*pkg_script_callback)(
|
|
247
|
+
const char *name,
|
|
248
|
+
const char *command,
|
|
249
|
+
void *user_data
|
|
250
|
+
);
|
|
251
|
+
|
|
252
|
+
int pkg_list_scripts(
|
|
253
|
+
const char *package_json_path,
|
|
254
|
+
pkg_script_callback callback,
|
|
255
|
+
void *user_data
|
|
256
|
+
);
|
|
257
|
+
|
|
258
|
+
typedef struct {
|
|
259
|
+
uint8_t peer: 1;
|
|
260
|
+
uint8_t dev: 1;
|
|
261
|
+
uint8_t optional: 1;
|
|
262
|
+
uint8_t direct: 1;
|
|
263
|
+
uint8_t _reserved: 4;
|
|
264
|
+
} pkg_dep_type_t;
|
|
265
|
+
|
|
266
|
+
typedef void (*pkg_why_callback)(
|
|
267
|
+
const char *name,
|
|
268
|
+
const char *version,
|
|
269
|
+
const char *constraint,
|
|
270
|
+
pkg_dep_type_t dep_type,
|
|
271
|
+
void *user_data
|
|
272
|
+
);
|
|
273
|
+
|
|
274
|
+
typedef struct {
|
|
275
|
+
char target_version[64];
|
|
276
|
+
bool found;
|
|
277
|
+
bool is_peer;
|
|
278
|
+
bool is_dev;
|
|
279
|
+
bool is_direct;
|
|
280
|
+
} pkg_why_info_t;
|
|
281
|
+
|
|
282
|
+
int pkg_why_info(
|
|
283
|
+
const char *lockfile_path,
|
|
284
|
+
const char *package_name,
|
|
285
|
+
pkg_why_info_t *out
|
|
286
|
+
);
|
|
287
|
+
|
|
288
|
+
int pkg_why(
|
|
289
|
+
const char *lockfile_path,
|
|
290
|
+
const char *package_name,
|
|
291
|
+
pkg_why_callback callback,
|
|
292
|
+
void *user_data
|
|
293
|
+
);
|
|
294
|
+
|
|
295
|
+
typedef struct {
|
|
296
|
+
const char *name;
|
|
297
|
+
const char *version;
|
|
298
|
+
const char *description;
|
|
299
|
+
const char *license;
|
|
300
|
+
const char *homepage;
|
|
301
|
+
const char *tarball;
|
|
302
|
+
const char *shasum;
|
|
303
|
+
const char *integrity;
|
|
304
|
+
const char *keywords;
|
|
305
|
+
const char *published;
|
|
306
|
+
uint32_t dep_count;
|
|
307
|
+
uint32_t version_count;
|
|
308
|
+
uint64_t unpacked_size;
|
|
309
|
+
} pkg_info_t;
|
|
310
|
+
|
|
311
|
+
typedef struct {
|
|
312
|
+
const char *tag;
|
|
313
|
+
const char *version;
|
|
314
|
+
} pkg_dist_tag_t;
|
|
315
|
+
|
|
316
|
+
typedef struct {
|
|
317
|
+
const char *name;
|
|
318
|
+
const char *email;
|
|
319
|
+
} pkg_maintainer_t;
|
|
320
|
+
|
|
321
|
+
pkg_error_t pkg_info(
|
|
322
|
+
pkg_context_t *ctx,
|
|
323
|
+
const char *package_spec,
|
|
324
|
+
pkg_info_t *out
|
|
325
|
+
);
|
|
326
|
+
|
|
327
|
+
uint32_t pkg_info_dist_tag_count(const pkg_context_t *ctx);
|
|
328
|
+
pkg_error_t pkg_info_get_dist_tag(const pkg_context_t *ctx, uint32_t index, pkg_dist_tag_t *out);
|
|
329
|
+
|
|
330
|
+
uint32_t pkg_info_maintainer_count(const pkg_context_t *ctx);
|
|
331
|
+
pkg_error_t pkg_info_get_maintainer(const pkg_context_t *ctx, uint32_t index, pkg_maintainer_t *out);
|
|
332
|
+
|
|
333
|
+
typedef struct {
|
|
334
|
+
const char *name;
|
|
335
|
+
const char *version;
|
|
336
|
+
} pkg_dependency_t;
|
|
337
|
+
|
|
338
|
+
uint32_t pkg_info_dependency_count(const pkg_context_t *ctx);
|
|
339
|
+
pkg_error_t pkg_info_get_dependency(const pkg_context_t *ctx, uint32_t index, pkg_dependency_t *out);
|
|
340
|
+
|
|
341
|
+
pkg_error_t pkg_exec_temp(
|
|
342
|
+
pkg_context_t *ctx,
|
|
343
|
+
const char *package_spec,
|
|
344
|
+
char *out_bin_path,
|
|
345
|
+
size_t out_bin_path_len
|
|
346
|
+
);
|
|
347
|
+
|
|
348
|
+
pkg_error_t pkg_add_global(
|
|
349
|
+
pkg_context_t *ctx,
|
|
350
|
+
const char *package_spec
|
|
351
|
+
);
|
|
352
|
+
|
|
353
|
+
pkg_error_t pkg_add_global_many(
|
|
354
|
+
pkg_context_t *ctx,
|
|
355
|
+
const char *const *package_specs,
|
|
356
|
+
uint32_t count
|
|
357
|
+
);
|
|
358
|
+
|
|
359
|
+
pkg_error_t pkg_remove_global(
|
|
360
|
+
pkg_context_t *ctx,
|
|
361
|
+
const char *package_name
|
|
362
|
+
);
|
|
363
|
+
|
|
364
|
+
typedef void (*pkg_global_list_callback)(
|
|
365
|
+
const char *name,
|
|
366
|
+
const char *version,
|
|
367
|
+
void *user_data
|
|
368
|
+
);
|
|
369
|
+
|
|
370
|
+
uint32_t pkg_count_global(pkg_context_t *ctx);
|
|
371
|
+
uint32_t pkg_count_local(pkg_context_t *ctx);
|
|
372
|
+
|
|
373
|
+
pkg_error_t pkg_list_global(
|
|
374
|
+
pkg_context_t *ctx,
|
|
375
|
+
pkg_global_list_callback callback,
|
|
376
|
+
void *user_data
|
|
377
|
+
);
|
|
378
|
+
|
|
379
|
+
pkg_error_t pkg_list_local(
|
|
380
|
+
pkg_context_t *ctx,
|
|
381
|
+
pkg_global_list_callback callback,
|
|
382
|
+
void *user_data
|
|
383
|
+
);
|
|
384
|
+
|
|
385
|
+
#endif
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
#include "ant.h"
|
|
2
|
+
#include "modules/bigint.h"
|
|
3
|
+
|
|
4
|
+
#ifdef js_mkfun
|
|
5
|
+
#undef js_mkfun
|
|
6
|
+
#endif
|
|
7
|
+
|
|
8
|
+
ant_value_t js_mkfun(ant_cfunc_t fn);
|
|
9
|
+
ant_value_t js_mkffi(unsigned int idx);
|
|
10
|
+
int js_getffi(ant_value_t val);
|
|
11
|
+
|
|
12
|
+
struct arg_file;
|
|
13
|
+
struct ant_runtime;
|
|
14
|
+
|
|
15
|
+
int ant_promise_state(ant_value_t promise);
|
|
16
|
+
ant_value_t ant_promise_value(ant_value_t promise);
|
|
17
|
+
int ant_await_value(ant_t *js, ant_value_t value, ant_value_t *out);
|
|
18
|
+
int ant_await_value_timeout(ant_t *js, ant_value_t value, ant_value_t *out, uint64_t timeout_ms);
|
|
19
|
+
ant_value_t ant_call_function(ant_t *js, ant_value_t func, ant_value_t *args, int argc);
|
|
20
|
+
ant_value_t ant_bridge_throw_error(ant_t *js, int err_type, const char *message);
|
|
21
|
+
|
|
22
|
+
void ant_event_loop_tick(ant_t *js);
|
|
23
|
+
|
|
24
|
+
// Bridge promise plumbing: see wrapper_helpers.c.
|
|
25
|
+
void ant_set_poll_hook(void (*hook)(void *), void *data);
|
|
26
|
+
void ant_bridge_init_wakeup(void);
|
|
27
|
+
void ant_bridge_wake(void);
|
|
28
|
+
|
|
29
|
+
size_t os_thread_stack_size(void);
|
|
30
|
+
struct ant_runtime *ant_runtime_init(ant_t *js, int argc, char **argv, struct arg_file *ls_p);
|
|
31
|
+
|
|
32
|
+
void init_symbol_module(void);
|
|
33
|
+
void init_iterator_module(void);
|
|
34
|
+
void init_timer_module(void);
|
|
35
|
+
void init_domexception_module(void);
|
|
36
|
+
void init_globals_module(void);
|
|
37
|
+
void init_builtin_module(void);
|
|
38
|
+
void init_buffer_module(void);
|
|
39
|
+
void init_structured_clone_module(void);
|
|
40
|
+
void init_abort_module(void);
|
|
41
|
+
void init_headers_module(void);
|
|
42
|
+
void init_blob_module(void);
|
|
43
|
+
void init_formdata_module(void);
|
|
44
|
+
void init_math_module(void);
|
|
45
|
+
void init_bigint_module(void);
|
|
46
|
+
void init_date_module(void);
|
|
47
|
+
void init_regex_module(void);
|
|
48
|
+
void init_collections_module(void);
|
|
49
|
+
void init_queuing_strategies_module(void);
|
|
50
|
+
void init_readable_stream_module(void);
|
|
51
|
+
void init_writable_stream_module(void);
|
|
52
|
+
void init_transform_stream_module(void);
|
|
53
|
+
void init_codec_stream_module(void);
|
|
54
|
+
void init_compression_stream_module(void);
|
|
55
|
+
void init_fs_module(void);
|
|
56
|
+
void init_atomics_module(void);
|
|
57
|
+
void init_crypto_module(void);
|
|
58
|
+
void init_request_module(void);
|
|
59
|
+
void init_response_module(void);
|
|
60
|
+
void init_fetch_module(void);
|
|
61
|
+
void init_console_module(void);
|
|
62
|
+
void init_json_module(void);
|
|
63
|
+
void init_process_module(void);
|
|
64
|
+
void init_tty_module(void);
|
|
65
|
+
void init_events_module(void);
|
|
66
|
+
void init_performance_module(void);
|
|
67
|
+
void init_uri_module(void);
|
|
68
|
+
void init_url_module(void);
|
|
69
|
+
void init_reflect_module(void);
|
|
70
|
+
void init_textcodec_module(void);
|
|
71
|
+
void init_sessionstorage_module(void);
|
|
72
|
+
void init_localstorage_module(void);
|
|
73
|
+
void init_navigator_module(void);
|
|
74
|
+
void init_observable_module(void);
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"sdk_version": "0.1.0",
|
|
3
|
+
"bridge_abi_version": "0.1.0",
|
|
4
|
+
"ant_version": "0.1.0",
|
|
5
|
+
"ant_repo": "https://github.com/nealol/ant.git",
|
|
6
|
+
"ant_rev": "33ae7017faf9def4233c3839bee02e33c7d0b452",
|
|
7
|
+
"ant_source": "https://github.com/nealol/ant.git#33ae7017faf9def4233c3839bee02e33c7d0b452",
|
|
8
|
+
"target": "x86_64-unknown-linux-gnu",
|
|
9
|
+
"include_dir": "../include",
|
|
10
|
+
"lib_dir": "../lib",
|
|
11
|
+
"static_libs": [
|
|
12
|
+
"treat_ant_bridge_helpers",
|
|
13
|
+
"treat_ant_native"
|
|
14
|
+
],
|
|
15
|
+
"system_libs": ["pthread","m","dl","uuid","stdc++"],
|
|
16
|
+
"frameworks": [],
|
|
17
|
+
"link_args": ["-Wl,--allow-multiple-definition"]
|
|
18
|
+
}
|