diff --git a/interfaces/taihe/deviceInfo/BUILD.gn b/interfaces/taihe/deviceInfo/BUILD.gn index f4f87afae51cc695b604fc3f631caef562752547..6c25be5fd25209fbe6636dfc5e7b50b7828e0e07 100644 --- a/interfaces/taihe/deviceInfo/BUILD.gn +++ b/interfaces/taihe/deviceInfo/BUILD.gn @@ -20,10 +20,10 @@ copy_taihe_idl("copy_deviceInfo") { } subsystem_name = "startup" part_name = "init" -taihe_generated_file_path = "$taihe_file_path/out/$subsystem_name/$part_name" +taihe_generated_file_path_deviceInfo = "$taihe_file_path/out/$subsystem_name/$part_name/deviceInfo" ohos_taihe("run_taihe") { - taihe_generated_file_path = "$taihe_generated_file_path" + taihe_generated_file_path = "${taihe_generated_file_path_deviceInfo}" deps = [ ":copy_deviceInfo" ] outputs = [ "$taihe_generated_file_path/src/ohos.deviceInfo.ani.cpp", @@ -37,7 +37,7 @@ taihe_shared_library("deviceInfo_taihe_native") { cfi_cross_dso = true debug = false } - taihe_generated_file_path = "$taihe_generated_file_path" + taihe_generated_file_path = "${taihe_generated_file_path_deviceInfo}" part_name = "$part_name" subsystem_name = "$subsystem_name" sources = get_target_outputs(":run_taihe") @@ -67,8 +67,8 @@ taihe_shared_library("deviceInfo_taihe_native") { } generate_static_abc("deviceInfo") { - base_url = "$taihe_generated_file_path" - files = [ "$taihe_generated_file_path/@ohos.deviceInfo.ets" ] + base_url = "$taihe_generated_file_path_deviceInfo" + files = [ "$taihe_generated_file_path_deviceInfo/@ohos.deviceInfo.ets" ] is_boot_abc = "True" device_dst_file = "/system/framework/deviceInfo.abc" dependencies = [ ":run_taihe" ] diff --git a/interfaces/taihe/systemParameterEnhance/BUILD.gn b/interfaces/taihe/systemParameterEnhance/BUILD.gn index 3105cf596cad205be84ac48ab43ee3900e9f0bf6..0094822d76a4eb93a7709ac7bcce4a9e92e4d61a 100644 --- a/interfaces/taihe/systemParameterEnhance/BUILD.gn +++ b/interfaces/taihe/systemParameterEnhance/BUILD.gn @@ -20,10 +20,10 @@ copy_taihe_idl("copy_systemParamterEnhance") { } subsystem_name = "startup" part_name = "init" -taihe_generated_file_path = "$taihe_file_path/out/$subsystem_name/$part_name" +taihe_generated_file_path_systemParameterEnhance = "$taihe_file_path/out/$subsystem_name/$part_name/systemParameterEnhance" ohos_taihe("run_taihe") { - taihe_generated_file_path = "$taihe_generated_file_path" + taihe_generated_file_path = "${taihe_generated_file_path_systemParameterEnhance}" deps = [ ":copy_systemParamterEnhance" ] outputs = [ "$taihe_generated_file_path/src/ohos.systemParameterEnhance.ani.cpp", @@ -37,7 +37,7 @@ taihe_shared_library("systemParameterEnhance_taihe_native") { cfi_cross_dso = true debug = false } - taihe_generated_file_path = "$taihe_generated_file_path" + taihe_generated_file_path = "${taihe_generated_file_path_systemParameterEnhance}" part_name = "$part_name" subsystem_name = "$subsystem_name" sources = get_target_outputs(":run_taihe") @@ -56,8 +56,8 @@ taihe_shared_library("systemParameterEnhance_taihe_native") { } generate_static_abc("systemParameterEnhance") { - base_url = "$taihe_generated_file_path" - files = [ "$taihe_generated_file_path/@ohos.systemParameterEnhance.ets" ] + base_url = "$taihe_generated_file_path_systemParameterEnhance" + files = [ "$taihe_generated_file_path_systemParameterEnhance/@ohos.systemParameterEnhance.ets" ] is_boot_abc = "True" device_dst_file = "/system/framework/systemParameterEnhance.abc" dependencies = [ ":run_taihe" ]