X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=src%2Ftype3_AndroidCloud%2Fanbox-master%2Fandroid%2FCMakeLists.txt;fp=src%2Ftype3_AndroidCloud%2Fanbox-master%2Fandroid%2FCMakeLists.txt;h=58b3614d9b5b75319734fb42af94bd71bd7f9e22;hb=e26c1ec581be598521517829adba8c8dd23a768f;hp=0000000000000000000000000000000000000000;hpb=6699c1aea74eeb0eb400e6299079f0c7576f716f;p=iec.git diff --git a/src/type3_AndroidCloud/anbox-master/android/CMakeLists.txt b/src/type3_AndroidCloud/anbox-master/android/CMakeLists.txt new file mode 100644 index 0000000..58b3614 --- /dev/null +++ b/src/type3_AndroidCloud/anbox-master/android/CMakeLists.txt @@ -0,0 +1,47 @@ +include_directories( + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/src + ${CMAKE_BINARY_DIR}/src) + +set(ANBOXD_SOURCES + ${CMAKE_SOURCE_DIR}/src/anbox/rpc/message_processor.cpp + ${CMAKE_SOURCE_DIR}/src/anbox/rpc/pending_call_cache.cpp + ${CMAKE_SOURCE_DIR}/src/anbox/common/fd.cpp + service/activity_manager_interface.cpp + service/platform_service.cpp + service/platform_service_interface.cpp + service/platform_api_stub.cpp + service/android_api_skeleton.cpp + service/message_processor.cpp + service/local_socket_connection.cpp + service/host_connector.cpp + service/daemon.cpp + service/main.cpp) + +add_executable(anboxd ${ANBOXD_SOURCES}) +target_link_libraries(anboxd + pthread + process-cpp + anbox-protobuf) + +set(HWCOMPOSER_SOURCES + hwcomposer/hwcomposer.cpp) + +add_library(hwcomposer.anbox SHARED ${HWCOMPOSER_SOURCES}) + +set(AUDIO_SOURCES + audio/audio_hw.cpp) +add_library(audio.goldfish SHARED ${AUDIO_SOURCES}) + +# As we're adding Android specific bits in this project we can't +# build this safely within default build anymore. We keep this +# for easy integration into used IDEs. +set_target_properties(anboxd + PROPERTIES EXCLUDE_FROM_ALL 1 EXCLUDE_FROM_DEFAULT_BUILD 1) + +set_target_properties(hwcomposer.anbox + PROPERTIES EXCLUDE_FROM_ALL 1 EXCLUDE_FROM_DEFAULT_BUILD 1) + +set_target_properties(audio.goldfish + PROPERTIES EXCLUDE_FROM_ALL 1 EXCLUDE_FROM_DEFAULT_BUILD 1) +