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_WIFI_SUPPORT_ENABLED = true
27CHRE_WWAN_SUPPORT_ENABLED = true
28
29# Common Source Files ##########################################################
30
31COMMON_SRCS += variant/simulator/static_nanoapps.cc
32
33# Makefile Includes ############################################################
34
35include apps/ash_world/ash_world.mk
36