include $(CLEAR_VARS)
LOCAL_MODULE_RELATIVE_PATH := hw
-LOCAL_C_INCLUDES += hardware/libhardware/include bionic/libc/include
+LOCAL_C_INCLUDES += hardware/libhardware/include
LOCAL_SHARED_LIBRARIES := liblog
LOCAL_SRC_FILES := memtrack_exynos.c mali.c ion.c
LOCAL_MODULE := memtrack.$(TARGET_BOARD_PLATFORM)
};
struct memtrack_module HAL_MODULE_INFO_SYM = {
- common: {
- tag: HARDWARE_MODULE_TAG,
- module_api_version: MEMTRACK_MODULE_API_VERSION_0_1,
- hal_api_version: HARDWARE_HAL_API_VERSION,
- id: MEMTRACK_HARDWARE_MODULE_ID,
- name: "Exynos Memory Tracker HAL",
- author: "The Android Open Source Project",
- methods: &memtrack_module_methods,
+ .common = {
+ .tag = HARDWARE_MODULE_TAG,
+ .module_api_version = MEMTRACK_MODULE_API_VERSION_0_1,
+ .hal_api_version = HARDWARE_HAL_API_VERSION,
+ .id = MEMTRACK_HARDWARE_MODULE_ID,
+ .name = "Exynos Memory Tracker HAL",
+ .author = "The Android Open Source Project",
+ .methods = &memtrack_module_methods,
},
- init: exynos_memtrack_init,
- getMemory: exynos_memtrack_get_memory,
+ .init = exynos_memtrack_init,
+ .getMemory = exynos_memtrack_get_memory,
};