Import goldfish HAL sources from devices/generic/goldfish
We import all code here so we can customize and keep in sync with what we do on the host side more easily.
This commit is contained in:
parent
ddea17253c
commit
23392b9732
196 changed files with 62159 additions and 0 deletions
20
android/opengl/system/gralloc/Android.mk
Normal file
20
android/opengl/system/gralloc/Android.mk
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
ifneq (false,$(BUILD_EMULATOR_OPENGL_DRIVER))
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
$(call emugl-begin-shared-library,gralloc.goldfish)
|
||||
$(call emugl-import,libGLESv1_enc lib_renderControl_enc libOpenglSystemCommon)
|
||||
$(call emugl-set-shared-library-subpath,hw)
|
||||
|
||||
LOCAL_CFLAGS += -DLOG_TAG=\"gralloc_goldfish\"
|
||||
LOCAL_CFLAGS += -Wno-missing-field-initializers
|
||||
|
||||
LOCAL_SRC_FILES := gralloc.cpp
|
||||
|
||||
# Need to access the special OPENGL TLS Slot
|
||||
LOCAL_C_INCLUDES += bionic/libc/private
|
||||
LOCAL_SHARED_LIBRARIES += libdl
|
||||
|
||||
$(call emugl-end-module)
|
||||
|
||||
endif # BUILD_EMULATOR_OPENGL_DRIVER != false
|
||||
Loading…
Add table
Add a link
Reference in a new issue