package ts binary file

Signed-off-by: houhaoyu <houhaoyu@huawei.com>
Change-Id: I3183f0e7b7b10abf62223036e5f08a64a5bf50cb
This commit is contained in:
houhaoyu
2022-03-25 11:53:26 +08:00
parent b2570e30ec
commit badd5110aa
+5 -3
View File
@@ -143,17 +143,19 @@ ets_loader_sources = [
"compiler/webpack.config.js", "compiler/webpack.config.js",
] ]
ohos_copy("copy_deps") { ohos_copy("ets_loader_deps") {
sources = sources =
[ "//third_party/typescript/build_package/ohos-typescript-4.2.3-r2.tgz" ] [ "//third_party/typescript/build_package/ohos-typescript-4.2.3-r2.tgz" ]
outputs = [ target_out_dir + "/ets_loader/deps/{{source_file_part}}" ] outputs = [ target_out_dir + "/$target_name/{{source_file_part}}" ]
module_source_dir = target_out_dir + "/$target_name"
module_install_name = ""
license_file = "//third_party/typescript/LICENSE" license_file = "//third_party/typescript/LICENSE"
} }
ohos_copy("ets_loader") { ohos_copy("ets_loader") {
deps = [ deps = [
":build_ets_loader_library", ":build_ets_loader_library",
":copy_deps", ":ets_loader_deps",
] ]
sources = ets_loader_sources sources = ets_loader_sources
deps += [ ":build_ets_sysResource" ] deps += [ ":build_ets_sysResource" ]