!79 modify the preloader_output_dir to adapter product_name

Merge pull request !79 from chuxuezhe11/cherry-pick-1656750083
This commit is contained in:
openharmony_ci
2022-07-05 11:27:57 +00:00
committed by Gitee
+2 -1
View File
@@ -150,7 +150,8 @@ build_ext_component("generate_pcid") {
cmd = "${exec_path}/clang_x64/developtools/syscap_codec/syscap_tool"
}
command = "chmod 777 $cmd"
command += " && $cmd -P -e -i ${preload_path}/${product_name}/system/etc/SystemCapability.json"
command +=
" && $cmd -P -e -i ${preload_path}/system/etc/SystemCapability.json"
if (defined(ohos_lite)) {
command += " && mkdir -p $exec_path/system/etc && cp $exec_path/PCID.sc $exec_path/system/etc/PCID.sc"
}