gralloc: fix check for TARGET_USES_GRALLOC1
Advertise gralloc1 only when TARGET_USES_GRALLOC1 is set to true. Test: builds and boots Change-Id: Ie7063281b114a3562d5d943cf67b3c25007b787e
This commit is contained in:
parent
86384cfc3e
commit
115226b0dd
|
@ -35,7 +35,7 @@ LOCAL_COPY_HEADERS := gralloc_priv.h gr.h
|
|||
LOCAL_STATIC_LIBRARIES := libgralloc1-adapter
|
||||
LOCAL_SHARED_LIBRARIES += libsync
|
||||
|
||||
ifneq ($(TARGET_USES_GRALLOC1), true)
|
||||
ifeq ($(TARGET_USES_GRALLOC1), true)
|
||||
LOCAL_CFLAGS += -DADVERTISE_GRALLOC1
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue