blob: ade4cc2eb97495507f2afd8663db2e62c60da481 [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.
Lingfeng Yang764a1fc2019-08-22 12:16:11 -07004android_validate_sha256("${GOLDFISH_DEVICE_ROOT}/shared/OpenglCodecCommon/Android.mk" "b93e7098601bba92b0e1b4d4a94cee25d2181a9842c7902d5f339c405c862cea")
Roman Kiryanovdaecd142018-11-14 14:56:27 -08005set(OpenglCodecCommon_host_src GLClientState.cpp GLESTextureUtils.cpp ChecksumCalculator.cpp GLSharedGroup.cpp glUtils.cpp IndexRangeCache.cpp SocketStream.cpp TcpStream.cpp auto_goldfish_dma_context.cpp goldfish_address_space.cpp goldfish_dma_host.cpp qemu_pipe_host.cpp)
Erwin Jansenf96db3c2018-10-25 23:28:54 -07006android_add_shared_library(OpenglCodecCommon_host)
7target_include_directories(OpenglCodecCommon_host PRIVATE ${GOLDFISH_DEVICE_ROOT}/shared/OpenglCodecCommon ${GOLDFISH_DEVICE_ROOT}/./host/include/libOpenglRender ${GOLDFISH_DEVICE_ROOT}/./system/include ${GOLDFISH_DEVICE_ROOT}/./../../../external/qemu/android/android-emugl/guest)
Lingfeng Yang6a283672018-11-01 13:37:56 -07008target_compile_definitions(OpenglCodecCommon_host PRIVATE "-DWITH_GLES2" "-DPLATFORM_SDK_VERSION=29" "-DGOLDFISH_HIDL_GRALLOC" "-DEMULATOR_OPENGL_POST_O=1" "-DHOST_BUILD" "-DANDROID" "-DGL_GLEXT_PROTOTYPES" "-DPAGE_SIZE=4096" "-DGOLDFISH_VULKAN" "-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")
Erwin Jansenf96db3c2018-10-25 23:28:54 -070010target_link_libraries(OpenglCodecCommon_host PRIVATE android-emu-shared cutils utils log)