26 lines
1.4 KiB
Makefile
Executable File
26 lines
1.4 KiB
Makefile
Executable File
|
|
SRC_PATH := vendor/cloud/hardware/camera
|
|
DST_PATH := out/target/product/vcloud
|
|
|
|
$(shell mkdir -p $(DST_PATH)/system/lib)
|
|
$(shell mkdir -p $(DST_PATH)/system/lib64)
|
|
$(shell mkdir -p $(DST_PATH)/system/etc)
|
|
$(shell mkdir -p $(DST_PATH)/vendor/lib)
|
|
$(shell mkdir -p $(DST_PATH)/vendor/lib64)
|
|
$(shell mkdir -p $(DST_PATH)/vendor/etc/vintf/manifest)
|
|
$(shell mkdir -p $(DST_PATH)/vendor/etc/init)
|
|
$(shell mkdir -p $(DST_PATH)/vendor/bin/hw)
|
|
|
|
$(shell cp $(SRC_PATH)/system/lib/* $(DST_PATH)/system/lib)
|
|
$(shell cp $(SRC_PATH)/system/lib64/* $(DST_PATH)/system/lib64)
|
|
$(shell cp $(SRC_PATH)/vendor/lib/* $(DST_PATH)/vendor/lib)
|
|
$(shell cp $(SRC_PATH)/vendor/lib64/* $(DST_PATH)/vendor/lib64)
|
|
$(shell cp $(SRC_PATH)/vendor/etc/emu_camera_back.json $(DST_PATH)/vendor/etc)
|
|
$(shell cp $(SRC_PATH)/vendor/etc/emu_camera_depth.json $(DST_PATH)/vendor/etc)
|
|
$(shell cp $(SRC_PATH)/vendor/etc/emu_camera_front.json $(DST_PATH)/vendor/etc)
|
|
$(shell cp $(SRC_PATH)/vendor/bin/hw/android.hardware.camera.provider@2.7-service $(DST_PATH)/vendor/bin/hw)
|
|
$(shell cp $(SRC_PATH)/vendor/etc/init/android.hardware.camera.provider@2.7-service.rc $(DST_PATH)/vendor/etc/init)
|
|
$(shell cp $(SRC_PATH)/vendor/etc/vintf/manifest/android.hardware.camera.provider@2.7-service.xml $(DST_PATH)/vendor/etc/vintf/manifest)
|
|
|
|
DEVICE_MANIFEST_FILE += $(SRC_PATH)/vendor/etc/vintf/manifest/android.hardware.camera.provider@2.7-service.xml
|