1 LOCAL_PATH := $(call my-dir) 2 3 # HAL module implemenation stored in 4 # hw/<CONTEXT_HUB_MODULE_ID>.<ro.hardware>.so 5 include $(CLEAR_VARS) 6 7 LOCAL_MODULE_RELATIVE_PATH := hw 8 LOCAL_MULTILIB := both 9 LOCAL_SHARED_LIBRARIES := liblog libcutils 10 LOCAL_SRC_FILES := nanohubhal.cpp system_comms.cpp 11 LOCAL_CFLAGS := -Wall -Werror -Wextra 12 LOCAL_MODULE_OWNER := google 13 14 # Include target-specific files. 15 LOCAL_SRC_FILES += nanohubhal_default.cpp 16 17 LOCAL_HEADER_LIBRARIES := \ 18 libhardware_headers \ 19 libnanohub_common_headers \ 20 libutils_headers 21 22 LOCAL_MODULE := context_hub.default 23 LOCAL_MODULE_TAGS := optional 24 LOCAL_PROPRIETARY_MODULE := true 25 26 include $(BUILD_SHARED_LIBRARY) 27