1#
2# Copyright (C) 2017 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# This file is auto-generated by frameworks/rs/tests/java_api/RSUnitTests/RSUnitTests.py.
18# To change unit tests version, please run the Python script above.
19
20LOCAL_PATH := $(call my-dir)
21include $(CLEAR_VARS)
22
23LOCAL_PACKAGE_NAME := RSTest_Compat19
24LOCAL_MODULE_TAGS := tests
25
26LOCAL_STATIC_JAVA_LIBRARIES := \
27    androidx.test.rules \
28    android-support-v8-renderscript \
29
30LOCAL_RENDERSCRIPT_TARGET_API := 19
31LOCAL_RENDERSCRIPT_COMPATIBILITY := true
32LOCAL_RENDERSCRIPT_FLAGS := -rs-package-name=androidx.renderscript
33LOCAL_SDK_VERSION := current
34LOCAL_MIN_SDK_VERSION := 8
35
36my_rs_unit_tests_path := ../RSUnitTests/supportlibsrc_gen/com/android/rs/unittest
37LOCAL_SRC_FILES :=\
38    $(call all-java-files-under,src)\
39    $(my_rs_unit_tests_path)/UnitTest.java\
40    $(my_rs_unit_tests_path)/UT_alloc.java\
41    $(my_rs_unit_tests_path)/alloc.rscript\
42    $(my_rs_unit_tests_path)/UT_array_alloc.java\
43    $(my_rs_unit_tests_path)/array_alloc.rscript\
44    $(my_rs_unit_tests_path)/UT_array_init.java\
45    $(my_rs_unit_tests_path)/array_init.rscript\
46    $(my_rs_unit_tests_path)/UT_atomic.java\
47    $(my_rs_unit_tests_path)/atomic.rscript\
48    $(my_rs_unit_tests_path)/UT_bitfield.java\
49    $(my_rs_unit_tests_path)/bitfield.rscript\
50    $(my_rs_unit_tests_path)/UT_bug_char.java\
51    $(my_rs_unit_tests_path)/bug_char.rscript\
52    $(my_rs_unit_tests_path)/UT_check_dims.java\
53    $(my_rs_unit_tests_path)/check_dims.rscript\
54    $(my_rs_unit_tests_path)/UT_clamp.java\
55    $(my_rs_unit_tests_path)/clamp.rscript\
56    $(my_rs_unit_tests_path)/UT_clamp_relaxed.java\
57    $(my_rs_unit_tests_path)/clamp_relaxed.rscript\
58    $(my_rs_unit_tests_path)/UT_constant.java\
59    $(my_rs_unit_tests_path)/constant.rscript\
60    $(my_rs_unit_tests_path)/UT_convert.java\
61    $(my_rs_unit_tests_path)/convert.rscript\
62    $(my_rs_unit_tests_path)/UT_convert_relaxed.java\
63    $(my_rs_unit_tests_path)/convert_relaxed.rscript\
64    $(my_rs_unit_tests_path)/UT_copy_test.java\
65    $(my_rs_unit_tests_path)/copy_test.rscript\
66    $(my_rs_unit_tests_path)/UT_element.java\
67    $(my_rs_unit_tests_path)/element.rscript\
68    $(my_rs_unit_tests_path)/UT_foreach.java\
69    $(my_rs_unit_tests_path)/foreach.rscript\
70    $(my_rs_unit_tests_path)/UT_foreach_bounds.java\
71    $(my_rs_unit_tests_path)/foreach_bounds.rscript\
72    $(my_rs_unit_tests_path)/UT_fp_mad.java\
73    $(my_rs_unit_tests_path)/fp_mad.rscript\
74    $(my_rs_unit_tests_path)/UT_instance.java\
75    $(my_rs_unit_tests_path)/instance.rscript\
76    $(my_rs_unit_tests_path)/UT_int4.java\
77    $(my_rs_unit_tests_path)/int4.rscript\
78    $(my_rs_unit_tests_path)/UT_kernel.java\
79    $(my_rs_unit_tests_path)/kernel.rscript\
80    $(my_rs_unit_tests_path)/UT_kernel_struct.java\
81    $(my_rs_unit_tests_path)/kernel_struct.rscript\
82    $(my_rs_unit_tests_path)/UT_math.java\
83    $(my_rs_unit_tests_path)/math.rscript\
84    $(my_rs_unit_tests_path)/UT_min.java\
85    $(my_rs_unit_tests_path)/min.rscript\
86    $(my_rs_unit_tests_path)/UT_noroot.java\
87    $(my_rs_unit_tests_path)/noroot.rscript\
88    $(my_rs_unit_tests_path)/UT_primitives.java\
89    $(my_rs_unit_tests_path)/primitives.rscript\
90    $(my_rs_unit_tests_path)/UT_refcount.java\
91    $(my_rs_unit_tests_path)/refcount.rscript\
92    $(my_rs_unit_tests_path)/UT_reflection3264.java\
93    $(my_rs_unit_tests_path)/reflection3264.rscript\
94    $(my_rs_unit_tests_path)/UT_rsdebug.java\
95    $(my_rs_unit_tests_path)/rsdebug.rscript\
96    $(my_rs_unit_tests_path)/UT_rstime.java\
97    $(my_rs_unit_tests_path)/rstime.rscript\
98    $(my_rs_unit_tests_path)/UT_rstypes.java\
99    $(my_rs_unit_tests_path)/rstypes.rscript\
100    $(my_rs_unit_tests_path)/UT_sampler.java\
101    $(my_rs_unit_tests_path)/sampler.rscript\
102    $(my_rs_unit_tests_path)/UT_static_globals.java\
103    $(my_rs_unit_tests_path)/static_globals.rscript\
104    $(my_rs_unit_tests_path)/UT_struct.java\
105    $(my_rs_unit_tests_path)/struct.rscript\
106    $(my_rs_unit_tests_path)/UT_unsigned.java\
107    $(my_rs_unit_tests_path)/unsigned.rscript\
108    $(my_rs_unit_tests_path)/UT_vector.java\
109    $(my_rs_unit_tests_path)/vector.rscript\
110
111include $(BUILD_PACKAGE)
112
113my_rs_unit_tests_path :=
114
115