Derek Sollenberger d938e5a2e2 Reduce overhead by combining libskia and libhwui into a single library.
This is a multiproject change as we need to both the libraries
themselves as well as those that had dependencies on libskia.so

Bug: 31971097
Test: compile only
Change-Id: Ie6ff1f4682d03289205f4d6048cde9f95c61a90f
2017-07-24 09:42:07 -04:00

36 lines
670 B
Makefile

LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
android_renderscript_RenderScript.cpp
LOCAL_SHARED_LIBRARIES := \
libandroid \
libandroid_runtime \
libandroidfw \
libnativehelper \
libRS \
libcutils \
liblog \
libhwui \
libutils \
libui \
libgui \
libjnigraphics
LOCAL_HEADER_LIBRARIES := \
libbase_headers
LOCAL_C_INCLUDES += \
$(JNI_H_INCLUDE) \
frameworks/rs
LOCAL_CFLAGS += -Wno-unused-parameter
LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
LOCAL_MODULE:= librs_jni
LOCAL_MODULE_TAGS := optional
LOCAL_REQUIRED_MODULES := libRS
include $(BUILD_SHARED_LIBRARY)