blob: 0a42daeb529ee4486c2f4bdd77f65394787e6fb4 [file] [log] [blame]
Andrew Rossignol1ac3c042016-12-20 10:56:49 -08001#
2# Util Makefile
3#
4
5# Common Compiler Flags ########################################################
6
7# Include paths.
Brian Duddie633498e2022-02-16 12:28:42 -08008COMMON_CFLAGS += -I$(CHRE_PREFIX)/util/include
Andrew Rossignold3fb1532017-02-28 17:40:24 -08009
Andrew Rossignol746ea0e2017-03-15 19:10:51 -070010# Common Source Files ##########################################################
11
Brian Duddie633498e2022-02-16 12:28:42 -080012COMMON_SRCS += $(CHRE_PREFIX)/util/buffer_base.cc
13COMMON_SRCS += $(CHRE_PREFIX)/util/dynamic_vector_base.cc
14COMMON_SRCS += $(CHRE_PREFIX)/util/nanoapp/audio.cc
15COMMON_SRCS += $(CHRE_PREFIX)/util/nanoapp/callbacks.cc
16COMMON_SRCS += $(CHRE_PREFIX)/util/nanoapp/debug.cc
17COMMON_SRCS += $(CHRE_PREFIX)/util/nanoapp/wifi.cc
18COMMON_SRCS += $(CHRE_PREFIX)/util/system/debug_dump.cc
Andrew Rossignol746ea0e2017-03-15 19:10:51 -070019
Andrew Rossignold3fb1532017-02-28 17:40:24 -080020# GoogleTest Source Files ######################################################
21
Brian Duddie633498e2022-02-16 12:28:42 -080022GOOGLETEST_SRCS += $(CHRE_PREFIX)/util/tests/array_queue_test.cc
Brian Duddie2e5611f2022-01-04 20:52:33 -080023GOOGLETEST_SRCS += $(CHRE_PREFIX)/util/tests/atomic_spsc_queue_test.cc
Brian Duddie633498e2022-02-16 12:28:42 -080024GOOGLETEST_SRCS += $(CHRE_PREFIX)/util/tests/blocking_queue_test.cc
25GOOGLETEST_SRCS += $(CHRE_PREFIX)/util/tests/buffer_test.cc
26GOOGLETEST_SRCS += $(CHRE_PREFIX)/util/tests/debug_dump_test.cc
27GOOGLETEST_SRCS += $(CHRE_PREFIX)/util/tests/dynamic_vector_test.cc
28GOOGLETEST_SRCS += $(CHRE_PREFIX)/util/tests/fixed_size_vector_test.cc
29GOOGLETEST_SRCS += $(CHRE_PREFIX)/util/tests/heap_test.cc
30GOOGLETEST_SRCS += $(CHRE_PREFIX)/util/tests/lock_guard_test.cc
31GOOGLETEST_SRCS += $(CHRE_PREFIX)/util/tests/memory_pool_test.cc
32GOOGLETEST_SRCS += $(CHRE_PREFIX)/util/tests/optional_test.cc
33GOOGLETEST_SRCS += $(CHRE_PREFIX)/util/tests/priority_queue_test.cc
34GOOGLETEST_SRCS += $(CHRE_PREFIX)/util/tests/ref_base_test.cc
35GOOGLETEST_SRCS += $(CHRE_PREFIX)/util/tests/shared_ptr_test.cc
36GOOGLETEST_SRCS += $(CHRE_PREFIX)/util/tests/singleton_test.cc
37GOOGLETEST_SRCS += $(CHRE_PREFIX)/util/tests/time_test.cc
38GOOGLETEST_SRCS += $(CHRE_PREFIX)/util/tests/unique_ptr_test.cc
Anthony Stange5ee729a2022-02-04 20:02:33 +000039
40# Pigweed Source Files #########################################################
41
Brian Duddie2e5611f2022-01-04 20:52:33 -080042PIGWEED_UTIL_SRCS += $(CHRE_PREFIX)/util/pigweed/chre_channel_output.cc