• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1if (APPLE)
2    set(apigen-codec-common-platform-sources)
3elseif (WIN32)
4    set(apigen-codec-common-platform-sources)
5elseif (QNX)
6    set(apigen-codec-common-platform-sources)
7else()
8    set(apigen-codec-common-platform-sources X11Support.cpp)
9endif()
10
11add_library(
12    apigen-codec-common
13    ChecksumCalculator.cpp
14    ChecksumCalculatorThreadInfo.cpp
15    glUtils.cpp
16    ${apigen-codec-common-platform-sources})
17if (NOT MSVC)
18    target_compile_options(
19        apigen-codec-common PRIVATE -fvisibility=hidden)
20endif()
21target_link_libraries(
22    apigen-codec-common
23    PUBLIC
24    gfxstream-gl-host-common.headers
25    aemu-host-common.headers
26    aemu-base.headers)
27target_include_directories(
28    apigen-codec-common
29    PUBLIC
30    ${GFXSTREAM_REPO_ROOT}/host/apigen-codec-common
31    PRIVATE
32    ${GFXSTREAM_REPO_ROOT}/host
33    ${GFXSTREAM_REPO_ROOT}/include)
34