blob: 088c60e837874c340958a36bb3c7401ff4af191c [file] [log] [blame]
Erwin Jansenf96db3c2018-10-25 23:28:54 -07001# This is an autogenerated file! Do not edit!
2# instead run make from .../device/generic/goldfish-opengl
3# which will re-generate this file.
Yahan Zhou0a45fa32021-11-03 10:56:04 -07004android_validate_sha256("${GOLDFISH_DEVICE_ROOT}/shared/OpenglCodecCommon/Android.mk" "7fbb167c6259be3e47f58d471b8dec45ee1f47aae2926ca89ba917fd72adab2b")
5set(OpenglCodecCommon_host_src EncoderDebug.cpp GLClientState.cpp GLESTextureUtils.cpp ChecksumCalculator.cpp GLSharedGroup.cpp glUtils.cpp IndexRangeCache.cpp SocketStream.cpp TcpStream.cpp auto_goldfish_dma_context.cpp etc.cpp goldfish_dma_host.cpp)
6android_add_library(TARGET OpenglCodecCommon_host SHARED LICENSE Apache-2.0 SRC EncoderDebug.cpp GLClientState.cpp GLESTextureUtils.cpp ChecksumCalculator.cpp GLSharedGroup.cpp glUtils.cpp IndexRangeCache.cpp SocketStream.cpp TcpStream.cpp auto_goldfish_dma_context.cpp etc.cpp goldfish_dma_host.cpp)
Lingfeng Yanged069c52020-09-03 19:11:02 -07007target_include_directories(OpenglCodecCommon_host PRIVATE ${GOLDFISH_DEVICE_ROOT}/shared/OpenglCodecCommon ${GOLDFISH_DEVICE_ROOT}/android-emu ${GOLDFISH_DEVICE_ROOT}/shared/qemupipe/include-types ${GOLDFISH_DEVICE_ROOT}/shared/qemupipe/include ${GOLDFISH_DEVICE_ROOT}/./host/include/libOpenglRender ${GOLDFISH_DEVICE_ROOT}/./system/include ${GOLDFISH_DEVICE_ROOT}/./../../../external/qemu/android/android-emugl/guest)
Gurchetan Singh647d45a2022-02-10 12:19:16 -08008target_compile_definitions(OpenglCodecCommon_host PRIVATE "-DPLATFORM_SDK_VERSION=29" "-DGOLDFISH_HIDL_GRALLOC" "-DHOST_BUILD" "-DANDROID" "-DGL_GLEXT_PROTOTYPES" "-DPAGE_SIZE=4096" "-DGFXSTREAM" "-DLOG_TAG=\"eglCodecCommon\"")
Lingfeng Yanga077e9e2019-09-05 12:01:15 -07009target_compile_options(OpenglCodecCommon_host PRIVATE "-fvisibility=default" "-Wno-unused-parameter" "-Wno-unused-private-field")
Lingfeng Yanged069c52020-09-03 19:11:02 -070010target_link_libraries(OpenglCodecCommon_host PRIVATE cutils utils log androidemu android-emu-shared PRIVATE qemupipe_host)