blob: 24d6c3c296fbd33834b83f3334f053950939dc10 [file] [log] [blame]
cmake_minimum_required(VERSION 3.5)
android_generate_hw_config()
set(libqemu2-glue_src
${ANDROID_HW_CONFIG_H}
adbkey.cpp
android_pubkey.cpp
android_qemud.cpp
audio-capturer.cpp
audio-output.cpp
base/async/CpuLooper.cpp
base/async/Looper.cpp
base/files/QemuFileStream.cpp
display.cpp
drive-share.cpp
emulation/android_pipe_device.cpp
emulation/charpipe.c
emulation/CharSerialLine.cpp
emulation/DmaMap.cpp
emulation/goldfish_sync.cpp
emulation/serial_line.cpp
emulation/VmLock.cpp
looper-qemu.cpp
net-android.cpp
proxy/slirp_proxy.cpp
qemu-automation-agent-impl.cpp
qemu-battery-agent-impl.cpp
qemu-cellular-agent-impl.c
qemu-clipboard-agent-impl.cpp
qemu-display-agent-impl.cpp
qemu-finger-agent-impl.c
qemu-location-agent-impl.c
qemu-http-proxy-agent-impl.c
qemu-net-agent-impl.c
qemu-car-data-agent-impl.cpp
qemu-record-screen-agent-impl.c
qemu-sensors-agent-impl.cpp
qemu-setup.cpp
qemu-setup-dns-servers.cpp
qemu-telephony-agent-impl.c
qemu-user-event-agent-impl.c
qemu-virtual-scene-agent-impl.cpp
qemu-vm-operations-impl.cpp
dtb.cpp
snapshot_compression.cpp
telephony/modem_init.c
utils/stream.cpp)
android_add_library(libqemu2-glue)
android_target_include_directories(libqemu2-glue
all
PRIVATE
..
../include
../qemu2-auto-generated
../slirp
${ANDROID_QEMU2_TOP_DIR}/android/third_party/libdtb/include/)
target_link_libraries(libqemu2-glue PRIVATE android-emu GLIB2::GLIB2 PIXMAN::PIXMAN emulator-libdtb ssl crypto)