• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
20ifneq ($(ENABLE_RSTESTS),)
21
22LOCAL_PATH := $(call my-dir)
23my_rs_unit_tests_path := ../../RSUnitTests/src/com/android/rs/unittest
24
25# RSTestForward for build tool version 25.0.2
26
27include $(CLEAR_VARS)
28
29LOCAL_MODULE_TAGS := tests
30LOCAL_STATIC_JAVA_LIBRARIES := android-support-test
31LOCAL_COMPATIBILITY_SUITE := device-tests
32LOCAL_RENDERSCRIPT_TARGET_API := 0
33LOCAL_PACKAGE_NAME := RSTestForward_25_0_2
34my_rs_path := $(TOP)/prebuilts/renderscript/host/linux-x86/25.0.2
35LOCAL_RENDERSCRIPT_CC := $(my_rs_path)/bin/llvm-rs-cc
36LOCAL_RENDERSCRIPT_INCLUDES_OVERRIDE := $(my_rs_path)/include $(my_rs_path)/clang-include
37my_rs_path :=
38LOCAL_SRC_FILES := $(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.rs\
42    $(my_rs_unit_tests_path)/UT_alloc_copy.java\
43    $(my_rs_unit_tests_path)/UT_alloc_copyPadded.java\
44    $(my_rs_unit_tests_path)/UT_array_alloc.java\
45    $(my_rs_unit_tests_path)/array_alloc.rs\
46    $(my_rs_unit_tests_path)/UT_array_init.java\
47    $(my_rs_unit_tests_path)/array_init.rs\
48    $(my_rs_unit_tests_path)/UT_atomic.java\
49    $(my_rs_unit_tests_path)/atomic.rs\
50    $(my_rs_unit_tests_path)/UT_bitfield.java\
51    $(my_rs_unit_tests_path)/bitfield.rs\
52    $(my_rs_unit_tests_path)/UT_bug_char.java\
53    $(my_rs_unit_tests_path)/bug_char.rs\
54    $(my_rs_unit_tests_path)/UT_check_dims.java\
55    $(my_rs_unit_tests_path)/check_dims.rs\
56    $(my_rs_unit_tests_path)/UT_clamp.java\
57    $(my_rs_unit_tests_path)/clamp.rs\
58    $(my_rs_unit_tests_path)/UT_clamp_relaxed.java\
59    $(my_rs_unit_tests_path)/clamp_relaxed.rs\
60    $(my_rs_unit_tests_path)/UT_constant.java\
61    $(my_rs_unit_tests_path)/constant.rs\
62    $(my_rs_unit_tests_path)/UT_convert.java\
63    $(my_rs_unit_tests_path)/convert.rs\
64    $(my_rs_unit_tests_path)/UT_convert_relaxed.java\
65    $(my_rs_unit_tests_path)/convert_relaxed.rs\
66    $(my_rs_unit_tests_path)/UT_copy_test.java\
67    $(my_rs_unit_tests_path)/copy_test.rs\
68    $(my_rs_unit_tests_path)/UT_ctxt_default.java\
69    $(my_rs_unit_tests_path)/ctxt_default.rs\
70    $(my_rs_unit_tests_path)/UT_element.java\
71    $(my_rs_unit_tests_path)/element.rs\
72    $(my_rs_unit_tests_path)/UT_foreach.java\
73    $(my_rs_unit_tests_path)/foreach.rs\
74    $(my_rs_unit_tests_path)/UT_foreach_bounds.java\
75    $(my_rs_unit_tests_path)/foreach_bounds.rs\
76    $(my_rs_unit_tests_path)/UT_foreach_multi.java\
77    $(my_rs_unit_tests_path)/foreach_multi.rs\
78    $(my_rs_unit_tests_path)/UT_fp16.java\
79    $(my_rs_unit_tests_path)/fp16.rs\
80    $(my_rs_unit_tests_path)/UT_fp16_globals.java\
81    $(my_rs_unit_tests_path)/fp16_globals.rs\
82    $(my_rs_unit_tests_path)/UT_fp_mad.java\
83    $(my_rs_unit_tests_path)/fp_mad.rs\
84    $(my_rs_unit_tests_path)/UT_instance.java\
85    $(my_rs_unit_tests_path)/instance.rs\
86    $(my_rs_unit_tests_path)/UT_int4.java\
87    $(my_rs_unit_tests_path)/int4.rs\
88    $(my_rs_unit_tests_path)/UT_kernel.java\
89    $(my_rs_unit_tests_path)/kernel.rs\
90    $(my_rs_unit_tests_path)/UT_kernel2d.java\
91    $(my_rs_unit_tests_path)/kernel2d.rs\
92    $(my_rs_unit_tests_path)/UT_kernel2d_oldstyle.java\
93    $(my_rs_unit_tests_path)/kernel2d_oldstyle.rs\
94    $(my_rs_unit_tests_path)/UT_kernel3d.java\
95    $(my_rs_unit_tests_path)/kernel3d.rs\
96    $(my_rs_unit_tests_path)/UT_kernel_struct.java\
97    $(my_rs_unit_tests_path)/kernel_struct.rs\
98    $(my_rs_unit_tests_path)/UT_math.java\
99    $(my_rs_unit_tests_path)/math.rs\
100    $(my_rs_unit_tests_path)/UT_math_24.java\
101    $(my_rs_unit_tests_path)/math_24.rs\
102    $(my_rs_unit_tests_path)/UT_math_agree.java\
103    $(my_rs_unit_tests_path)/math_agree.rs\
104    $(my_rs_unit_tests_path)/UT_math_conformance.java\
105    $(my_rs_unit_tests_path)/math_conformance.rs\
106    $(my_rs_unit_tests_path)/UT_math_fp16.java\
107    $(my_rs_unit_tests_path)/math_fp16.rs\
108    $(my_rs_unit_tests_path)/UT_min.java\
109    $(my_rs_unit_tests_path)/min.rs\
110    $(my_rs_unit_tests_path)/UT_noroot.java\
111    $(my_rs_unit_tests_path)/noroot.rs\
112    $(my_rs_unit_tests_path)/UT_primitives.java\
113    $(my_rs_unit_tests_path)/primitives.rs\
114    $(my_rs_unit_tests_path)/UT_reduce.java\
115    $(my_rs_unit_tests_path)/reduce.rs\
116    $(my_rs_unit_tests_path)/UT_reduce_backward.java\
117    $(my_rs_unit_tests_path)/reduce_backward.rs\
118    $(my_rs_unit_tests_path)/UT_refcount.java\
119    $(my_rs_unit_tests_path)/refcount.rs\
120    $(my_rs_unit_tests_path)/UT_reflection3264.java\
121    $(my_rs_unit_tests_path)/reflection3264.rs\
122    $(my_rs_unit_tests_path)/UT_rsdebug.java\
123    $(my_rs_unit_tests_path)/rsdebug.rs\
124    $(my_rs_unit_tests_path)/UT_rsdebug_23.java\
125    $(my_rs_unit_tests_path)/rsdebug_23.rs\
126    $(my_rs_unit_tests_path)/UT_rsdebug_24.java\
127    $(my_rs_unit_tests_path)/rsdebug_24.rs\
128    $(my_rs_unit_tests_path)/UT_rstime.java\
129    $(my_rs_unit_tests_path)/rstime.rs\
130    $(my_rs_unit_tests_path)/UT_rstypes.java\
131    $(my_rs_unit_tests_path)/rstypes.rs\
132    $(my_rs_unit_tests_path)/UT_sampler.java\
133    $(my_rs_unit_tests_path)/sampler.rs\
134    $(my_rs_unit_tests_path)/UT_script_group2_float.java\
135    $(my_rs_unit_tests_path)/float_test.rs\
136    $(my_rs_unit_tests_path)/UT_script_group2_gatherscatter.java\
137    $(my_rs_unit_tests_path)/addup.rs\
138    $(my_rs_unit_tests_path)/UT_script_group2_nochain.java\
139    $(my_rs_unit_tests_path)/increment.rs\
140    $(my_rs_unit_tests_path)/increment2.rs\
141    $(my_rs_unit_tests_path)/double.rs\
142    $(my_rs_unit_tests_path)/UT_script_group2_pointwise.java\
143    $(my_rs_unit_tests_path)/increment.rs\
144    $(my_rs_unit_tests_path)/double.rs\
145    $(my_rs_unit_tests_path)/UT_single_source_alloc.java\
146    $(my_rs_unit_tests_path)/single_source_alloc.rs\
147    $(my_rs_unit_tests_path)/UT_single_source_ref_count.java\
148    $(my_rs_unit_tests_path)/single_source_ref_count.rs\
149    $(my_rs_unit_tests_path)/UT_single_source_script.java\
150    $(my_rs_unit_tests_path)/single_source_script.rs\
151    $(my_rs_unit_tests_path)/UT_small_struct.java\
152    $(my_rs_unit_tests_path)/small_struct.rs\
153    $(my_rs_unit_tests_path)/UT_small_struct_2.java\
154    $(my_rs_unit_tests_path)/small_struct_2.rs\
155    $(my_rs_unit_tests_path)/UT_static_globals.java\
156    $(my_rs_unit_tests_path)/static_globals.rs\
157    $(my_rs_unit_tests_path)/UT_struct.java\
158    $(my_rs_unit_tests_path)/struct.rs\
159    $(my_rs_unit_tests_path)/UT_struct_field_simple.java\
160    $(my_rs_unit_tests_path)/struct_field_simple.rs\
161    $(my_rs_unit_tests_path)/UT_unsigned.java\
162    $(my_rs_unit_tests_path)/unsigned.rs\
163    $(my_rs_unit_tests_path)/UT_vector.java\
164    $(my_rs_unit_tests_path)/vector.rs\
165
166include $(BUILD_PACKAGE)
167
168my_rs_unit_tests_path :=
169
170endif
171