diff --git a/BUILD.gn b/BUILD.gn index 9d182389..7dc25231 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