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. 6 ifneq ($(TARGET_SIMULATOR),true) 7 8 LOCAL_PATH:= $(call my-dir) 9 include $(CLEAR_VARS) 10 11 LOCAL_SRC_FILES:= \ 12 android_renderscript_RenderScript.cpp 13 14 LOCAL_SHARED_LIBRARIES := \ 15 libandroid_runtime \ 16 libacc \ 17 libnativehelper \ 18 libRS \ 19 libcutils \ 20 libskia \ 21 libutils \ 22 libui \ 23 libsurfaceflinger_client 24 25 LOCAL_STATIC_LIBRARIES := 26 27 rs_generated_include_dir := $(call intermediates-dir-for,SHARED_LIBRARIES,libRS,,) 28 29 LOCAL_C_INCLUDES += \ 30 $(JNI_H_INCLUDE) \ 31 $(LOCAL_PATH)/../../libs/rs \ 32 $(rs_generated_include_dir) \ 33 $(call include-path-for, corecg graphics) 34 35 LOCAL_CFLAGS += 36 37 LOCAL_LDLIBS := -lpthread 38 LOCAL_ADDITIONAL_DEPENDENCIES := $(addprefix $(rs_generated_include_dir)/,rsgApiFuncDecl.h) 39 LOCAL_MODULE:= librs_jni 40 LOCAL_ADDITIONAL_DEPENDENCIES += $(rs_generated_source) 41 LOCAL_MODULE_TAGS := optional 42 LOCAL_REQUIRED_MODULES := libRS 43 44 include $(BUILD_SHARED_LIBRARY) 45 46 endif #simulator 47