From 62f8c758db0d137b02e081f583d4b0454fb3d2cd Mon Sep 17 00:00:00 2001 From: chuxuezhe111 Date: Tue, 28 Jun 2022 05:12:02 -0700 Subject: [PATCH] modify the preloader_output_dir to adapter product_name Signed-off-by: chuxuezhe111 --- BUILD.gn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BUILD.gn b/BUILD.gn index 8e0545d..4adc90c 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -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" } -- Gitee