blob: d43624f5c9832efa88d2c4d72d6bca9e120e24da [file] [log] [blame]
Kalle Raita64d9cc32015-10-12 16:18:15 -07001# Copyright (C) 2015 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15LOCAL_PATH := $(call my-dir)
16
17include $(CLEAR_VARS)
18
19LOCAL_MODULE := CtsDeqpTestCases
20
21LOCAL_MODULE_TAGS := optional
22
Stuart Scott12b3fcc2016-02-29 13:09:58 -080023# Tag this module as a cts test artifact
24LOCAL_COMPATIBILITY_SUITE := cts
Kalle Raita64d9cc32015-10-12 16:18:15 -070025
26LOCAL_SDK_VERSION := 22
27
28LOCAL_SRC_FILES := $(call all-java-files-under, runner/src)
Stuart Scott12b3fcc2016-02-29 13:09:58 -080029LOCAL_JAVA_LIBRARIES := cts-tradefed compatibility-host-util tradefed-prebuilt
Kalle Raita64d9cc32015-10-12 16:18:15 -070030
Mika Isojärvifb2d85c2016-02-04 15:35:09 -080031DEQP_CASELISTS:=$(sort $(patsubst master/%,%, \
Kalle Raita64d9cc32015-10-12 16:18:15 -070032 $(shell cd $(LOCAL_PATH) ; \
Mika Isojärvifb2d85c2016-02-04 15:35:09 -080033 find -L master -maxdepth 1 -name "*.txt") \
Kalle Raita64d9cc32015-10-12 16:18:15 -070034 ))
Ying Wang52e96e72016-02-16 15:44:03 -080035LOCAL_COMPATIBILITY_SUPPORT_FILES := $(foreach file, $(DEQP_CASELISTS), $(LOCAL_PATH)/master/$(file):$(file))
Kalle Raita64d9cc32015-10-12 16:18:15 -070036
37include $(BUILD_HOST_JAVA_LIBRARY)
38
39include $(call all-makefiles-under,$(LOCAL_PATH))