Support build pkg

Signed-off-by: hzzhouzebin <zhouzebin1@huawei.com>
Change-Id: Ief8c1109dfa0bfe9098764732a742ba4842a56d5
This commit is contained in:
hzzhouzebin 2024-03-25 15:41:15 +08:00
parent ddeddb1276
commit 88cfcc8e0e
3 changed files with 13 additions and 2 deletions

View File

@ -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"
}

View File

@ -3,4 +3,5 @@
**/.editorconfig
**/.prettierrc
api/
kits/
kits/
arkts/

View File

@ -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
};