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 22.0.1 26 27include $(CLEAR_VARS) 28 29LOCAL_MODULE_TAGS := tests 30LOCAL_STATIC_JAVA_LIBRARIES := androidx.test.rules 31LOCAL_COMPATIBILITY_SUITE := device-tests 32LOCAL_RENDERSCRIPT_TARGET_API := current 33LOCAL_PACKAGE_NAME := RSTestForward_22_0_1 34LOCAL_SDK_VERSION := current 35my_rs_path := $(TOP)/prebuilts/renderscript/host/linux-x86/22.0.1 36LOCAL_RENDERSCRIPT_CC := $(my_rs_path)/bin/llvm-rs-cc 37LOCAL_RENDERSCRIPT_INCLUDES_OVERRIDE := $(my_rs_path)/include $(my_rs_path)/clang-include 38my_rs_path := 39LOCAL_SRC_FILES :=\ 40 $(call all-java-files-under,../src)\ 41 $(call all-java-files-under,src)\ 42 $(my_rs_unit_tests_path)/UnitTest.java\ 43 $(my_rs_unit_tests_path)/UT_alloc.java\ 44 $(my_rs_unit_tests_path)/alloc.rscript\ 45 $(my_rs_unit_tests_path)/UT_array_alloc.java\ 46 $(my_rs_unit_tests_path)/array_alloc.rscript\ 47 $(my_rs_unit_tests_path)/UT_array_init.java\ 48 $(my_rs_unit_tests_path)/array_init.rscript\ 49 $(my_rs_unit_tests_path)/UT_atomic.java\ 50 $(my_rs_unit_tests_path)/atomic.rscript\ 51 $(my_rs_unit_tests_path)/UT_bitfield.java\ 52 $(my_rs_unit_tests_path)/bitfield.rscript\ 53 $(my_rs_unit_tests_path)/UT_bug_char.java\ 54 $(my_rs_unit_tests_path)/bug_char.rscript\ 55 $(my_rs_unit_tests_path)/UT_check_dims.java\ 56 $(my_rs_unit_tests_path)/check_dims.rscript\ 57 $(my_rs_unit_tests_path)/UT_clamp.java\ 58 $(my_rs_unit_tests_path)/clamp.rscript\ 59 $(my_rs_unit_tests_path)/UT_clamp_relaxed.java\ 60 $(my_rs_unit_tests_path)/clamp_relaxed.rscript\ 61 $(my_rs_unit_tests_path)/UT_constant.java\ 62 $(my_rs_unit_tests_path)/constant.rscript\ 63 $(my_rs_unit_tests_path)/UT_convert.java\ 64 $(my_rs_unit_tests_path)/convert.rscript\ 65 $(my_rs_unit_tests_path)/UT_convert_relaxed.java\ 66 $(my_rs_unit_tests_path)/convert_relaxed.rscript\ 67 $(my_rs_unit_tests_path)/UT_copy_test.java\ 68 $(my_rs_unit_tests_path)/copy_test.rscript\ 69 $(my_rs_unit_tests_path)/UT_element.java\ 70 $(my_rs_unit_tests_path)/element.rscript\ 71 $(my_rs_unit_tests_path)/UT_foreach.java\ 72 $(my_rs_unit_tests_path)/foreach.rscript\ 73 $(my_rs_unit_tests_path)/UT_foreach_bounds.java\ 74 $(my_rs_unit_tests_path)/foreach_bounds.rscript\ 75 $(my_rs_unit_tests_path)/UT_foreach_multi.java\ 76 $(my_rs_unit_tests_path)/foreach_multi.rscript\ 77 $(my_rs_unit_tests_path)/UT_fp_mad.java\ 78 $(my_rs_unit_tests_path)/fp_mad.rscript\ 79 $(my_rs_unit_tests_path)/UT_instance.java\ 80 $(my_rs_unit_tests_path)/instance.rscript\ 81 $(my_rs_unit_tests_path)/UT_int4.java\ 82 $(my_rs_unit_tests_path)/int4.rscript\ 83 $(my_rs_unit_tests_path)/UT_kernel.java\ 84 $(my_rs_unit_tests_path)/kernel.rscript\ 85 $(my_rs_unit_tests_path)/UT_kernel_struct.java\ 86 $(my_rs_unit_tests_path)/kernel_struct.rscript\ 87 $(my_rs_unit_tests_path)/UT_math.java\ 88 $(my_rs_unit_tests_path)/math.rscript\ 89 $(my_rs_unit_tests_path)/UT_math_agree.java\ 90 $(my_rs_unit_tests_path)/math_agree.rscript\ 91 $(my_rs_unit_tests_path)/UT_math_conformance.java\ 92 $(my_rs_unit_tests_path)/math_conformance.rscript\ 93 $(my_rs_unit_tests_path)/UT_min.java\ 94 $(my_rs_unit_tests_path)/min.rscript\ 95 $(my_rs_unit_tests_path)/UT_noroot.java\ 96 $(my_rs_unit_tests_path)/noroot.rscript\ 97 $(my_rs_unit_tests_path)/UT_primitives.java\ 98 $(my_rs_unit_tests_path)/primitives.rscript\ 99 $(my_rs_unit_tests_path)/UT_refcount.java\ 100 $(my_rs_unit_tests_path)/refcount.rscript\ 101 $(my_rs_unit_tests_path)/UT_rsdebug.java\ 102 $(my_rs_unit_tests_path)/rsdebug.rscript\ 103 $(my_rs_unit_tests_path)/UT_rstime.java\ 104 $(my_rs_unit_tests_path)/rstime.rscript\ 105 $(my_rs_unit_tests_path)/UT_rstypes.java\ 106 $(my_rs_unit_tests_path)/rstypes.rscript\ 107 $(my_rs_unit_tests_path)/UT_sampler.java\ 108 $(my_rs_unit_tests_path)/sampler.rscript\ 109 $(my_rs_unit_tests_path)/UT_static_globals.java\ 110 $(my_rs_unit_tests_path)/static_globals.rscript\ 111 $(my_rs_unit_tests_path)/UT_struct.java\ 112 $(my_rs_unit_tests_path)/struct.rscript\ 113 $(my_rs_unit_tests_path)/UT_unsigned.java\ 114 $(my_rs_unit_tests_path)/unsigned.rscript\ 115 $(my_rs_unit_tests_path)/UT_vector.java\ 116 $(my_rs_unit_tests_path)/vector.rscript\ 117 118include $(BUILD_PACKAGE) 119 120my_rs_unit_tests_path := 121 122endif 123