1#
2# Simulator-Specific CHRE Makefile
3#
4
5# Version String ###############################################################
6
7COMMIT_HASH_COMMAND = git describe --always --long --dirty
8
9VERSION_STRING = chre=$(shell $(COMMIT_HASH_COMMAND))
10
11COMMON_CFLAGS += -DCHRE_VERSION_STRING='"$(VERSION_STRING)"'
12
13# Common Compiler Flags ########################################################
14
15# Supply a symbol to indicate that the build variant supplies the static
16# nanoapp list.
17COMMON_CFLAGS += -DCHRE_VARIANT_SUPPLIES_STATIC_NANOAPP_LIST
18
19# Enable exceptions for TCLAP.
20GOOGLE_X86_LINUX_CFLAGS += -fexceptions
21
22# Optional Features ############################################################
23
24CHRE_AUDIO_SUPPORT_ENABLED = true
25CHRE_GNSS_SUPPORT_ENABLED = true
26CHRE_SENSORS_SUPPORT_ENABLED = true
27CHRE_WIFI_SUPPORT_ENABLED = true
28CHRE_WWAN_SUPPORT_ENABLED = true
29
30# Common Source Files ##########################################################
31
32COMMON_SRCS += variant/simulator/static_nanoapps.cc
33
34