summaryrefslogtreecommitdiff
path: root/rsov/tests/RSoVTest/Android.mk
diff options
context:
space:
mode:
authorYang Ni <yangni@google.com>2016-11-11 12:30:09 -0800
committerYang Ni <yangni@google.com>2016-12-06 09:24:52 -0800
commit75f0d3110b04346b901771f96ce15cdbe907278f (patch)
treea13ce3211bfb37b0d3088c5f5ff83e247c4167b2 /rsov/tests/RSoVTest/Android.mk
parent6babd9ca03e1379380af0c1cfde6f6d3e92ccd29 (diff)
downloadrs-75f0d3110b04346b901771f96ce15cdbe907278f.tar.gz
Initial driver for RSoV (RenderScript over Vulkan/SPIR-V)
Bug: 30964317 Supports the following: * Allocations of 32-bit integers and floating point numbers and vectors * Single-input single-output kernels * Co-existence of RSoV scripts and CPU intrinsics Added default .clang-format for driver code using Google C++ code style. The RSoV driver is loaded, if and only if the property debug.rs.rsov is set to non-zero. Test: RSTest and CTS with debug.rs.rsov set to 0; and RSoVTest with debug.rs.rsov set to 1. Change-Id: If63370a502d499e8fc5f4bbd2e90ce84b167c331
Diffstat (limited to 'rsov/tests/RSoVTest/Android.mk')
-rw-r--r--rsov/tests/RSoVTest/Android.mk29
1 files changed, 29 insertions, 0 deletions
diff --git a/rsov/tests/RSoVTest/Android.mk b/rsov/tests/RSoVTest/Android.mk
new file mode 100644
index 00000000..882de995
--- /dev/null
+++ b/rsov/tests/RSoVTest/Android.mk
@@ -0,0 +1,29 @@
+#
+# Copyright (C) 2016 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)
+include $(CLEAR_VARS)
+
+LOCAL_MODULE_TAGS := tests
+LOCAL_STATIC_JAVA_LIBRARIES := android-support-test
+
+LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src)
+
+LOCAL_RENDERSCRIPT_FLAGS := -target-api 0
+
+LOCAL_PACKAGE_NAME := RSoVTest
+
+include $(BUILD_PACKAGE)