Renderscript was depending on macros from android-base that were transitively included from MQDescriptor.h Test: links Bug: 37791060 Change-Id: Ie34ddef67328c5fcc6b0122a32725b980615ff43 (cherry picked from commit dc01e938c2550390a540311b22e3e6c7603ed975)
38 lines
733 B
Makefile
38 lines
733 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 \
|
|
libskia \
|
|
libutils \
|
|
libui \
|
|
libgui \
|
|
libjnigraphics
|
|
|
|
LOCAL_HEADER_LIBRARIES := \
|
|
libbase_headers
|
|
|
|
LOCAL_C_INCLUDES += \
|
|
$(JNI_H_INCLUDE) \
|
|
frameworks/rs \
|
|
frameworks/base/core/jni \
|
|
frameworks/base/libs/hwui
|
|
|
|
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)
|