From ee1cbf5ddb181e7dd03dcb54ee39ad1391c18560 Mon Sep 17 00:00:00 2001 From: Simon Fels Date: Tue, 12 Jun 2018 19:09:32 +0200 Subject: [PATCH] Add missing source files to cmake build configuration This makes them all visible in any IDEs supporting cmake. --- src/CMakeLists.txt | 417 ++++++++++++++++++++++++++++----------------- 1 file changed, 265 insertions(+), 152 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a2d5b70..b7be41a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -62,175 +62,288 @@ target_link_libraries(anbox-protobuf ${PROTOBUF_LITE_LIBRARIES}) set(SOURCES - anbox/logger.cpp - anbox/utils.cpp - anbox/cli.cpp - anbox/runtime.cpp - anbox/daemon.cpp - anbox/system_configuration.cpp - anbox/not_reachable.cpp - - anbox/build/config.h.in - anbox/android/intent.cpp + anbox/android/intent.h anbox/android/ip_config_builder.cpp + anbox/android/ip_config_builder.h - anbox/common/fd.cpp - anbox/common/fd_sets.h - anbox/common/variable_length_array.h - anbox/common/wait_handle.cpp - anbox/common/dispatcher.cpp - anbox/common/small_vector.h - anbox/common/type_traits.h - anbox/common/message_channel.cpp - anbox/common/scope_ptr.h - anbox/common/loop_device.cpp - anbox/common/loop_device_allocator.cpp - anbox/common/mount_entry.cpp - anbox/common/binary_writer.cpp - - anbox/testing/gtest_utils.h - - anbox/container/service.cpp - anbox/container/client.cpp - anbox/container/configuration.h - anbox/container/container.cpp - anbox/container/lxc_container.cpp - anbox/container/management_api_stub.cpp - anbox/container/management_api_skeleton.cpp - anbox/container/management_api_message_processor.cpp - - anbox/network/credentials.cpp - anbox/network/message_sender.h - anbox/network/message_receiver.h - anbox/network/message_processor.h - anbox/network/connector.h - anbox/network/connection_creator.h - anbox/network/published_socket_connector.cpp - anbox/network/connections.h - anbox/network/socket_connection.cpp - anbox/network/socket_messenger.cpp - anbox/network/delegate_message_processor.cpp - anbox/network/delegate_connection_creator.h - anbox/network/base_socket_messenger.cpp - anbox/network/local_socket_messenger.cpp - anbox/network/tcp_socket_messenger.cpp - anbox/network/socket_helper.cpp - anbox/network/tcp_socket_connector.cpp - - anbox/rpc/channel.cpp - anbox/rpc/pending_call_cache.cpp - anbox/rpc/constants.h - anbox/rpc/connection_creator.cpp - anbox/rpc/message_processor.cpp - anbox/rpc/template_message_processor.h - anbox/rpc/make_protobuf_object.h - - anbox/graphics/opengles_message_processor.cpp - anbox/graphics/buffer_queue.cpp - anbox/graphics/buffered_io_stream.cpp - anbox/graphics/gl_renderer_server.cpp - anbox/graphics/density.cpp - anbox/graphics/density.h - anbox/graphics/rect.cpp - anbox/graphics/layer_composer.cpp - anbox/graphics/multi_window_composer_strategy.cpp - anbox/graphics/single_window_composer_strategy.cpp - anbox/graphics/program_family.cpp - anbox/graphics/primitives.h - anbox/graphics/renderer.h - anbox/graphics/gl_extensions.h - - anbox/graphics/emugl/ColorBuffer.cpp - anbox/graphics/emugl/DisplayManager.cpp - anbox/graphics/emugl/RendererConfig.cpp - anbox/graphics/emugl/Renderable.cpp - anbox/graphics/emugl/Renderer.cpp - anbox/graphics/emugl/ReadBuffer.cpp - anbox/graphics/emugl/RenderApi.cpp - anbox/graphics/emugl/RenderContext.cpp - anbox/graphics/emugl/RenderControl.cpp - anbox/graphics/emugl/RenderThread.cpp - anbox/graphics/emugl/RenderThreadInfo.cpp - anbox/graphics/emugl/TextureDraw.cpp - anbox/graphics/emugl/TextureResize.cpp - anbox/graphics/emugl/TimeUtils.cpp - anbox/graphics/emugl/WindowSurface.cpp - - anbox/audio/server.cpp - anbox/audio/client_info.h - anbox/audio/source.h - anbox/audio/sink.h - - anbox/wm/display.cpp - anbox/wm/task.cpp - anbox/wm/stack.cpp - anbox/wm/manager.cpp - anbox/wm/single_window_manager.cpp - anbox/wm/multi_window_manager.cpp - anbox/wm/window_state.cpp - anbox/wm/window.cpp - - anbox/platform/base_platform.cpp - - anbox/platform/null/platform.cpp - - anbox/platform/sdl/sdl_wrapper.h - anbox/platform/sdl/window.cpp - anbox/platform/sdl/keycode_converter.cpp - anbox/platform/sdl/platform.cpp - anbox/platform/sdl/audio_sink.cpp - - anbox/input/manager.cpp - anbox/input/device.cpp - - anbox/qemu/pipe_connection_creator.cpp - anbox/qemu/null_message_processor.cpp - anbox/qemu/qemud_message_processor.cpp - anbox/qemu/boot_properties_message_processor.cpp - anbox/qemu/hwcontrol_message_processor.cpp - anbox/qemu/sensors_message_processor.cpp - anbox/qemu/camera_message_processor.cpp - anbox/qemu/fingerprint_message_processor.cpp - anbox/qemu/gsm_message_processor.cpp - anbox/qemu/at_parser.cpp - anbox/qemu/bootanimation_message_processor.cpp - anbox/qemu/adb_message_processor.cpp - - anbox/bridge/platform_message_processor.cpp - anbox/bridge/platform_api_skeleton.cpp - anbox/bridge/android_api_stub.cpp - - anbox/dbus/bus.cpp - anbox/dbus/bus.h - anbox/dbus/sd_bus_helpers.h - anbox/dbus/interface.h - anbox/dbus/skeleton/service.cpp - anbox/dbus/skeleton/service.h - anbox/dbus/skeleton/application_manager.cpp - anbox/dbus/skeleton/application_manager.h - anbox/dbus/stub/application_manager.cpp - anbox/dbus/stub/application_manager.h - - anbox/application/launcher_storage.cpp anbox/application/database.cpp + anbox/application/database.h + anbox/application/launcher_storage.cpp + anbox/application/launcher_storage.h anbox/application/manager.h - anbox/cmds/version.cpp - anbox/cmds/session_manager.cpp + anbox/audio/client_info.h + anbox/audio/server.cpp + anbox/audio/server.h + anbox/audio/sink.h + anbox/audio/source.h + + anbox/bridge/android_api_stub.cpp + anbox/bridge/android_api_stub.h + anbox/bridge/platform_api_skeleton.cpp + anbox/bridge/platform_api_skeleton.h + anbox/bridge/platform_message_processor.cpp + anbox/bridge/platform_message_processor.h + + anbox/build/config.h + anbox/build/config.h.in + anbox/cmds/container_manager.cpp + anbox/cmds/container_manager.h anbox/cmds/launch.cpp + anbox/cmds/launch.h + anbox/cmds/session_manager.cpp + anbox/cmds/session_manager.h anbox/cmds/system_info.cpp + anbox/cmds/system_info.h + anbox/cmds/version.cpp + anbox/cmds/version.h anbox/cmds/wait_ready.cpp anbox/cmds/wait_ready.h - anbox/utils/environment_file.cpp + anbox/common/binary_writer.cpp + anbox/common/binary_writer.h + anbox/common/dispatcher.cpp + anbox/common/dispatcher.h + anbox/common/fd.cpp + anbox/common/fd.h + anbox/common/fd_sets.h + anbox/common/loop_device_allocator.cpp + anbox/common/loop_device_allocator.h + anbox/common/loop_device.cpp + anbox/common/loop_device.h + anbox/common/message_channel.cpp + anbox/common/message_channel.h + anbox/common/mount_entry.cpp + anbox/common/mount_entry.h + anbox/common/scope_ptr.h + anbox/common/small_vector.h + anbox/common/type_traits.h + anbox/common/variable_length_array.h + anbox/common/wait_handle.cpp + anbox/common/wait_handle.h + + anbox/container/client.cpp + anbox/container/client.h + anbox/container/configuration.h + anbox/container/container.cpp + anbox/container/container.h + anbox/container/lxc_container.cpp + anbox/container/lxc_container.h + anbox/container/management_api_message_processor.cpp + anbox/container/management_api_message_processor.h + anbox/container/management_api_skeleton.cpp + anbox/container/management_api_skeleton.h + anbox/container/management_api_stub.cpp + anbox/container/management_api_stub.h + anbox/container/service.cpp + anbox/container/service.h + + anbox/dbus/bus.cpp + anbox/dbus/bus.h + anbox/dbus/codecs.h + anbox/dbus/interface.h + anbox/dbus/sd_bus_helpers.h + anbox/dbus/skeleton/application_manager.cpp + anbox/dbus/skeleton/application_manager.h + anbox/dbus/skeleton/service.cpp + anbox/dbus/skeleton/service.h + anbox/dbus/stub/application_manager.cpp + anbox/dbus/stub/application_manager.h + + anbox/graphics/buffered_io_stream.cpp + anbox/graphics/buffered_io_stream.h + anbox/graphics/buffer_queue.cpp + anbox/graphics/buffer_queue.h + anbox/graphics/density.cpp + anbox/graphics/density.h + anbox/graphics/gl_extensions.h + anbox/graphics/gl_renderer_server.cpp + anbox/graphics/gl_renderer_server.h + anbox/graphics/layer_composer.cpp + anbox/graphics/layer_composer.h + anbox/graphics/multi_window_composer_strategy.cpp + anbox/graphics/multi_window_composer_strategy.h + anbox/graphics/opengles_message_processor.cpp + anbox/graphics/opengles_message_processor.h + anbox/graphics/primitives.h + anbox/graphics/program_family.cpp + anbox/graphics/program_family.h + anbox/graphics/rect.cpp + anbox/graphics/rect.h + anbox/graphics/renderer.h + anbox/graphics/single_window_composer_strategy.cpp + anbox/graphics/single_window_composer_strategy.h + + anbox/graphics/emugl/ColorBuffer.cpp + anbox/graphics/emugl/ColorBuffer.h + anbox/graphics/emugl/DispatchTables.h + anbox/graphics/emugl/DisplayManager.cpp + anbox/graphics/emugl/DisplayManager.h + anbox/graphics/emugl/ReadBuffer.cpp + anbox/graphics/emugl/ReadBuffer.h + anbox/graphics/emugl/Renderable.cpp + anbox/graphics/emugl/Renderable.h + anbox/graphics/emugl/RenderApi.cpp + anbox/graphics/emugl/RenderApi.h + anbox/graphics/emugl/RenderContext.cpp + anbox/graphics/emugl/RenderContext.h + anbox/graphics/emugl/RenderControl.cpp + anbox/graphics/emugl/RenderControl.h + anbox/graphics/emugl/RendererConfig.cpp + anbox/graphics/emugl/RendererConfig.h + anbox/graphics/emugl/Renderer.cpp + anbox/graphics/emugl/Renderer.h + anbox/graphics/emugl/RenderThread.cpp + anbox/graphics/emugl/RenderThread.h + anbox/graphics/emugl/RenderThreadInfo.cpp + anbox/graphics/emugl/RenderThreadInfo.h + anbox/graphics/emugl/TextureDraw.cpp + anbox/graphics/emugl/TextureDraw.h + anbox/graphics/emugl/TextureResize.cpp + anbox/graphics/emugl/TextureResize.h + anbox/graphics/emugl/TimeUtils.cpp + anbox/graphics/emugl/TimeUtils.h + anbox/graphics/emugl/WindowSurface.cpp + anbox/graphics/emugl/WindowSurface.h + + anbox/input/device.cpp + anbox/input/device.h + anbox/input/manager.cpp + anbox/input/manager.h + + anbox/network/base_socket_messenger.cpp + anbox/network/base_socket_messenger.h + anbox/network/connection_context.cpp + anbox/network/connection_context.h + anbox/network/connection_creator.cpp + anbox/network/connection_creator.h + anbox/network/connections.h + anbox/network/connector.h + anbox/network/credentials.cpp + anbox/network/credentials.h + anbox/network/delegate_connection_creator.h + anbox/network/delegate_message_processor.cpp + anbox/network/delegate_message_processor.h + anbox/network/fd_socket_transmission.cpp + anbox/network/fd_socket_transmission.h + anbox/network/local_socket_messenger.cpp + anbox/network/local_socket_messenger.h + anbox/network/message_processor.h + anbox/network/message_receiver.h + anbox/network/message_sender.h + anbox/network/published_socket_connector.cpp + anbox/network/published_socket_connector.h + anbox/network/socket_connection.cpp + anbox/network/socket_connection.h + anbox/network/socket_helper.cpp + anbox/network/socket_helper.h + anbox/network/socket_messenger.cpp + anbox/network/socket_messenger.h + anbox/network/tcp_socket_connector.cpp + anbox/network/tcp_socket_connector.h + anbox/network/tcp_socket_messenger.cpp + anbox/network/tcp_socket_messenger.h + + anbox/platform/base_platform.cpp + anbox/platform/base_platform.h + anbox/platform/null/platform.cpp + anbox/platform/null/platform.h + anbox/platform/sdl/audio_sink.cpp + anbox/platform/sdl/audio_sink.h + anbox/platform/sdl/keycode_converter.cpp + anbox/platform/sdl/keycode_converter.h + anbox/platform/sdl/platform.cpp + anbox/platform/sdl/platform.h + anbox/platform/sdl/sdl_wrapper.h + anbox/platform/sdl/window.cpp + anbox/platform/sdl/window.h + + anbox/protobuf/anbox_bridge.proto + anbox/protobuf/anbox_container.proto + anbox/protobuf/anbox_rpc.proto + anbox/protobuf/google_protobuf_guard.cpp + + anbox/qemu/adb_message_processor.cpp + anbox/qemu/adb_message_processor.h + anbox/qemu/at_parser.cpp + anbox/qemu/at_parser.h + anbox/qemu/bootanimation_message_processor.cpp + anbox/qemu/bootanimation_message_processor.h + anbox/qemu/boot_properties_message_processor.cpp + anbox/qemu/boot_properties_message_processor.h + anbox/qemu/camera_message_processor.cpp + anbox/qemu/camera_message_processor.h + anbox/qemu/fingerprint_message_processor.cpp + anbox/qemu/fingerprint_message_processor.h + anbox/qemu/gsm_message_processor.cpp + anbox/qemu/gsm_message_processor.h + anbox/qemu/hwcontrol_message_processor.cpp + anbox/qemu/hwcontrol_message_processor.h + anbox/qemu/null_message_processor.cpp + anbox/qemu/null_message_processor.h + anbox/qemu/pipe_connection_creator.cpp + anbox/qemu/pipe_connection_creator.h + anbox/qemu/qemud_message_processor.cpp + anbox/qemu/qemud_message_processor.h + anbox/qemu/sensors_message_processor.cpp + anbox/qemu/sensors_message_processor.h + + anbox/rpc/channel.cpp + anbox/rpc/channel.h + anbox/rpc/connection_creator.cpp + anbox/rpc/connection_creator.h + anbox/rpc/constants.h + anbox/rpc/make_protobuf_object.h + anbox/rpc/message_processor.cpp + anbox/rpc/message_processor.h + anbox/rpc/pending_call_cache.cpp + anbox/rpc/pending_call_cache.h + anbox/rpc/template_message_processor.h + + anbox/testing/gtest_utils.h anbox/ui/splash_screen.cpp + anbox/ui/splash_screen.h + anbox/utils/environment_file.cpp + anbox/utils/environment_file.h + + anbox/wm/display.cpp + anbox/wm/display.h + anbox/wm/manager.cpp + anbox/wm/manager.h + anbox/wm/multi_window_manager.cpp + anbox/wm/multi_window_manager.h + anbox/wm/single_window_manager.cpp + anbox/wm/single_window_manager.h + anbox/wm/stack.cpp + anbox/wm/stack.h + anbox/wm/task.cpp + anbox/wm/task.h + anbox/wm/window.cpp + anbox/wm/window.h + anbox/wm/window_state.cpp + anbox/wm/window_state.h + + anbox/cli.cpp + anbox/cli.h + anbox/daemon.cpp + anbox/daemon.h + anbox/defer_action.h anbox/do_not_copy_or_move.h + anbox/logger.cpp + anbox/logger.h + anbox/not_reachable.cpp + anbox/not_reachable.h anbox/optional.h - anbox/defer_action.h) + anbox/utils.cpp + anbox/utils.h + anbox/runtime.cpp + anbox/runtime.h + anbox/system_configuration.cpp + anbox/system_configuration.h) add_library(anbox-core STATIC ${SOURCES}) target_link_libraries(anbox-core