adapter the prebuilts path to root_build_dir

Signed-off-by: chuxuezhe111 <hanjixiao@huawei.com>
This commit is contained in:
chuxuezhe111
2022-06-29 02:43:03 -07:00
committed by chuxuezhe11
parent 3ef53f4562
commit fd4c962c02
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -78,6 +78,7 @@ action("gen_snapshot") {
rebase_path(target_out_dir, root_build_dir), rebase_path(target_out_dir, root_build_dir),
rebase_path(babel, root_build_dir), rebase_path(babel, root_build_dir),
is_mac, is_mac,
rebase_path("//prebuilts", root_build_dir),
] ]
inputs = [ inputs = [
@@ -275,7 +276,7 @@ action("gen_jsf_c") {
"-N", "-N",
"js_framework", "js_framework",
"-c", "-c",
rebase_path(prebuilt_js_path, "."), rebase_path(prebuilt_js_path, root_build_dir),
] ]
inputs = [ prebuilt_js_path ] inputs = [ prebuilt_js_path ]
+1 -1
View File
@@ -14,7 +14,7 @@
set -e set -e
echo "copy source code..." echo "copy source code..."
prebuilts_path="../../prebuilts" prebuilts_path=${12}
# copy dependency file to generate dir of gn # copy dependency file to generate dir of gn
# the params come from .gn # the params come from .gn