1 ifneq (false,$(BUILD_EMULATOR_OPENGL_DRIVER)) 2 3 LOCAL_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 9 LOCAL_CFLAGS += -DLOG_TAG=\"gralloc_goldfish\" 10 LOCAL_CFLAGS += -Wno-missing-field-initializers 11 12 LOCAL_SRC_FILES := gralloc.cpp 13 14 # Need to access the special OPENGL TLS Slot 15 LOCAL_C_INCLUDES += bionic/libc/private 16 LOCAL_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 24 LOCAL_CFLAGS += -DLOG_TAG=\"gralloc_ranchu\" 25 LOCAL_CFLAGS += -Wno-missing-field-initializers 26 27 LOCAL_SRC_FILES := gralloc.cpp 28 29 # Need to access the special OPENGL TLS Slot 30 LOCAL_C_INCLUDES += bionic/libc/private 31 LOCAL_SHARED_LIBRARIES += libdl 32 33 $(call emugl-end-module) 34 35 endif # BUILD_EMULATOR_OPENGL_DRIVER != false 36