Signed-off-by: 小城茶语 <guorunzhi@huawei.com>
This commit is contained in:
小城茶语
2025-07-05 11:52:40 +08:00
parent 2119eca617
commit b6b734d412
3 changed files with 9 additions and 18 deletions
+2 -1
View File
@@ -33,7 +33,8 @@
"napi",
"safwk",
"samgr",
"ace_engine"
"ace_engine",
"os_account"
],
"third_party": []
},
+6 -16
View File
@@ -26,22 +26,12 @@ config("calendarmanager_public_config") {
jspath = "js/editor.js"
# compile .js to .abc.
action("gen_editor_abc") {
visibility = [ ":*" ]
script = "../../../../arkcompiler/ets_frontend/es2panda/scripts/generate_js_bytecode.py"
args = [
"--src-js",
rebase_path(jspath),
"--dst-file",
rebase_path(target_out_dir + "/editor.abc"),
"--frontend-tool-path",
rebase_path("${es2abc_build_path}"),
"--module",
]
deps = [ "../../../../arkcompiler/ets_frontend/es2panda:es2panda_build" ]
inputs = [ jspath ]
outputs = [ target_out_dir + "/editor.abc" ]
es2abc_gen_abc("gen_editor_abc") {
src_js = rebase_path(jspath)
dst_file = rebase_path(target_out_dir + "/editor.abc")
in_puts = [jspath]
out_puts = [target_out_dir + "/editor.abc"]
extra_args = ["--module"]
}
base_output_path = get_label_info(":editor_js", "target_out_dir")
+1 -1
View File
@@ -56,7 +56,7 @@ ohos_unittest("calendarmanager_test") {
"ability_runtime:ability_manager",
"ability_runtime:abilitykit_native",
"access_token:libaccesstoken_sdk",
"access_token:libnativetoken",
"access_token:libnativetoken_shared",
"access_token:libtoken_setproc",
"c_utils:utils",
"data_share:datashare_common",