1ifneq (false,$(BUILD_EMULATOR_OPENGL_DRIVER)) 2 3LOCAL_PATH := $(call my-dir) 4 5$(call emugl-begin-shared-library,gralloc.goldfish) 6$(call emugl-import,libGLESv1_enc lib_renderControl_enc libOpenglSystemCommon) 7$(call emugl-set-shared-library-subpath,hw) 8 9LOCAL_CFLAGS += -DLOG_TAG=\"gralloc_goldfish\" 10LOCAL_CFLAGS += -Wno-missing-field-initializers 11 12LOCAL_SRC_FILES := gralloc.cpp 13 14# Need to access the special OPENGL TLS Slot 15LOCAL_C_INCLUDES += bionic/libc/private 16LOCAL_SHARED_LIBRARIES += libdl 17 18$(call emugl-end-module) 19 20$(call emugl-begin-shared-library,gralloc.ranchu) 21$(call emugl-import,libGLESv1_enc lib_renderControl_enc libOpenglSystemCommon) 22$(call emugl-set-shared-library-subpath,hw) 23 24LOCAL_CFLAGS += -DLOG_TAG=\"gralloc_ranchu\" 25LOCAL_CFLAGS += -Wno-missing-field-initializers 26 27LOCAL_SRC_FILES := gralloc.cpp 28 29# Need to access the special OPENGL TLS Slot 30LOCAL_C_INCLUDES += bionic/libc/private 31LOCAL_SHARED_LIBRARIES += libdl 32 33$(call emugl-end-module) 34 35endif # BUILD_EMULATOR_OPENGL_DRIVER != false 36