diff options
Diffstat (limited to 'firmware/build/app_chre_executable.mk')
-rw-r--r-- | firmware/build/app_chre_executable.mk | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/firmware/build/app_chre_executable.mk b/firmware/build/app_chre_executable.mk index 009dc15c..da776821 100644 --- a/firmware/build/app_chre_executable.mk +++ b/firmware/build/app_chre_executable.mk @@ -1,5 +1,5 @@ # -# Copyright (C) 2016 The Android Open Source Project +# Copyright (C) 2017 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -24,8 +24,8 @@ ifeq ($(strip $(my_variants)),) my_variants := $(AUX_OS_VARIANT_LIST_$(NANO_OS)) endif -# mark the app as CHRE 1.1 nanoapp -LOCAL_NANO_APP_POSTPROCESS_FLAGS += -c 0x0101 +# mark the app as CHRE 1.2 nanoapp +LOCAL_NANO_APP_POSTPROCESS_FLAGS += -c 0x0102 # add app-side CHRE implementation LOCAL_WHOLE_STATIC_LIBRARIES += \ @@ -37,4 +37,8 @@ LOCAL_STATIC_LIBRARIES += \ libnanolibc \ libnanolibm \ +LOCAL_C_INCLUDES += \ + system/chre/chre_api/include/chre_api \ + system/chre/util/include \ + $(call for-each-variant,$(my_variants),APP,$(BUILD_NANOHUB_EXECUTABLE)) |