fixup include paths

- remove unneeded include deps
- remove some hardcoded include paths

Change-Id: Ifae0e2b2d738e0f94f8525c45be78f4227ce1673
This commit is contained in:
Mathias Agopian 2012-03-05 13:57:02 -08:00
parent 06b573e4f9
commit 622cfadc8f
21 changed files with 24 additions and 34 deletions

View File

@ -4,7 +4,7 @@ LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= app-linux.cpp demo.c.arm
LOCAL_SHARED_LIBRARIES := libEGL libGLESv1_CM libui
LOCAL_C_INCLUDES += frameworks/base/opengl/tests/include
LOCAL_C_INCLUDES += $(call include-path-for, opengl-tests-includes)
LOCAL_MODULE:= angeles
LOCAL_MODULE_TAGS := optional
include $(BUILD_EXECUTABLE)

View File

@ -11,7 +11,7 @@ LOCAL_SHARED_LIBRARIES := \
libGLESv1_CM \
libui
LOCAL_C_INCLUDES += frameworks/base/opengl/tests/include
LOCAL_C_INCLUDES += $(call include-path-for, opengl-tests-includes)
LOCAL_MODULE:= test-opengl-fillrate

View File

@ -10,7 +10,7 @@ LOCAL_SHARED_LIBRARIES := \
libGLESv1_CM \
libui
LOCAL_C_INCLUDES += frameworks/base/opengl/tests/include
LOCAL_C_INCLUDES += $(call include-path-for, opengl-tests-includes)
LOCAL_MODULE:= test-opengl-filter

View File

@ -11,7 +11,7 @@ LOCAL_SHARED_LIBRARIES := \
libGLESv1_CM \
libui
LOCAL_C_INCLUDES += frameworks/base/opengl/tests/include
LOCAL_C_INCLUDES += $(call include-path-for, opengl-tests-includes)
LOCAL_MODULE:= test-opengl-finish

View File

@ -10,7 +10,7 @@ LOCAL_SHARED_LIBRARIES := \
libGLESv2 \
libui
LOCAL_C_INCLUDES += frameworks/base/opengl/tests/include
LOCAL_C_INCLUDES += $(call include-path-for, opengl-tests-includes)
LOCAL_MODULE:= test-opengl-gl2_basic

View File

@ -10,7 +10,7 @@ LOCAL_SHARED_LIBRARIES := \
libGLESv2 \
libui
LOCAL_C_INCLUDES += frameworks/base/opengl/tests/include
LOCAL_C_INCLUDES += $(call include-path-for, opengl-tests-includes)
LOCAL_MODULE:= test-opengl-gl2_copyTexImage

View File

@ -10,7 +10,7 @@ LOCAL_SHARED_LIBRARIES := \
libGLESv2 \
libui
LOCAL_C_INCLUDES += frameworks/base/opengl/tests/include
LOCAL_C_INCLUDES += $(call include-path-for, opengl-tests-includes)
LOCAL_MODULE:= test-opengl-gl2_yuvtex

View File

@ -10,7 +10,7 @@ LOCAL_SHARED_LIBRARIES := \
libGLESv1_CM \
libui
LOCAL_C_INCLUDES += frameworks/base/opengl/tests/include
LOCAL_C_INCLUDES += $(call include-path-for, opengl-tests-includes)
LOCAL_MODULE:= test-opengl-gl_basic

View File

@ -11,7 +11,7 @@ LOCAL_SHARED_LIBRARIES := \
libGLESv2 \
libui
LOCAL_C_INCLUDES += frameworks/base/opengl/tests/include
LOCAL_C_INCLUDES += $(call include-path-for, opengl-tests-includes)
LOCAL_MODULE:= test-opengl-gl2_perf

View File

@ -10,7 +10,7 @@ LOCAL_SHARED_LIBRARIES := \
libGLESv1_CM \
libui
LOCAL_C_INCLUDES += frameworks/base/opengl/tests/include
LOCAL_C_INCLUDES += $(call include-path-for, opengl-tests-includes)
LOCAL_MODULE:= test-opengl-gl_yuvtex

View File

@ -22,8 +22,7 @@ LOCAL_C_INCLUDES += system/extras/tests/include \
bionic \
bionic/libstdc++/include \
external/stlport/stlport \
frameworks/base/opengl/tests \
frameworks/base/opengl/tests/include \
$(call include-path-for, opengl-tests-includes)
LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
@ -51,8 +50,7 @@ LOCAL_STATIC_LIBRARIES := \
LOCAL_C_INCLUDES += \
system/extras/tests/include \
hardware/libhardware/include \
frameworks/base/opengl/tests \
frameworks/base/opengl/tests/include \
$(call include-path-for, opengl-tests-includes)
LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
@ -83,8 +81,7 @@ LOCAL_STATIC_LIBRARIES := \
LOCAL_C_INCLUDES += \
system/extras/tests/include \
hardware/libhardware/include \
frameworks/base/opengl/tests \
frameworks/base/opengl/tests/include \
$(call include-path-for, opengl-tests-includes)
LOCAL_MODULE:= hwcRects
LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/nativeutil
@ -113,8 +110,7 @@ LOCAL_STATIC_LIBRARIES := \
LOCAL_C_INCLUDES += \
system/extras/tests/include \
hardware/libhardware/include \
frameworks/base/opengl/tests \
frameworks/base/opengl/tests/include \
$(call include-path-for, opengl-tests-includes)
LOCAL_MODULE:= hwcColorEquiv
LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/nativeutil
@ -143,8 +139,7 @@ LOCAL_STATIC_LIBRARIES := \
LOCAL_C_INCLUDES += \
system/extras/tests/include \
hardware/libhardware/include \
frameworks/base/opengl/tests \
frameworks/base/opengl/tests/include \
$(call include-path-for, opengl-tests-includes)
LOCAL_MODULE:= hwcCommit
LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/nativebenchmark

View File

@ -106,7 +106,7 @@
#include <hardware/hwcomposer.h>
#include <glTestLib.h>
#include <hwc/hwcTestLib.h>
#include "hwcTestLib.h"
using namespace std;
using namespace android;

View File

@ -114,7 +114,7 @@
#include <hardware/hwcomposer.h>
#include <glTestLib.h>
#include <hwc/hwcTestLib.h>
#include "hwcTestLib.h"
using namespace std;
using namespace android;

View File

@ -111,7 +111,7 @@
#include <hardware/hwcomposer.h>
#include <glTestLib.h>
#include <hwc/hwcTestLib.h>
#include "hwcTestLib.h"
using namespace std;
using namespace android;

View File

@ -25,7 +25,7 @@
#include <arpa/inet.h> // For ntohl() and htonl()
#include <hwc/hwcTestLib.h>
#include "hwcTestLib.h"
#include "EGLUtils.h"

View File

@ -22,7 +22,7 @@ LOCAL_C_INCLUDES += system/extras/tests/include \
bionic \
bionic/libstdc++/include \
external/stlport/stlport \
frameworks/base/opengl/tests/include \
$(call include-path-for, opengl-tests-includes)
LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES

View File

@ -10,7 +10,7 @@ LOCAL_SHARED_LIBRARIES := \
libGLESv1_CM \
libui
LOCAL_C_INCLUDES += frameworks/base/opengl/tests/include
LOCAL_C_INCLUDES += $(call include-path-for, opengl-tests-includes)
LOCAL_MODULE:= test-opengl-linetex

View File

@ -11,7 +11,7 @@ LOCAL_SHARED_LIBRARIES := \
libGLESv1_CM \
libui
LOCAL_C_INCLUDES += frameworks/base/opengl/tests/include
LOCAL_C_INCLUDES += $(call include-path-for, opengl-tests-includes)
LOCAL_MODULE:= test-opengl-swapinterval

View File

@ -10,7 +10,7 @@ LOCAL_SHARED_LIBRARIES := \
libGLESv1_CM \
libui
LOCAL_C_INCLUDES += frameworks/base/opengl/tests/include
LOCAL_C_INCLUDES += $(call include-path-for, opengl-tests-includes)
LOCAL_MODULE:= test-opengl-textures

View File

@ -10,7 +10,7 @@ LOCAL_SHARED_LIBRARIES := \
libGLESv1_CM \
libui
LOCAL_C_INCLUDES += frameworks/base/opengl/tests/include
LOCAL_C_INCLUDES += $(call include-path-for, opengl-tests-includes)
LOCAL_MODULE:= test-opengl-tritex

View File

@ -51,11 +51,6 @@ LOCAL_SHARED_LIBRARIES := \
# this is only needed for DDMS debugging
LOCAL_SHARED_LIBRARIES += libdvm libandroid_runtime
LOCAL_C_INCLUDES := \
$(call include-path-for, corecg graphics)
LOCAL_C_INCLUDES += hardware/libhardware/modules/gralloc
LOCAL_MODULE:= libsurfaceflinger
include $(BUILD_SHARED_LIBRARY)