aboutsummaryrefslogtreecommitdiff
path: root/variant/simulator/variant.mk
blob: d979a5bacedd7227ada24f5397220bf899efad53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#
# Simulator-Specific CHRE Makefile
#

# Version String ###############################################################

COMMIT_HASH_COMMAND = git describe --always --long --dirty

VERSION_STRING = chre=$(shell $(COMMIT_HASH_COMMAND))

COMMON_CFLAGS += -DCHRE_VERSION_STRING='"$(VERSION_STRING)"'

# Common Compiler Flags ########################################################

# Supply a symbol to indicate that the build variant supplies the static
# nanoapp list.
COMMON_CFLAGS += -DCHRE_VARIANT_SUPPLIES_STATIC_NANOAPP_LIST

# Enable exceptions for TCLAP.
GOOGLE_X86_LINUX_CFLAGS += -fexceptions

# Optional Features ############################################################

CHRE_AUDIO_SUPPORT_ENABLED = true
CHRE_GNSS_SUPPORT_ENABLED = true
CHRE_WIFI_SUPPORT_ENABLED = true
CHRE_WWAN_SUPPORT_ENABLED = true

# Common Source Files ##########################################################

COMMON_SRCS += variant/simulator/static_nanoapps.cc

# Makefile Includes ############################################################

include apps/ash_world/ash_world.mk