8ba32fade1
This change adds the C++ implementation of SurfaceTexture and related classes. The goal of this is for a SurfaceTexture to be passed to camera service or Stagefright in place of a Surface to allow camera preview or decoded video frames to be streamed to an OpenGL ES texture that an application can use. Change-Id: I55c83a7017f1ecb81c9c9e3252cbd118b914296c
34 lines
561 B
Makefile
34 lines
561 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
ISensorEventConnection.cpp \
|
|
ISensorServer.cpp \
|
|
ISurfaceTexture.cpp \
|
|
Sensor.cpp \
|
|
SensorChannel.cpp \
|
|
SensorEventQueue.cpp \
|
|
SensorManager.cpp \
|
|
SurfaceTexture.cpp \
|
|
SurfaceTextureClient.cpp
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libcutils \
|
|
libutils \
|
|
libbinder \
|
|
libhardware \
|
|
libhardware_legacy \
|
|
libui \
|
|
libEGL \
|
|
libGLESv2 \
|
|
libsurfaceflinger_client
|
|
|
|
|
|
LOCAL_MODULE:= libgui
|
|
|
|
ifeq ($(TARGET_SIMULATOR),true)
|
|
LOCAL_LDLIBS += -lpthread
|
|
endif
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|