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
parent 120fb4ff4a
commit f9308e31ce
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(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 ]
+1 -1
View File
@@ -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