summaryrefslogtreecommitdiffstats
path: root/renderscript/Android.mk
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2013-01-16 13:55:46 -0800
committerStephen Hines <srhines@google.com>2013-01-22 17:29:04 -0800
commit86e4bd059d32d4689c90dc49dd122203a458b56f (patch)
tree55e070b9648312a48fdf5db8a41df7a423504a86 /renderscript/Android.mk
parent21b989dc19de0ed1ac375416b5ac22c374d18f6e (diff)
downloadprebuilts_sdk-86e4bd059d32d4689c90dc49dd122203a458b56f.zip
prebuilts_sdk-86e4bd059d32d4689c90dc49dd122203a458b56f.tar.gz
prebuilts_sdk-86e4bd059d32d4689c90dc49dd122203a458b56f.tar.bz2
Unbundled RS compatibility library support
Bug: 7419958 Change-Id: I92e61a6ff3e2e1f0d7cb1dbec6f4f29db0962e2b
Diffstat (limited to 'renderscript/Android.mk')
-rw-r--r--renderscript/Android.mk56
1 files changed, 56 insertions, 0 deletions
diff --git a/renderscript/Android.mk b/renderscript/Android.mk
new file mode 100644
index 0000000..2bc9c5d
--- /dev/null
+++ b/renderscript/Android.mk
@@ -0,0 +1,56 @@
+#
+# Copyright (C) 2013 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+LOCAL_PATH:= $(call my-dir)
+
+ifneq (,$(TARGET_BUILD_APPS))
+
+##################################
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := librsjni
+LOCAL_SRC_FILES := lib/$(LOCAL_MODULE).so
+LOCAL_MODULE_CLASS := SHARED_LIBRARIES
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_SUFFIX := .so
+
+include $(BUILD_PREBUILT)
+
+##################################
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := libRSSupport
+LOCAL_SRC_FILES := lib/$(LOCAL_MODULE).so
+LOCAL_MODULE_CLASS := SHARED_LIBRARIES
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_SUFFIX := .so
+
+include $(BUILD_PREBUILT)
+
+##################################
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := android.support.v8.renderscript
+LOCAL_SRC_FILES := lib/javalib.jar
+LOCAL_MODULE_CLASS := JAVA_LIBRARIES
+LOCAL_MODULE_TAGS := optional
+#LOCAL_MODULE_SUFFIX := .jar
+
+include $(BUILD_PREBUILT)
+
+##################################
+
+endif # TARGET_BUILD_APPS