Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7a213516 authored by Dan Willemsen's avatar Dan Willemsen
Browse files

Remove FRAMEBUFFER_FORCE_FORMAT

It's no longer used, except for a debugging line.

Change-Id: I44e1c17129e71168b263e872e9aaab0f164d3832
parent 213f0159
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -54,10 +54,6 @@ LOCAL_SHARED_LIBRARIES := \
	libutils \
	liblog

ifneq ($(BOARD_FRAMEBUFFER_FORCE_FORMAT),)
LOCAL_CFLAGS += -DFRAMEBUFFER_FORCE_FORMAT=$(BOARD_FRAMEBUFFER_FORCE_FORMAT)
endif

LOCAL_MODULE := libui

include $(BUILD_SHARED_LIBRARY)
+1 −11
Original line number Diff line number Diff line
@@ -18,20 +18,10 @@

namespace android {

#ifdef FRAMEBUFFER_FORCE_FORMAT
// We need the two-level macro to stringify the contents of a macro argument
#define STRINGIFY(x) #x
#define TOSTRING(x) STRINGIFY(x)
#endif

void appendUiConfigString(String8& configStr)
{
    static const char* config =
            " [libui"
#ifdef FRAMEBUFFER_FORCE_FORMAT
            " FRAMEBUFFER_FORCE_FORMAT=" TOSTRING(FRAMEBUFFER_FORCE_FORMAT)
#endif
            "]";
            " [libui]";
    configStr.append(config);
}