android_frameworks_base/libs/hwui/hwui_static_deps.mk
Derek Sollenberger 991da31d40 Update HWUI makefiles to support use by other targets (e.g. Skia)
(1) Update both static and shared lib to export libhwui headers
(2) Work around problem in current make system where a static
    libraries dependencies are not transitively included by moving
    those dependencies into a file that can be included by targets
    using libhwui_static.
(3) Do not expose protobuf headers to clients outside of HWUI

Change-Id: I08470c02a83ae64116081eff0c2050878990c6ed
2016-02-11 16:23:19 -05:00

28 lines
840 B
Makefile

###############################################################################
#
#
# This file contains the shared and static dependencies needed by any target
# that attempts to statically link HWUI (i.e. libhwui_static build target). This
# file should be included by any target that lists libhwui_static as a
# dependency.
#
# This is a workaround for the fact that the build system does not add these
# transitive dependencies when it attempts to link libhwui_static into another
# library.
#
###############################################################################
LOCAL_SHARED_LIBRARIES += \
liblog \
libcutils \
libutils \
libEGL \
libGLESv2 \
libskia \
libui \
libgui \
libprotobuf-cpp-lite
ifneq (false,$(ANDROID_ENABLE_RENDERSCRIPT))
LOCAL_SHARED_LIBRARIES += libRS libRScpp
endif