mirror of
https://gitee.com/openharmony/developtools_ace_ets2bundle
synced 2024-11-23 00:19:53 +00:00
carry node_modules dependency. Signed-off-by: lihong <lihong67@huawei.com> Change-Id: Id4590789f8f5917390885159371120d5721e3840
This commit is contained in:
parent
616b768e77
commit
189089eb22
15
BUILD.gn
15
BUILD.gn
@ -125,6 +125,7 @@ action("build_ets_sysResource") {
|
||||
ets_loader_sources = [
|
||||
"compiler/compile_plugin.js",
|
||||
"compiler/main.js",
|
||||
"compiler/node_modules",
|
||||
"compiler/npm-install.js",
|
||||
"compiler/package-lock.json",
|
||||
"compiler/package.json",
|
||||
@ -294,16 +295,9 @@ ohos_copy("ohos_declaration_ets_ark") {
|
||||
outputs = [ target_out_dir + "/../api" ]
|
||||
}
|
||||
|
||||
ohos_copy("common_api_ark") {
|
||||
ohos_copy("ets_loader_ark_hap") {
|
||||
sources = common_api_src
|
||||
deps = [ ":ohos_declaration_ets_ark" ]
|
||||
outputs = [ target_out_dir + "/../../developtools/api/{{source_file_part}}" ]
|
||||
module_install_name = ""
|
||||
}
|
||||
|
||||
ohos_copy("ets_loader_node_modules") {
|
||||
deps = [
|
||||
":common_api_ark",
|
||||
":ets_loader_ark",
|
||||
":ets_loader_ark_codegen",
|
||||
":ets_loader_ark_components",
|
||||
@ -311,7 +305,8 @@ ohos_copy("ets_loader_node_modules") {
|
||||
":ets_loader_ark_form_components",
|
||||
":ets_loader_ark_lib",
|
||||
":ets_loader_ark_server",
|
||||
":ohos_declaration_ets_ark",
|
||||
]
|
||||
sources = [ "//developtools/ace_ets2bundle/compiler/node_modules" ]
|
||||
outputs = [ target_out_dir + "/ets_loader_ark/node_modules" ]
|
||||
outputs = [ target_out_dir + "/../../developtools/api/{{source_file_part}}" ]
|
||||
module_install_name = ""
|
||||
}
|
||||
|
@ -32,7 +32,7 @@
|
||||
"//developtools/ace_ets2bundle:server",
|
||||
"//developtools/ace_ets2bundle:codegen",
|
||||
"//developtools/ace_ets2bundle:ets_loader_declaration",
|
||||
"//developtools/ace_ets2bundle:ets_loader_node_modules"
|
||||
"//developtools/ace_ets2bundle:ets_loader_ark_hap"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user