From fd4c962c023c7458660678c6ee5d6cd0460b7ea4 Mon Sep 17 00:00:00 2001 From: chuxuezhe111 Date: Wed, 29 Jun 2022 02:43:03 -0700 Subject: [PATCH] fixed 1d8ab70 from https://gitee.com/chuxuezhe111/third_party_jsframework/pulls/343 adapter the prebuilts path to root_build_dir Signed-off-by: chuxuezhe111 --- BUILD.gn | 3 ++- js_framework_build.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 2777f8b3..6a8cf881 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -78,6 +78,7 @@ action("gen_snapshot") { rebase_path(target_out_dir, root_build_dir), rebase_path(babel, root_build_dir), is_mac, + rebase_path("//prebuilts", root_build_dir), ] inputs = [ @@ -275,7 +276,7 @@ action("gen_jsf_c") { "-N", "js_framework", "-c", - rebase_path(prebuilt_js_path, "."), + rebase_path(prebuilt_js_path, root_build_dir), ] inputs = [ prebuilt_js_path ] diff --git a/js_framework_build.sh b/js_framework_build.sh index 2b5a6b80..0dedb070 100755 --- a/js_framework_build.sh +++ b/js_framework_build.sh @@ -14,7 +14,7 @@ set -e echo "copy source code..." -prebuilts_path="../../prebuilts" +prebuilts_path=${12} # copy dependency file to generate dir of gn # the params come from .gn