Loading libs/gui/Android.mk +0 −6 Original line number Diff line number Diff line Loading @@ -99,12 +99,6 @@ ifeq ($(TARGET_BOARD_HAS_NO_SURFACE_FLINGER), true) LOCAL_CFLAGS += -DHAVE_NO_SURFACE_FLINGER endif ifeq ($(BOARD_ENABLE_GPU_PROTECTED_CONTENT),true) LOCAL_CFLAGS += -DENABLE_GPU_PROTECTED_CONTENT=true else LOCAL_CFLAGS += -DENABLE_GPU_PROTECTED_CONTENT=false endif include $(BUILD_SHARED_LIBRARY) ifeq (,$(ONE_SHOT_MAKEFILE)) Loading libs/gui/GLConsumer.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -135,8 +135,7 @@ static bool hasEglProtectedContentImpl() { bool atEnd = (cropExtLen+1) < extsLen && !strcmp(" " PROT_CONTENT_EXT_STR, exts + extsLen - (cropExtLen+1)); bool inMiddle = strstr(exts, " " PROT_CONTENT_EXT_STR " "); return ENABLE_GPU_PROTECTED_CONTENT && (equal || atStart || atEnd || inMiddle); return equal || atStart || atEnd || inMiddle; } static bool hasEglProtectedContent() { Loading Loading
libs/gui/Android.mk +0 −6 Original line number Diff line number Diff line Loading @@ -99,12 +99,6 @@ ifeq ($(TARGET_BOARD_HAS_NO_SURFACE_FLINGER), true) LOCAL_CFLAGS += -DHAVE_NO_SURFACE_FLINGER endif ifeq ($(BOARD_ENABLE_GPU_PROTECTED_CONTENT),true) LOCAL_CFLAGS += -DENABLE_GPU_PROTECTED_CONTENT=true else LOCAL_CFLAGS += -DENABLE_GPU_PROTECTED_CONTENT=false endif include $(BUILD_SHARED_LIBRARY) ifeq (,$(ONE_SHOT_MAKEFILE)) Loading
libs/gui/GLConsumer.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -135,8 +135,7 @@ static bool hasEglProtectedContentImpl() { bool atEnd = (cropExtLen+1) < extsLen && !strcmp(" " PROT_CONTENT_EXT_STR, exts + extsLen - (cropExtLen+1)); bool inMiddle = strstr(exts, " " PROT_CONTENT_EXT_STR " "); return ENABLE_GPU_PROTECTED_CONTENT && (equal || atStart || atEnd || inMiddle); return equal || atStart || atEnd || inMiddle; } static bool hasEglProtectedContent() { Loading