1# 2# Core Makefile 3# 4 5# Common Compiler Flags ######################################################## 6 7# Include paths. 8COMMON_CFLAGS += -Icore/include 9 10# Common Source Files ########################################################## 11 12COMMON_SRCS += core/event.cc 13COMMON_SRCS += core/event_loop.cc 14COMMON_SRCS += core/event_loop_manager.cc 15COMMON_SRCS += core/event_ref_queue.cc 16COMMON_SRCS += core/host_comms_manager.cc 17COMMON_SRCS += core/init.cc 18COMMON_SRCS += core/nanoapp.cc 19COMMON_SRCS += core/sensor.cc 20COMMON_SRCS += core/sensor_request.cc 21COMMON_SRCS += core/sensor_request_manager.cc 22COMMON_SRCS += core/sensor_type.cc 23COMMON_SRCS += core/static_nanoapps.cc 24COMMON_SRCS += core/timer_pool.cc 25 26# Optional audio support. 27ifeq ($(CHRE_AUDIO_SUPPORT_ENABLED), true) 28COMMON_SRCS += core/audio_request_manager.cc 29endif 30 31# Optional GNSS support. 32ifeq ($(CHRE_GNSS_SUPPORT_ENABLED), true) 33COMMON_SRCS += core/gnss_manager.cc 34endif 35 36# Optional Wi-Fi support. 37ifeq ($(CHRE_WIFI_SUPPORT_ENABLED), true) 38COMMON_SRCS += core/wifi_request_manager.cc 39COMMON_SRCS += core/wifi_scan_request.cc 40endif 41 42# Optional WWAN support. 43ifeq ($(CHRE_WWAN_SUPPORT_ENABLED), true) 44COMMON_SRCS += core/wwan_request_manager.cc 45endif 46 47# GoogleTest Source Files ###################################################### 48 49GOOGLETEST_SRCS += core/tests/audio_request_manager_test.cc 50GOOGLETEST_SRCS += core/tests/memory_manager_test.cc 51GOOGLETEST_SRCS += core/tests/request_multiplexer_test.cc 52GOOGLETEST_SRCS += core/tests/sensor_request_test.cc 53GOOGLETEST_SRCS += core/tests/wifi_scan_request_test.cc 54