From 957010bef327f255cdb6909109a1f31b5ee8f443 Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Mon, 7 Feb 2011 17:18:53 -0800 Subject: [PATCH] Fix for X86 target The X86 target couldn't compile some tests that use assembly, but it can compile other things that now depend on some projects in the test subdir (namely libtestUtil for OpenGL tests) Also fatblock was including directly instead of which broke some stuff on X86 Change-Id: Ib71a6e548189ca2eacfd0caa7dbd17d200efd0ea --- fatblock/fat.c | 2 +- fatblock/fs.c | 2 +- tests/Android.mk | 2 -- tests/icachetest/Android.mk | 3 ++- tests/memtest/Android.mk | 3 ++- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/fatblock/fat.c b/fatblock/fat.c index 02e32922..c549bc1b 100644 --- a/fatblock/fat.c +++ b/fatblock/fat.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include "fat.h" diff --git a/fatblock/fs.c b/fatblock/fs.c index 5ab33d7b..fb19a705 100644 --- a/fatblock/fs.c +++ b/fatblock/fs.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include "fatblock.h" #include "fat.h" diff --git a/tests/Android.mk b/tests/Android.mk index 582ddc90..5053e7d6 100644 --- a/tests/Android.mk +++ b/tests/Android.mk @@ -1,3 +1 @@ -ifeq ($(TARGET_ARCH),arm) include $(call all-subdir-makefiles) -endif diff --git a/tests/icachetest/Android.mk b/tests/icachetest/Android.mk index 39d0016f..f50f7909 100644 --- a/tests/icachetest/Android.mk +++ b/tests/icachetest/Android.mk @@ -1,5 +1,5 @@ # Copyright 2006 The Android Open Source Project - +ifeq ($(TARGET_ARCH),arm) LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) @@ -12,3 +12,4 @@ LOCAL_MODULE:= icache LOCAL_MODULE_TAGS := optional include $(BUILD_EXECUTABLE) +endif diff --git a/tests/memtest/Android.mk b/tests/memtest/Android.mk index 7fc6c0a9..3b893f60 100644 --- a/tests/memtest/Android.mk +++ b/tests/memtest/Android.mk @@ -1,5 +1,5 @@ # Copyright 2006 The Android Open Source Project - +ifeq ($(TARGET_ARCH),arm) LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) @@ -18,3 +18,4 @@ LOCAL_MODULE_TAGS := optional LOCAL_CFLAGS += -fomit-frame-pointer include $(BUILD_EXECUTABLE) +endif -- 2.11.0