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