diff options
-rw-r--r-- | Android.mk | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -16,6 +16,15 @@ ifeq ($(strip $(BOARD_USES_DRM_HWCOMPOSER)),true) LOCAL_PATH := $(call my-dir) +common_drm_hwcomposer_cflags := \ + -Wall \ + -Werror \ + -Wno-unused-function \ + -Wno-unused-label \ + -Wno-unused-parameter \ + -Wno-unused-private-field \ + -Wno-unused-variable \ + # ===================== # libdrmhwc_utils.a # ===================== @@ -24,6 +33,8 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := \ worker.cpp +LOCAL_CFLAGS := $(common_drm_hwcomposer_cflags) + LOCAL_MODULE := libdrmhwc_utils include $(BUILD_STATIC_LIBRARY) @@ -75,6 +86,8 @@ LOCAL_SRC_FILES := \ virtualcompositorworker.cpp \ vsyncworker.cpp +LOCAL_CFLAGS := $(common_drm_hwcomposer_cflags) + LOCAL_CPPFLAGS += \ -DHWC2_USE_CPP11 \ -DHWC2_INCLUDE_STRINGIFICATION |