Remove the simulator target from all makefiles.
Bug: 5010576 Change-Id: I04d722f258951a3078fe07899f5bbe8aac02a8e8
This commit is contained in:
@@ -5,13 +5,6 @@ LOCAL_SRC_FILES:= \
|
||||
bootanimation_main.cpp \
|
||||
BootAnimation.cpp
|
||||
|
||||
# need "-lrt" on Linux simulator to pick up clock_gettime
|
||||
ifeq ($(TARGET_SIMULATOR),true)
|
||||
ifeq ($(HOST_OS),linux)
|
||||
LOCAL_LDLIBS += -lrt
|
||||
endif
|
||||
endif
|
||||
|
||||
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
@@ -10,5 +8,3 @@ LOCAL_MODULE:= bugreport
|
||||
LOCAL_SHARED_LIBRARIES := libcutils
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
@@ -14,5 +12,3 @@ LOCAL_MODULE := dumpstate
|
||||
LOCAL_SHARED_LIBRARIES := libcutils
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
common_src_files := \
|
||||
@@ -41,5 +39,3 @@ LOCAL_MODULE := installd
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
||||
|
||||
endif # !simulator
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
|
||||
# Build the unit tests.
|
||||
test_src_files := \
|
||||
installd_utils_test.cpp
|
||||
@@ -38,5 +36,3 @@ $(foreach file,$(test_src_files), \
|
||||
$(eval LOCAL_MODULE_TAGS := $(module_tags)) \
|
||||
$(eval include $(BUILD_EXECUTABLE)) \
|
||||
)
|
||||
|
||||
endif
|
||||
|
||||
@@ -14,8 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
@@ -32,5 +30,3 @@ LOCAL_SHARED_LIBRARIES := libcutils libcrypto
|
||||
LOCAL_MODULE:= keystore_cli
|
||||
LOCAL_MODULE_TAGS := debug
|
||||
include $(BUILD_EXECUTABLE)
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
# Copyright 2009 The Android Open Source Project
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
@@ -15,5 +13,3 @@ LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
|
||||
LOCAL_MODULE_TAGS := debug
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
@@ -12,5 +10,3 @@ LOCAL_STATIC_LIBRARIES := libpng
|
||||
LOCAL_C_INCLUDES += external/zlib
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
||||
|
||||
endif
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
#include $(CLEAR_VARS)
|
||||
@@ -14,4 +13,3 @@ ifeq ($(BOARD_USE_LVMX),true)
|
||||
LOCAL_CFLAGS += -DLVMX
|
||||
endif
|
||||
include $(BUILD_EXECUTABLE)
|
||||
endif
|
||||
|
||||
@@ -224,22 +224,14 @@ LOCAL_CFLAGS += -DHAVE_BLUETOOTH
|
||||
LOCAL_SHARED_LIBRARIES += libbluedroid libdbus
|
||||
endif
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_SHARED_LIBRARIES += \
|
||||
libdl
|
||||
# we need to access the private Bionic header
|
||||
# <bionic_tls.h> in com_google_android_gles_jni_GLImpl.cpp
|
||||
LOCAL_CFLAGS += -I$(LOCAL_PATH)/../../../../bionic/libc/private
|
||||
endif
|
||||
# we need to access the private Bionic header
|
||||
# <bionic_tls.h> in com_google_android_gles_jni_GLImpl.cpp
|
||||
LOCAL_CFLAGS += -I$(LOCAL_PATH)/../../../../bionic/libc/private
|
||||
|
||||
LOCAL_LDLIBS += -lpthread -ldl
|
||||
|
||||
ifeq ($(TARGET_SIMULATOR),true)
|
||||
ifeq ($(TARGET_OS)-$(TARGET_ARCH),linux-x86)
|
||||
LOCAL_LDLIBS += -lrt
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_MALLOC_LEAK_CHECK),true)
|
||||
LOCAL_CFLAGS += -DMALLOC_LEAK_CHECK
|
||||
endif
|
||||
|
||||
@@ -24,13 +24,8 @@ LOCAL_SRC_FILES:= \
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libmedia \
|
||||
libutils \
|
||||
libbinder
|
||||
|
||||
ifeq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_LDLIBS += -ldl
|
||||
else
|
||||
LOCAL_SHARED_LIBRARIES += libdl
|
||||
endif
|
||||
libbinder \
|
||||
libdl
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := libdrmframeworkcommon
|
||||
|
||||
|
||||
@@ -26,13 +26,8 @@ LOCAL_SHARED_LIBRARIES := \
|
||||
libutils \
|
||||
libandroid_runtime \
|
||||
libnativehelper \
|
||||
libbinder
|
||||
|
||||
ifeq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_LDLIBS += -ldl
|
||||
else
|
||||
LOCAL_SHARED_LIBRARIES += libdl
|
||||
endif
|
||||
libbinder \
|
||||
libdl
|
||||
|
||||
LOCAL_STATIC_LIBRARIES :=
|
||||
|
||||
|
||||
@@ -25,13 +25,8 @@ LOCAL_MODULE:= libdrmframework
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libutils \
|
||||
libbinder
|
||||
|
||||
ifeq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_LDLIBS += -ldl
|
||||
else
|
||||
LOCAL_SHARED_LIBRARIES += libdl
|
||||
endif
|
||||
libbinder \
|
||||
libdl
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := \
|
||||
libdrmframeworkcommon
|
||||
|
||||
@@ -24,14 +24,8 @@ LOCAL_MODULE := libdrmpassthruplugin
|
||||
LOCAL_STATIC_LIBRARIES := libdrmframeworkcommon
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libutils
|
||||
|
||||
ifeq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_LDLIBS += -ldl
|
||||
else
|
||||
LOCAL_SHARED_LIBRARIES += libdl
|
||||
endif
|
||||
|
||||
libutils \
|
||||
libdl
|
||||
|
||||
|
||||
LOCAL_C_INCLUDES += \
|
||||
|
||||
@@ -1,10 +1,3 @@
|
||||
|
||||
# libRS needs libacc, which isn't 64-bit clean, and so can't be built
|
||||
# for the simulator on gHardy, and therefore libRS needs to be excluded
|
||||
# from the simulator as well, and so in turn librs_jni needs to be
|
||||
# excluded.
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
@@ -41,5 +34,3 @@ LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_REQUIRED_MODULES := libRS
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
endif #simulator
|
||||
|
||||
@@ -20,8 +20,4 @@ LOCAL_SHARED_LIBRARIES := \
|
||||
|
||||
LOCAL_MODULE:= libcamera_client
|
||||
|
||||
ifeq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_LDLIBS += -lpthread
|
||||
endif
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
@@ -32,10 +32,6 @@ LOCAL_SHARED_LIBRARIES := \
|
||||
|
||||
LOCAL_MODULE:= libgui
|
||||
|
||||
ifeq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_LDLIBS += -lpthread
|
||||
endif
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
ifeq (,$(ONE_SHOT_MAKEFILE))
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
|
||||
LOCAL_MODULE := SurfaceTexture_test
|
||||
|
||||
LOCAL_MODULE_TAGS := tests
|
||||
@@ -36,8 +34,6 @@ LOCAL_C_INCLUDES := \
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
||||
|
||||
endif
|
||||
|
||||
# Include subdirectory makefiles
|
||||
# ============================================================
|
||||
|
||||
|
||||
@@ -77,11 +77,6 @@ rs_generated_source += $(GEN)
|
||||
|
||||
LOCAL_GENERATED_SOURCES += $(GEN)
|
||||
|
||||
# libRS needs libacc, which isn't 64-bit clean, and so can't be built
|
||||
# for the simulator on gHardy, and therefore libRS needs to be excluded
|
||||
# from the simulator as well.
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
|
||||
LOCAL_SRC_FILES:= \
|
||||
rsAdapter.cpp \
|
||||
rsAllocation.cpp \
|
||||
@@ -228,5 +223,3 @@ LOCAL_STATIC_LIBRARIES := libcutils libutils
|
||||
LOCAL_LDLIBS := -lpthread
|
||||
|
||||
include $(BUILD_HOST_STATIC_LIBRARY)
|
||||
|
||||
endif #simulator
|
||||
|
||||
@@ -13,8 +13,4 @@ LOCAL_STATIC_LIBRARIES := \
|
||||
|
||||
LOCAL_MODULE:= libstorage
|
||||
|
||||
ifeq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_LDLIBS += -lpthread
|
||||
endif
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
||||
@@ -7,8 +7,4 @@ LOCAL_SHARED_LIBRARIES :=
|
||||
|
||||
LOCAL_MODULE:= libsurfaceflinger_client
|
||||
|
||||
ifeq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_LDLIBS += -lpthread
|
||||
endif
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
@@ -68,10 +68,6 @@ LOCAL_C_INCLUDES := \
|
||||
|
||||
LOCAL_MODULE:= libui
|
||||
|
||||
ifeq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_LDLIBS += -lpthread
|
||||
endif
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
|
||||
# Build the unit tests.
|
||||
test_src_files := \
|
||||
InputChannel_test.cpp \
|
||||
@@ -48,5 +46,3 @@ $(foreach file,$(test_src_files), \
|
||||
|
||||
# Build the manual test programs.
|
||||
include $(call all-subdir-makefiles)
|
||||
|
||||
endif
|
||||
@@ -103,17 +103,14 @@ LOCAL_SHARED_LIBRARIES := \
|
||||
liblog \
|
||||
libcutils
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
ifeq ($(TARGET_OS)-$(TARGET_ARCH),linux-x86)
|
||||
# This is needed on x86 to bring in dl_iterate_phdr for CallStack.cpp
|
||||
LOCAL_SHARED_LIBRARIES += libdl
|
||||
endif # linux-x86
|
||||
endif # sim
|
||||
|
||||
LOCAL_MODULE:= libutils
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
ifeq ($(TARGET_OS),linux)
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_C_INCLUDES += external/zlib external/icu4c/common
|
||||
@@ -122,7 +119,6 @@ LOCAL_MODULE := libutils
|
||||
LOCAL_SRC_FILES := $(commonSources) BackupData.cpp BackupHelpers.cpp
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
# Include subdirectory makefiles
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
|
||||
# Build the unit tests.
|
||||
test_src_files := \
|
||||
BlobCache_test.cpp \
|
||||
@@ -43,5 +41,3 @@ $(foreach file,$(test_src_files), \
|
||||
$(eval LOCAL_MODULE_TAGS := $(module_tags)) \
|
||||
$(eval include $(BUILD_EXECUTABLE)) \
|
||||
)
|
||||
|
||||
endif
|
||||
|
||||
@@ -12,14 +12,6 @@ LOCAL_SHARED_LIBRARIES := \
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)
|
||||
LOCAL_MODULE:= libeffects
|
||||
|
||||
ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
|
||||
LOCAL_LDLIBS += -ldl
|
||||
endif
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_SHARED_LIBRARIES += libdl
|
||||
endif
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
@@ -19,12 +19,7 @@ LOCAL_STATIC_LIBRARIES += libmusicbundle
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libcutils \
|
||||
|
||||
ifeq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_LDLIBS += -ldl
|
||||
else
|
||||
LOCAL_SHARED_LIBRARIES += libdl
|
||||
endif
|
||||
libdl
|
||||
|
||||
|
||||
LOCAL_C_INCLUDES += \
|
||||
@@ -54,12 +49,7 @@ LOCAL_STATIC_LIBRARIES += libreverb
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libcutils \
|
||||
|
||||
ifeq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_LDLIBS += -ldl
|
||||
else
|
||||
LOCAL_SHARED_LIBRARIES += libdl
|
||||
endif
|
||||
libdl
|
||||
|
||||
LOCAL_C_INCLUDES += \
|
||||
$(LOCAL_PATH)/Reverb \
|
||||
|
||||
@@ -9,19 +9,12 @@ LOCAL_SRC_FILES:= \
|
||||
LOCAL_CFLAGS+= -O2
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libcutils
|
||||
libcutils \
|
||||
libdl
|
||||
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/soundfx
|
||||
LOCAL_MODULE:= libvisualizer
|
||||
|
||||
ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
|
||||
LOCAL_LDLIBS += -ldl
|
||||
endif
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_SHARED_LIBRARIES += libdl
|
||||
endif
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
$(call include-path-for, graphics corecg) \
|
||||
system/media/audio_effects/include
|
||||
|
||||
@@ -49,20 +49,12 @@ LOCAL_SRC_FILES:= \
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libui libcutils libutils libbinder libsonivox libicuuc libexpat \
|
||||
libcamera_client libstagefright_foundation \
|
||||
libgui
|
||||
libgui libdl
|
||||
|
||||
LOCAL_WHOLE_STATIC_LIBRARY := libmedia_helper
|
||||
|
||||
LOCAL_MODULE:= libmedia
|
||||
|
||||
ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
|
||||
LOCAL_LDLIBS += -ldl -lpthread
|
||||
endif
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_SHARED_LIBRARIES += libdl
|
||||
endif
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
$(JNI_H_INCLUDE) \
|
||||
$(call include-path-for, graphics corecg) \
|
||||
|
||||
@@ -16,10 +16,6 @@ LOCAL_SRC_FILES:= \
|
||||
StagefrightPlayer.cpp \
|
||||
StagefrightRecorder.cpp
|
||||
|
||||
ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
|
||||
LOCAL_LDLIBS += -ldl -lpthread
|
||||
endif
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libcutils \
|
||||
libutils \
|
||||
@@ -32,16 +28,13 @@ LOCAL_SHARED_LIBRARIES := \
|
||||
libstagefright \
|
||||
libstagefright_omx \
|
||||
libstagefright_foundation \
|
||||
libgui
|
||||
libgui \
|
||||
libdl
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := \
|
||||
libstagefright_rtsp \
|
||||
libstagefright_nuplayer \
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_SHARED_LIBRARIES += libdl
|
||||
endif
|
||||
|
||||
LOCAL_C_INCLUDES := \
|
||||
$(JNI_H_INCLUDE) \
|
||||
$(call include-path-for, graphics corecg) \
|
||||
|
||||
@@ -159,10 +159,8 @@ LOCAL_STATIC_LIBRARIES += \
|
||||
libchromium_net \
|
||||
libwebcore \
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_SHARED_LIBRARIES += libstlport
|
||||
include external/stlport/libstlport.mk
|
||||
endif
|
||||
|
||||
LOCAL_CPPFLAGS += -DCHROMIUM_AVAILABLE=1
|
||||
|
||||
@@ -175,20 +173,7 @@ LOCAL_SHARED_LIBRARIES += \
|
||||
libstagefright_enc_common \
|
||||
libstagefright_avc_common \
|
||||
libstagefright_foundation \
|
||||
|
||||
ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
|
||||
LOCAL_LDLIBS += -lpthread -ldl
|
||||
LOCAL_SHARED_LIBRARIES += libdvm
|
||||
LOCAL_CPPFLAGS += -DANDROID_SIMULATOR
|
||||
endif
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_SHARED_LIBRARIES += libdl
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
|
||||
LOCAL_LDLIBS += -lpthread
|
||||
endif
|
||||
libdl
|
||||
|
||||
LOCAL_CFLAGS += -Wno-multichar
|
||||
|
||||
|
||||
@@ -15,10 +15,8 @@ LOCAL_C_INCLUDES:= \
|
||||
|
||||
LOCAL_CFLAGS += -Wno-multichar
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_SHARED_LIBRARIES += libstlport
|
||||
include external/stlport/libstlport.mk
|
||||
endif
|
||||
|
||||
LOCAL_MODULE:= libstagefright_chromium_http
|
||||
|
||||
|
||||
@@ -23,14 +23,7 @@ LOCAL_SHARED_LIBRARIES := \
|
||||
libui \
|
||||
libcutils \
|
||||
libstagefright_foundation \
|
||||
|
||||
ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
|
||||
LOCAL_LDLIBS += -lpthread -ldl
|
||||
endif
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_SHARED_LIBRARIES += libdl
|
||||
endif
|
||||
libdl
|
||||
|
||||
LOCAL_MODULE:= libstagefright_omx
|
||||
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_SRC_FILES:= \
|
||||
@@ -45,8 +43,6 @@ LOCAL_SHARED_LIBRARIES := libutils libcutils libusbhost libbinder
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(HOST_OS),linux)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
@@ -38,15 +38,13 @@ ifeq ($(ARCH_ARM_HAVE_TLS_REGISTER),true)
|
||||
LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER
|
||||
endif
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
# we need to access the private Bionic header <bionic_tls.h>
|
||||
# on ARM platforms, we need to mirror the ARCH_ARM_HAVE_TLS_REGISTER
|
||||
# behavior from the bionic Android.mk file
|
||||
ifeq ($(TARGET_ARCH)-$(ARCH_ARM_HAVE_TLS_REGISTER),arm-true)
|
||||
LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER
|
||||
endif
|
||||
LOCAL_C_INCLUDES += bionic/libc/private
|
||||
# we need to access the private Bionic header <bionic_tls.h>
|
||||
# on ARM platforms, we need to mirror the ARCH_ARM_HAVE_TLS_REGISTER
|
||||
# behavior from the bionic Android.mk file
|
||||
ifeq ($(TARGET_ARCH)-$(ARCH_ARM_HAVE_TLS_REGISTER),arm-true)
|
||||
LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER
|
||||
endif
|
||||
LOCAL_C_INCLUDES += bionic/libc/private
|
||||
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/egl
|
||||
LOCAL_MODULE:= libGLES_android
|
||||
|
||||
@@ -39,15 +39,13 @@ ifeq ($(ARCH_ARM_HAVE_TLS_REGISTER),true)
|
||||
LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER
|
||||
endif
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
# we need to access the private Bionic header <bionic_tls.h>
|
||||
# on ARM platforms, we need to mirror the ARCH_ARM_HAVE_TLS_REGISTER
|
||||
# behavior from the bionic Android.mk file
|
||||
ifeq ($(TARGET_ARCH)-$(ARCH_ARM_HAVE_TLS_REGISTER),arm-true)
|
||||
LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER
|
||||
endif
|
||||
LOCAL_C_INCLUDES += bionic/libc/private
|
||||
# we need to access the private Bionic header <bionic_tls.h>
|
||||
# on ARM platforms, we need to mirror the ARCH_ARM_HAVE_TLS_REGISTER
|
||||
# behavior from the bionic Android.mk file
|
||||
ifeq ($(TARGET_ARCH)-$(ARCH_ARM_HAVE_TLS_REGISTER),arm-true)
|
||||
LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER
|
||||
endif
|
||||
LOCAL_C_INCLUDES += bionic/libc/private
|
||||
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/egl
|
||||
#replace libagl for now
|
||||
|
||||
@@ -21,18 +21,14 @@ LOCAL_SHARED_LIBRARIES += libcutils libutils libGLESv2_dbg
|
||||
LOCAL_LDLIBS := -lpthread -ldl
|
||||
LOCAL_MODULE:= libEGL
|
||||
LOCAL_LDFLAGS += -Wl,--exclude-libs=ALL
|
||||
# needed on sim build because of weird logging issues
|
||||
ifeq ($(TARGET_SIMULATOR),true)
|
||||
else
|
||||
LOCAL_SHARED_LIBRARIES += libdl
|
||||
# Bionic's private TLS header relies on the ARCH_ARM_HAVE_TLS_REGISTER to
|
||||
# select the appropriate TLS codepath
|
||||
ifeq ($(ARCH_ARM_HAVE_TLS_REGISTER),true)
|
||||
LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER
|
||||
endif
|
||||
# we need to access the private Bionic header <bionic_tls.h>
|
||||
LOCAL_C_INCLUDES += bionic/libc/private
|
||||
LOCAL_SHARED_LIBRARIES += libdl
|
||||
# Bionic's private TLS header relies on the ARCH_ARM_HAVE_TLS_REGISTER to
|
||||
# select the appropriate TLS codepath
|
||||
ifeq ($(ARCH_ARM_HAVE_TLS_REGISTER),true)
|
||||
LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER
|
||||
endif
|
||||
# we need to access the private Bionic header <bionic_tls.h>
|
||||
LOCAL_C_INCLUDES += bionic/libc/private
|
||||
|
||||
LOCAL_CFLAGS += -DLOG_TAG=\"libEGL\"
|
||||
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
|
||||
@@ -81,16 +77,12 @@ LOCAL_SHARED_LIBRARIES += libcutils libEGL
|
||||
LOCAL_LDLIBS := -lpthread -ldl
|
||||
LOCAL_MODULE:= libGLESv1_CM
|
||||
|
||||
# needed on sim build because of weird logging issues
|
||||
ifeq ($(TARGET_SIMULATOR),true)
|
||||
else
|
||||
LOCAL_SHARED_LIBRARIES += libdl
|
||||
# we need to access the private Bionic header <bionic_tls.h>
|
||||
ifeq ($(ARCH_ARM_HAVE_TLS_REGISTER),true)
|
||||
LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER
|
||||
endif
|
||||
LOCAL_C_INCLUDES += bionic/libc/private
|
||||
LOCAL_SHARED_LIBRARIES += libdl
|
||||
# we need to access the private Bionic header <bionic_tls.h>
|
||||
ifeq ($(ARCH_ARM_HAVE_TLS_REGISTER),true)
|
||||
LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER
|
||||
endif
|
||||
LOCAL_C_INCLUDES += bionic/libc/private
|
||||
|
||||
LOCAL_CFLAGS += -DLOG_TAG=\"libGLESv1\"
|
||||
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
|
||||
@@ -117,16 +109,12 @@ LOCAL_SHARED_LIBRARIES += libcutils libEGL
|
||||
LOCAL_LDLIBS := -lpthread -ldl
|
||||
LOCAL_MODULE:= libGLESv2
|
||||
|
||||
# needed on sim build because of weird logging issues
|
||||
ifeq ($(TARGET_SIMULATOR),true)
|
||||
else
|
||||
LOCAL_SHARED_LIBRARIES += libdl
|
||||
# we need to access the private Bionic header <bionic_tls.h>
|
||||
ifeq ($(ARCH_ARM_HAVE_TLS_REGISTER),true)
|
||||
LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER
|
||||
endif
|
||||
LOCAL_C_INCLUDES += bionic/libc/private
|
||||
LOCAL_SHARED_LIBRARIES += libdl
|
||||
# we need to access the private Bionic header <bionic_tls.h>
|
||||
ifeq ($(ARCH_ARM_HAVE_TLS_REGISTER),true)
|
||||
LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER
|
||||
endif
|
||||
LOCAL_C_INCLUDES += bionic/libc/private
|
||||
|
||||
LOCAL_CFLAGS += -DLOG_TAG=\"libGLESv2\"
|
||||
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
|
||||
|
||||
@@ -31,15 +31,13 @@ ifeq ($(ARCH_ARM_HAVE_TLS_REGISTER),true)
|
||||
LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER
|
||||
endif
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
# we need to access the private Bionic header <bionic_tls.h>
|
||||
# on ARM platforms, we need to mirror the ARCH_ARM_HAVE_TLS_REGISTER
|
||||
# behavior from the bionic Android.mk file
|
||||
ifeq ($(TARGET_ARCH)-$(ARCH_ARM_HAVE_TLS_REGISTER),arm-true)
|
||||
LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER
|
||||
endif
|
||||
LOCAL_C_INCLUDES += bionic/libc/private
|
||||
# we need to access the private Bionic header <bionic_tls.h>
|
||||
# on ARM platforms, we need to mirror the ARCH_ARM_HAVE_TLS_REGISTER
|
||||
# behavior from the bionic Android.mk file
|
||||
ifeq ($(TARGET_ARCH)-$(ARCH_ARM_HAVE_TLS_REGISTER),arm-true)
|
||||
LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER
|
||||
endif
|
||||
LOCAL_C_INCLUDES += bionic/libc/private
|
||||
|
||||
LOCAL_MODULE:= libGLESv2_dbg
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
|
||||
@@ -27,9 +27,7 @@ LOCAL_MODULE:= libGLESv2_dbg_test
|
||||
ifeq ($(ARCH_ARM_HAVE_TLS_REGISTER),true)
|
||||
LOCAL_CFLAGS += -DHAVE_ARM_TLS_REGISTER
|
||||
endif
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_C_INCLUDES += bionic/libc/private
|
||||
endif
|
||||
LOCAL_C_INCLUDES += bionic/libc/private
|
||||
|
||||
LOCAL_CFLAGS += -DLOG_TAG=\"libEGL\"
|
||||
LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
|
||||
LOCAL_MODULE := EGL_test
|
||||
|
||||
LOCAL_MODULE_TAGS := tests
|
||||
@@ -29,8 +27,6 @@ LOCAL_C_INCLUDES := \
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
||||
|
||||
endif
|
||||
|
||||
# Include subdirectory makefiles
|
||||
# ============================================================
|
||||
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
# OpenGL ES JNI sample
|
||||
# This makefile builds both an activity and a shared library.
|
||||
#########################################################################
|
||||
ifneq ($(TARGET_SIMULATOR),true) # not 64 bit clean
|
||||
|
||||
TOP_LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
# Build activity
|
||||
@@ -47,5 +45,3 @@ LOCAL_MODULE := libgl2jni
|
||||
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
endif # TARGET_SIMULATOR
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
# OpenGL ES JNI sample
|
||||
# This makefile builds both an activity and a shared library.
|
||||
#########################################################################
|
||||
ifneq ($(TARGET_SIMULATOR),true) # not 64 bit clean
|
||||
|
||||
TOP_LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
# Build activity
|
||||
@@ -49,5 +47,3 @@ LOCAL_ARM_MODE := arm
|
||||
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
endif # TARGET_SIMULATOR
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
# OpenGL ES Perf App
|
||||
# This makefile builds both an activity and a shared library.
|
||||
#########################################################################
|
||||
ifneq ($(TARGET_SIMULATOR),true) # not 64 bit clean
|
||||
|
||||
TOP_LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
# Build activity
|
||||
@@ -50,5 +48,3 @@ LOCAL_MODULE := libglperf
|
||||
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
endif # TARGET_SIMULATOR
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
# OpenGL ES JNI sample
|
||||
# This makefile builds both an activity and a shared library.
|
||||
#########################################################################
|
||||
ifneq ($(TARGET_SIMULATOR),true) # not 64 bit clean
|
||||
|
||||
TOP_LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
# Build activity
|
||||
@@ -47,5 +45,3 @@ LOCAL_MODULE := libgldualjni
|
||||
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
endif # TARGET_SIMULATOR
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
# OpenGL ES JNI sample
|
||||
# This makefile builds both an activity and a shared library.
|
||||
#########################################################################
|
||||
ifneq ($(TARGET_SIMULATOR),true) # not 64 bit clean
|
||||
|
||||
TOP_LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
# Build activity
|
||||
@@ -18,5 +16,3 @@ LOCAL_SRC_FILES := $(call all-subdir-java-files)
|
||||
LOCAL_PACKAGE_NAME := TestEGL
|
||||
|
||||
include $(BUILD_PACKAGE)
|
||||
|
||||
endif # TARGET_SIMULATOR
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
# OpenGL ES JNI sample
|
||||
# This makefile builds both an activity and a shared library.
|
||||
#########################################################################
|
||||
ifneq ($(TARGET_SIMULATOR),true) # not 64 bit clean
|
||||
|
||||
TOP_LOCAL_PATH:= $(call my-dir)
|
||||
|
||||
# Build activity
|
||||
@@ -22,5 +20,3 @@ LOCAL_PACKAGE_NAME := TestViewport
|
||||
LOCAL_SDK_VERSION := 8
|
||||
|
||||
include $(BUILD_PACKAGE)
|
||||
|
||||
endif # TARGET_SIMULATOR
|
||||
|
||||
@@ -20,23 +20,12 @@ LOCAL_SHARED_LIBRARIES := \
|
||||
libmedia \
|
||||
libhardware \
|
||||
libhardware_legacy \
|
||||
libeffects
|
||||
libeffects \
|
||||
libdl
|
||||
|
||||
LOCAL_STATIC_LIBRARIES := \
|
||||
libmedia_helper
|
||||
|
||||
ifeq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_LDLIBS += -ldl
|
||||
else
|
||||
LOCAL_SHARED_LIBRARIES += libdl
|
||||
endif
|
||||
|
||||
LOCAL_MODULE:= libaudioflinger
|
||||
|
||||
ifeq ($(TARGET_SIMULATOR),true)
|
||||
ifeq ($(HOST_OS),linux)
|
||||
LOCAL_LDLIBS += -lrt -lpthread
|
||||
endif
|
||||
endif
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
@@ -41,10 +41,6 @@ LOCAL_MODULE:= libinput
|
||||
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
|
||||
ifeq ($(TARGET_SIMULATOR),true)
|
||||
LOCAL_LDLIBS += -lpthread
|
||||
endif
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
|
||||
# Build the unit tests.
|
||||
test_src_files := \
|
||||
InputReader_test.cpp \
|
||||
@@ -45,5 +43,3 @@ $(foreach file,$(test_src_files), \
|
||||
|
||||
# Build the manual test programs.
|
||||
include $(call all-subdir-makefiles)
|
||||
|
||||
endif
|
||||
@@ -39,14 +39,6 @@ LOCAL_SHARED_LIBRARIES := \
|
||||
libgui \
|
||||
libusbhost
|
||||
|
||||
ifeq ($(TARGET_SIMULATOR),true)
|
||||
ifeq ($(TARGET_OS),linux)
|
||||
ifeq ($(TARGET_ARCH),x86)
|
||||
LOCAL_LDLIBS += -lpthread -ldl -lrt
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(WITH_MALLOC_LEAK_CHECK),true)
|
||||
LOCAL_CFLAGS += -DMALLOC_LEAK_CHECK
|
||||
endif
|
||||
|
||||
@@ -16,13 +16,6 @@ LOCAL_SRC_FILES:= \
|
||||
|
||||
LOCAL_CFLAGS:= -DLOG_TAG=\"SensorService\"
|
||||
|
||||
# need "-lrt" on Linux simulator to pick up clock_gettime
|
||||
ifeq ($(TARGET_SIMULATOR),true)
|
||||
ifeq ($(HOST_OS),linux)
|
||||
LOCAL_LDLIBS += -lrt -lpthread
|
||||
endif
|
||||
endif
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libcutils \
|
||||
libhardware \
|
||||
|
||||
@@ -26,13 +26,6 @@ ifeq ($(TARGET_BOARD_PLATFORM), s5pc110)
|
||||
endif
|
||||
|
||||
|
||||
# need "-lrt" on Linux simulator to pick up clock_gettime
|
||||
ifeq ($(TARGET_SIMULATOR),true)
|
||||
ifeq ($(HOST_OS),linux)
|
||||
LOCAL_LDLIBS += -lrt -lpthread
|
||||
endif
|
||||
endif
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libcutils \
|
||||
libhardware \
|
||||
|
||||
@@ -14,8 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
@@ -26,5 +24,3 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-fil
|
||||
LOCAL_PACKAGE_NAME := FBOTest
|
||||
|
||||
include $(BUILD_PACKAGE)
|
||||
|
||||
endif
|
||||
|
||||
@@ -14,8 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
@@ -28,5 +26,3 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) \
|
||||
LOCAL_PACKAGE_NAME := ImageProcessing
|
||||
|
||||
include $(BUILD_PACKAGE)
|
||||
|
||||
endif
|
||||
|
||||
@@ -14,8 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
@@ -27,5 +25,3 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-fil
|
||||
LOCAL_PACKAGE_NAME := ModelViewer
|
||||
|
||||
include $(BUILD_PACKAGE)
|
||||
|
||||
endif
|
||||
|
||||
@@ -14,8 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
@@ -29,5 +27,3 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-fil
|
||||
LOCAL_PACKAGE_NAME := PerfTest
|
||||
|
||||
include $(BUILD_PACKAGE)
|
||||
|
||||
endif
|
||||
|
||||
@@ -14,8 +14,6 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
ifneq ($(TARGET_SIMULATOR),true)
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
@@ -26,5 +24,3 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-fil
|
||||
LOCAL_PACKAGE_NAME := RSTest
|
||||
|
||||
include $(BUILD_PACKAGE)
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user