From 2301c1d0e926839b9f9fade0ff964344a6b21ffa Mon Sep 17 00:00:00 2001 From: houhaoyu Date: Fri, 25 Mar 2022 11:53:26 +0800 Subject: [PATCH] fixed 7fc7461 from https://gitee.com/houhaoyu/developtools_ace-ets2bundle/pulls/524 fixed badd511 from https://gitee.com/houhaoyu/developtools_ace-ets2bundle/pulls/509 houhaoyu@huawei.com package ts binary file Signed-off-by: houhaoyu Change-Id: I3183f0e7b7b10abf62223036e5f08a64a5bf50cb --- BUILD.gn | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index e1893c7..4f2caa8 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -144,17 +144,19 @@ ets_loader_sources = [ "compiler/webpack.config.js", ] -ohos_copy("copy_deps") { +ohos_copy("ets_loader_deps") { sources = [ "//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" } ohos_copy("ets_loader") { deps = [ ":build_ets_loader_library", - ":copy_deps", + ":ets_loader_deps", ] sources = ets_loader_sources deps += [ ":build_ets_sysResource" ]