Jason Sams | ebefb2c | 2012-08-15 17:26:39 -0700 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2009 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 | |
Stephen Hines | bc89730 | 2012-12-13 14:25:37 -0800 | [diff] [blame^] | 17 | ifeq (1,0) |
Jason Sams | ebefb2c | 2012-08-15 17:26:39 -0700 | [diff] [blame] | 18 | LOCAL_PATH := $(call my-dir) |
| 19 | include $(CLEAR_VARS) |
| 20 | |
| 21 | LOCAL_MODULE_TAGS := tests |
| 22 | |
| 23 | LOCAL_SRC_FILES := $(call all-java-files-under, src) \ |
| 24 | $(call all-renderscript-files-under, src) |
| 25 | |
| 26 | LOCAL_STATIC_JAVA_LIBRARIES := android.support.v8.renderscript |
| 27 | |
| 28 | LOCAL_PACKAGE_NAME := ImageProcessing2 |
Stephen Hines | 65b8734 | 2012-08-15 18:34:38 -0700 | [diff] [blame] | 29 | LOCAL_SDK_VERSION := 8 |
| 30 | LOCAL_RENDERSCRIPT_TARGET_API := 17 |
Stephen Hines | f43ac73 | 2012-12-10 17:36:53 -0800 | [diff] [blame] | 31 | LOCAL_RENDERSCRIPT_COMPATIBILITY := 17 |
Stephen Hines | 65b8734 | 2012-08-15 18:34:38 -0700 | [diff] [blame] | 32 | LOCAL_RENDERSCRIPT_INCLUDES_OVERRIDE := $(TOPDIR)external/clang/lib/Headers \ |
| 33 | $(TOPDIR)frameworks/rs/scriptc |
Jason Sams | ebefb2c | 2012-08-15 17:26:39 -0700 | [diff] [blame] | 34 | |
| 35 | LOCAL_RENDERSCRIPT_FLAGS := -rs-package-name=android.support.v8.renderscript |
| 36 | LOCAL_REQUIRED_MODULES := librsjni |
| 37 | |
| 38 | include $(BUILD_PACKAGE) |
| 39 | |
| 40 | #include $(call all-makefiles-under, $(LOCAL_PATH)) |
Stephen Hines | bc89730 | 2012-12-13 14:25:37 -0800 | [diff] [blame^] | 41 | endif |