1 2# libRS needs libacc, which isn't 64-bit clean, and so can't be built 3# for the simulator on gHardy, and therefore libRS needs to be excluded 4# from the simulator as well, and so in turn librs_jni needs to be 5# excluded. 6ifneq ($(TARGET_SIMULATOR),true) 7 8LOCAL_PATH:= $(call my-dir) 9include $(CLEAR_VARS) 10 11LOCAL_SRC_FILES:= \ 12 android_renderscript_RenderScript.cpp 13 14LOCAL_SHARED_LIBRARIES := \ 15 libandroid_runtime \ 16 libacc \ 17 libnativehelper \ 18 libRS \ 19 libcutils \ 20 libskia \ 21 libutils \ 22 libui \ 23 libsurfaceflinger_client 24 25LOCAL_STATIC_LIBRARIES := 26 27rs_generated_include_dir := $(call intermediates-dir-for,SHARED_LIBRARIES,libRS,,) 28 29LOCAL_C_INCLUDES += \ 30 $(JNI_H_INCLUDE) \ 31 $(LOCAL_PATH)/../../libs/rs \ 32 $(rs_generated_include_dir) \ 33 $(call include-path-for, corecg graphics) 34 35LOCAL_CFLAGS += 36 37LOCAL_LDLIBS := -lpthread 38LOCAL_ADDITIONAL_DEPENDENCIES := $(addprefix $(rs_generated_include_dir)/,rsgApiFuncDecl.h) 39LOCAL_MODULE:= librs_jni 40LOCAL_ADDITIONAL_DEPENDENCIES += $(rs_generated_source) 41LOCAL_MODULE_TAGS := optional 42LOCAL_REQUIRED_MODULES := libRS 43 44include $(BUILD_SHARED_LIBRARY) 45 46endif #simulator 47