!75 modify the preloader_output_dir to adapter product_name

Merge pull request !75 from chuxuezhe11/master
This commit is contained in:
openharmony_ci
2022-06-29 10:22:13 +00:00
committed by Gitee
+2 -1
View File
@@ -152,7 +152,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"
}