1 # 2 # Copyright (C) 2013 The Android Open Source Project 3 # 4 # Licensed under the Apache License, Version 2.0 (the "License"); 5 # you may not use this file except in compliance with the License. 6 # You may obtain a copy of the License at 7 # 8 # http://www.apache.org/licenses/LICENSE-2.0 9 # 10 # Unless required by applicable law or agreed to in writing, software 11 # distributed under the License is distributed on an "AS IS" BASIS, 12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 # See the License for the specific language governing permissions and 14 # limitations under the License. 15 # 16 17 LOCAL_PATH:= $(call my-dir) 18 19 ifneq (,$(TARGET_BUILD_APPS)) 20 21 ################################## 22 include $(CLEAR_VARS) 23 24 LOCAL_MODULE := librsjni 25 LOCAL_SRC_FILES := lib/$(TARGET_ARCH)/$(LOCAL_MODULE).so 26 LOCAL_MODULE_CLASS := SHARED_LIBRARIES 27 LOCAL_MODULE_TAGS := optional 28 LOCAL_MODULE_SUFFIX := .so 29 30 include $(BUILD_PREBUILT) 31 32 ################################## 33 include $(CLEAR_VARS) 34 35 LOCAL_MODULE := libRSSupport 36 LOCAL_SRC_FILES := lib/$(TARGET_ARCH)/$(LOCAL_MODULE).so 37 LOCAL_MODULE_CLASS := SHARED_LIBRARIES 38 LOCAL_MODULE_TAGS := optional 39 LOCAL_MODULE_SUFFIX := .so 40 41 include $(BUILD_PREBUILT) 42 43 ################################## 44 include $(CLEAR_VARS) 45 46 LOCAL_MODULE := libRSSupportIO 47 LOCAL_SRC_FILES := lib/$(TARGET_ARCH)/$(LOCAL_MODULE).so 48 LOCAL_MODULE_CLASS := SHARED_LIBRARIES 49 LOCAL_MODULE_TAGS := optional 50 LOCAL_MODULE_SUFFIX := .so 51 52 include $(BUILD_PREBUILT) 53 54 ################################## 55 include $(CLEAR_VARS) 56 57 LOCAL_MODULE := android-support-v8-renderscript 58 LOCAL_SRC_FILES := lib/javalib.jar 59 LOCAL_MODULE_CLASS := JAVA_LIBRARIES 60 LOCAL_MODULE_TAGS := optional 61 LOCAL_MODULE_SUFFIX := .jar 62 LOCAL_UNINSTALLABLE_MODULE := true 63 64 include $(BUILD_PREBUILT) 65 66 ################################## 67 68 endif # TARGET_BUILD_APPS 69