xref: /aosp_15_r20/system/chre/chre_api/chre_api.mk (revision 84e339476a462649f82315436d70fd732297a399)
1*84e33947SAndroid Build Coastguard Worker#
2*84e33947SAndroid Build Coastguard Worker# CHRE API Makefile
3*84e33947SAndroid Build Coastguard Worker#
4*84e33947SAndroid Build Coastguard Worker
5*84e33947SAndroid Build Coastguard Worker# TODO: Consider switching out the included headers and compilation
6*84e33947SAndroid Build Coastguard Worker# configuration based on the version of the CHRE API provided here. This is
7*84e33947SAndroid Build Coastguard Worker# currently only used for nanoapp header generation which only supports
8*84e33947SAndroid Build Coastguard Worker# targetting the current API version.
9*84e33947SAndroid Build Coastguard Worker
10*84e33947SAndroid Build Coastguard Workerinclude $(CHRE_PREFIX)/chre_api/chre_api_version.mk
11*84e33947SAndroid Build Coastguard Worker
12*84e33947SAndroid Build Coastguard Worker# Common Compiler Flags ########################################################
13*84e33947SAndroid Build Coastguard Worker
14*84e33947SAndroid Build Coastguard Worker# Include paths.
15*84e33947SAndroid Build Coastguard WorkerCOMMON_CFLAGS += -I$(CHRE_PREFIX)/chre_api/include
16*84e33947SAndroid Build Coastguard Worker
17*84e33947SAndroid Build Coastguard Worker# Allows including chre.h directly
18*84e33947SAndroid Build Coastguard WorkerCOMMON_CFLAGS += -I$(CHRE_PREFIX)/chre_api/include/chre_api
19