• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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/debug_dump_manager.cc
13COMMON_SRCS += core/event.cc
14COMMON_SRCS += core/event_loop.cc
15COMMON_SRCS += core/event_loop_manager.cc
16COMMON_SRCS += core/event_ref_queue.cc
17COMMON_SRCS += core/host_comms_manager.cc
18COMMON_SRCS += core/init.cc
19COMMON_SRCS += core/log.cc
20COMMON_SRCS += core/nanoapp.cc
21COMMON_SRCS += core/sensor.cc
22COMMON_SRCS += core/sensor_request.cc
23COMMON_SRCS += core/sensor_request_manager.cc
24COMMON_SRCS += core/sensor_request_multiplexer.cc
25COMMON_SRCS += core/sensor_type.cc
26COMMON_SRCS += core/sensor_type_helpers.cc
27COMMON_SRCS += core/settings.cc
28COMMON_SRCS += core/static_nanoapps.cc
29COMMON_SRCS += core/timer_pool.cc
30
31# Optional audio support.
32ifeq ($(CHRE_AUDIO_SUPPORT_ENABLED), true)
33COMMON_SRCS += core/audio_request_manager.cc
34endif
35
36# Optional GNSS support.
37ifeq ($(CHRE_GNSS_SUPPORT_ENABLED), true)
38COMMON_SRCS += core/gnss_manager.cc
39endif
40
41# Optional Wi-Fi support.
42ifeq ($(CHRE_WIFI_SUPPORT_ENABLED), true)
43COMMON_SRCS += core/wifi_request_manager.cc
44COMMON_SRCS += core/wifi_scan_request.cc
45endif
46
47# Optional WWAN support.
48ifeq ($(CHRE_WWAN_SUPPORT_ENABLED), true)
49COMMON_SRCS += core/wwan_request_manager.cc
50endif
51
52# GoogleTest Source Files ######################################################
53
54GOOGLETEST_SRCS += core/tests/audio_request_manager_test.cc
55GOOGLETEST_SRCS += core/tests/memory_manager_test.cc
56GOOGLETEST_SRCS += core/tests/request_multiplexer_test.cc
57GOOGLETEST_SRCS += core/tests/sensor_request_test.cc
58GOOGLETEST_SRCS += core/tests/wifi_scan_request_test.cc
59