mirror of
https://github.com/openharmony/vendor_ohos.git
synced 2026-07-01 21:14:03 -04:00
fix(build): 修复路径的问题
This commit is contained in:
@@ -5,6 +5,6 @@ import("//build/lite/config/subsystem/lite_subsystem.gni")
|
||||
|
||||
exec_script("patches/patch.py", [rebase_path("//", root_build_dir)])
|
||||
|
||||
group("display_qemu") {
|
||||
group("display_qemu_liteos_a") {
|
||||
deps = [ "init_configs" ]
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
],
|
||||
"vendor_adapter_dir": "//device/qemu/hardware",
|
||||
"third_party_dir": "//third_party",
|
||||
"product_adapter_dir": "//vendor/huawei/display_qemu/hals",
|
||||
"product_adapter_dir": "//vendor/ohos/display_qemu_liteos_a/hals",
|
||||
"ohos_product_type":"",
|
||||
"ohos_manufacture":"",
|
||||
"ohos_brand":"",
|
||||
|
||||
@@ -6,14 +6,14 @@ if __name__ == '__main__':
|
||||
if len(sys.argv) > 1:
|
||||
root_dir = sys.argv[1]
|
||||
root_dir = os.path.join(os.getcwd(), root_dir)
|
||||
shutil.copy(os.path.join(root_dir, "vendor/huawei/display_qemu/patches/kernel_BUILD.gn"),
|
||||
shutil.copy(os.path.join(root_dir, "vendor/ohos/display_qemu_liteos_a/patches/kernel_BUILD.gn"),
|
||||
os.path.join(root_dir, "kernel/liteos_a/BUILD.gn"))
|
||||
shutil.copy(os.path.join(root_dir, "vendor/huawei/display_qemu/patches/build.sh"),
|
||||
shutil.copy(os.path.join(root_dir, "vendor/ohos/display_qemu_liteos_a/patches/build.sh"),
|
||||
os.path.join(root_dir, "device/qemu/arm_virt/build/build.sh"))
|
||||
shutil.copy(os.path.join(root_dir, "vendor/huawei/display_qemu/patches/BUILD.gn"),
|
||||
shutil.copy(os.path.join(root_dir, "vendor/ohos/display_qemu_liteos_a/patches/BUILD.gn"),
|
||||
os.path.join(root_dir, "device/qemu/arm_virt/BUILD.gn"))
|
||||
shutil.copy(os.path.join(root_dir, "device/hisilicon/drivers/libs/ohos/llvm/hi3518ev300/libmtd_common.a"),
|
||||
os.path.join(root_dir, "device/qemu/drivers/libs/virt/"))
|
||||
shutil.copy(os.path.join(root_dir, "vendor/huawei/display_qemu/patches/qemu-init"), root_dir)
|
||||
shutil.copy(os.path.join(root_dir, "vendor/huawei/display_qemu/patches/qemu-run"), root_dir)
|
||||
shutil.copy(os.path.join(root_dir, "vendor/ohos/display_qemu_liteos_a/patches/qemu-init"), root_dir)
|
||||
shutil.copy(os.path.join(root_dir, "vendor/ohos/display_qemu_liteos_a/patches/qemu-run"), root_dir)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user