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 11 LOCAL_SRC_FILES := gralloc.cpp 12 13 # Need to access the special OPENGL TLS Slot 14 LOCAL_C_INCLUDES += bionic/libc/private 15 LOCAL_SHARED_LIBRARIES += libdl 16 17 $(call emugl-end-module) 18 19 endif # BUILD_EMULATOR_OPENGL_DRIVER != false 20