mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2025-02-16 23:20:22 +00:00
Support build pkg
Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com> Change-Id: Ief8c1109dfa0bfe9098764732a742ba4842a56d5
This commit is contained in:
parent
ddeddb1276
commit
88cfcc8e0e
7
BUILD.gn
7
BUILD.gn
@ -50,6 +50,13 @@ ohos_copy("bundle_kits") {
|
||||
module_install_name = ""
|
||||
}
|
||||
|
||||
ohos_copy("bundle_arkts") {
|
||||
sources = [ "//interface/sdk-js/arkts" ]
|
||||
outputs = [ target_out_dir + "/$target_name" ]
|
||||
module_source_dir = target_out_dir + "/$target_name"
|
||||
module_install_name = ""
|
||||
}
|
||||
|
||||
ohos_copy_internal("ets_internal_api") {
|
||||
iv_input = "//interface/sdk-js/api/@internal/ets"
|
||||
}
|
||||
|
3
build-tools/.gitignore
vendored
3
build-tools/.gitignore
vendored
@ -3,4 +3,5 @@
|
||||
**/.editorconfig
|
||||
**/.prettierrc
|
||||
api/
|
||||
kits/
|
||||
kits/
|
||||
arkts/
|
5
kits/@kit.ArkTS.d.ts
vendored
5
kits/@kit.ArkTS.d.ts
vendored
@ -46,11 +46,14 @@ import worker, {
|
||||
} from '@ohos.worker';
|
||||
import xml from '@ohos.xml';
|
||||
import JSON from '@ohos.util.json';
|
||||
import lang from '@arkts.lang';
|
||||
import ArkTSUtils from '@arkts.utils';
|
||||
import collections from '@arkts.collections';
|
||||
|
||||
export {
|
||||
ArrayList, convertxml, DedicatedWorkerGlobalScope, Deque, ErrorEvent, Event, EventListener,
|
||||
EventTarget, HashMap, HashSet, LightWeightMap, LightWeightSet, LinkedList, List, MessageEvent,
|
||||
MessageEvents, PlainArray, PostMessageOptions, Queue, Stack, ThreadWorkerGlobalScope, TreeMap,
|
||||
TreeSet, Vector, WorkerEventListener, WorkerEventTarget, WorkerOptions, buffer, process, taskpool,
|
||||
uri, url, util, worker, xml, JSON
|
||||
uri, url, util, worker, xml, JSON, lang, ArkTSUtils, collections
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user