summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/jni/android/graphics/SurfaceTexture.cpp1
-rw-r--r--media/mca/filterfw/jni/Android.mk2
-rw-r--r--media/mca/filterfw/native/Android.mk2
-rw-r--r--media/mca/filterfw/native/core/gl_env.cpp3
-rw-r--r--media/mca/filterfw/native/core/gl_env.h5
-rw-r--r--native/android/Android.mk5
-rw-r--r--native/graphics/jni/Android.mk1
7 files changed, 15 insertions, 4 deletions
diff --git a/core/jni/android/graphics/SurfaceTexture.cpp b/core/jni/android/graphics/SurfaceTexture.cpp
index dc9b656afbf7..00996730cb70 100644
--- a/core/jni/android/graphics/SurfaceTexture.cpp
+++ b/core/jni/android/graphics/SurfaceTexture.cpp
@@ -25,6 +25,7 @@
#include <gui/GLConsumer.h>
#include <gui/Surface.h>
+#include <gui/BufferQueue.h>
#include "core_jni_helpers.h"
diff --git a/media/mca/filterfw/jni/Android.mk b/media/mca/filterfw/jni/Android.mk
index 40576a0996d9..9842e701fbc9 100644
--- a/media/mca/filterfw/jni/Android.mk
+++ b/media/mca/filterfw/jni/Android.mk
@@ -43,6 +43,6 @@ LOCAL_C_INCLUDES += \
LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code -Wno-unused-parameter
-LOCAL_SHARED_LIBRARIES := libmedia
+LOCAL_SHARED_LIBRARIES := libmedia libgui libandroid
include $(BUILD_STATIC_LIBRARY)
diff --git a/media/mca/filterfw/native/Android.mk b/media/mca/filterfw/native/Android.mk
index 7c4703fd5172..2e900fe29e38 100644
--- a/media/mca/filterfw/native/Android.mk
+++ b/media/mca/filterfw/native/Android.mk
@@ -41,6 +41,8 @@ LOCAL_EXPORT_LDLIBS := -llog -lgcc
LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
+LOCAL_STATIC_LIBRARIES := libarect
+
# TODO: Build a shared library as well?
include $(BUILD_STATIC_LIBRARY)
diff --git a/media/mca/filterfw/native/core/gl_env.cpp b/media/mca/filterfw/native/core/gl_env.cpp
index c9d33da58a09..1bb82f88ba48 100644
--- a/media/mca/filterfw/native/core/gl_env.cpp
+++ b/media/mca/filterfw/native/core/gl_env.cpp
@@ -26,7 +26,10 @@
#include <string>
#include <EGL/eglext.h>
+#include <gui/BufferQueue.h>
+#include <gui/Surface.h>
#include <gui/GLConsumer.h>
+#include <gui/IGraphicBufferProducer.h>
namespace android {
namespace filterfw {
diff --git a/media/mca/filterfw/native/core/gl_env.h b/media/mca/filterfw/native/core/gl_env.h
index a709638f1c34..04453016dc93 100644
--- a/media/mca/filterfw/native/core/gl_env.h
+++ b/media/mca/filterfw/native/core/gl_env.h
@@ -27,8 +27,9 @@
#include <GLES2/gl2.h>
#include <EGL/egl.h>
-#include <gui/IGraphicBufferProducer.h>
-#include <gui/Surface.h>
+#include <utils/StrongPointer.h>
+
+struct ANativeWindow;
namespace android {
diff --git a/native/android/Android.mk b/native/android/Android.mk
index f8405ef751a4..69544f532c4b 100644
--- a/native/android/Android.mk
+++ b/native/android/Android.mk
@@ -37,7 +37,8 @@ LOCAL_SHARED_LIBRARIES := \
libnetd_client \
LOCAL_STATIC_LIBRARIES := \
- libstorage
+ libstorage \
+ libarect
LOCAL_C_INCLUDES += \
frameworks/base/native/include \
@@ -45,6 +46,8 @@ LOCAL_C_INCLUDES += \
bionic/libc/dns/include \
system/netd/include \
+LOCAL_EXPORT_STATIC_LIBRARY_HEADERS := libarect
+
LOCAL_MODULE := libandroid
LOCAL_CFLAGS += $(common_cflags)
diff --git a/native/graphics/jni/Android.mk b/native/graphics/jni/Android.mk
index 4c8a9db85646..ec4b35aac9c3 100644
--- a/native/graphics/jni/Android.mk
+++ b/native/graphics/jni/Android.mk
@@ -21,6 +21,7 @@ LOCAL_SRC_FILES:= \
LOCAL_SHARED_LIBRARIES := \
libandroid_runtime \
libskia \
+ libui \
libandroidfw
LOCAL_C_INCLUDES += \