1LOCAL_PATH := $(call my-dir) 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE := power.$(TARGET_DEVICE) 6LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw 7LOCAL_SRC_FILES := power.c 8LOCAL_CFLAGS := -Werror 9LOCAL_SHARED_LIBRARIES := liblog 10LOCAL_MODULE_TAGS := optional 11 12# power.c uses of GNU old-style field designator extension 13LOCAL_CLANG_CFLAGS += -Wno-gnu-designator 14 15include $(BUILD_SHARED_LIBRARY) 16