Skip to content
Snippets Groups Projects
Commit 5a326952 authored by Brian Swetland's avatar Brian Swetland
Browse files

fix TINY ANDROID build

A better fix would be to banish this qemu tracing stuff from libhardware
and also banish it from non-emulator builds, but this at least gets the
minimal build building again.
parent 77d0c65b
No related branches found
No related tags found
No related merge requests found
...@@ -48,9 +48,7 @@ ifeq ($(TARGET_ARCH),arm) ...@@ -48,9 +48,7 @@ ifeq ($(TARGET_ARCH),arm)
PIXELFLINGER_CFLAGS += -fstrict-aliasing -fomit-frame-pointer PIXELFLINGER_CFLAGS += -fstrict-aliasing -fomit-frame-pointer
endif endif
LOCAL_SHARED_LIBRARIES := \ LOCAL_SHARED_LIBRARIES := libcutils
libhardware \
libcutils
ifneq ($(TARGET_ARCH),arm) ifneq ($(TARGET_ARCH),arm)
# Required to define logging functions on the simulator. # Required to define logging functions on the simulator.
...@@ -63,15 +61,23 @@ endif ...@@ -63,15 +61,23 @@ endif
# Shared library # Shared library
# #
ifneq ($(BUILD_TINY_ANDROID),true)
LOCAL_MODULE:= libpixelflinger LOCAL_MODULE:= libpixelflinger
LOCAL_SRC_FILES := $(PIXELFLINGER_SRC_FILES) LOCAL_SRC_FILES := $(PIXELFLINGER_SRC_FILES)
LOCAL_CFLAGS := $(PIXELFLINGER_CFLAGS) -DWITH_LIB_HARDWARE LOCAL_CFLAGS := $(PIXELFLINGER_CFLAGS)
ifneq ($(BUILD_TINY_ANDROID),true)
# this is for some qemu-tracing cruft, which
# 1. should not depend on libhardware
# 2. should not be build except in emulator builds
# but this at least stops it from breaking the tiny android build
LOCAL_SHARED_LIBRARIES += libhardware
LOCAL_CFLAGS += -DWITH_LIB_HARDWARE
endif
ifeq ($(TARGET_ARCH),arm) ifeq ($(TARGET_ARCH),arm)
LOCAL_WHOLE_STATIC_LIBRARIES := libpixelflinger_armv6 LOCAL_WHOLE_STATIC_LIBRARIES := libpixelflinger_armv6
endif endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)
endif
# #
# Static library version # Static library version
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment