1#
2# Android 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# Optional Features ############################################################
20
21CHRE_AUDIO_SUPPORT_ENABLED = true
22CHRE_GNSS_SUPPORT_ENABLED = true
23CHRE_WIFI_SUPPORT_ENABLED = true
24CHRE_WWAN_SUPPORT_ENABLED = true
25
26# Common Source Files ##########################################################
27
28COMMON_SRCS += variant/android/static_nanoapps.cc
29