blob: 3b9723ba558c52f2ce18595602083565cb61897f [file] [log] [blame]
Brian Muramatsue89e9742012-03-02 14:31:27 -08001# Copyright (C) 2012 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
Stuart Scott3e3d0ed2015-02-13 12:30:39 -080015# Test XMLs, native executables, and packages will be placed in this
16# directory before creating the final CTS distribution.
Stuart Scott2ff78ae2016-02-18 19:25:52 -080017CTS_TESTCASES_OUT := $(HOST_OUT)/old-cts/old-android-cts/repository/testcases
Stuart Scott3e3d0ed2015-02-13 12:30:39 -080018
Stuart Scott2ff78ae2016-02-18 19:25:52 -080019COMPATIBILITY_TESTCASES_OUT_cts := $(HOST_OUT)/cts/android-cts/testcases
Stuart Scott5ae19e12015-06-04 08:59:58 -070020
Stuart Scott3e3d0ed2015-02-13 12:30:39 -080021# Scanners of source files for tests which are then inputed into
22# the XML generator to produce test XMLs.
23CTS_NATIVE_TEST_SCANNER := $(HOST_OUT_EXECUTABLES)/cts-native-scanner
24CTS_JAVA_TEST_SCANNER := $(HOST_OUT_EXECUTABLES)/cts-java-scanner
25CTS_JAVA_TEST_SCANNER_DOCLET := $(HOST_OUT_JAVA_LIBRARIES)/cts-java-scanner-doclet.jar
26
27# Generator of test XMLs from scanner output.
28CTS_XML_GENERATOR := $(HOST_OUT_EXECUTABLES)/cts-xml-generator
29
30# File indicating which tests should be blacklisted due to problems.
31CTS_EXPECTATIONS := cts/tests/expectations/knownfailures.txt
32
33# File indicating which tests should be blacklisted due to unsupported abi.
34CTS_UNSUPPORTED_ABIS := cts/tests/expectations/unsupportedabis.txt
35
36# Holds the target architecture to build for.
37CTS_TARGET_ARCH := $(TARGET_ARCH)
38
Guang Zhu7afa91e2015-02-06 00:44:34 -080039# default module config filename
40CTS_MODULE_TEST_CONFIG := AndroidTest.xml
41
Stuart Scott3e3d0ed2015-02-13 12:30:39 -080042# CTS build rules
Stuart Scottff15fe92015-08-28 15:34:10 -070043BUILD_COMPATIBILITY_SUITE := cts/build/compatibility_test_suite.mk
Brian Muramatsue89e9742012-03-02 14:31:27 -080044BUILD_CTS_EXECUTABLE := cts/build/test_executable.mk
45BUILD_CTS_PACKAGE := cts/build/test_package.mk
Thomas Tafertshoferb5385a62012-08-15 15:40:45 -070046BUILD_CTS_GTEST_PACKAGE := cts/build/test_gtest_package.mk
Brian Muramatsue89e9742012-03-02 14:31:27 -080047BUILD_CTS_HOST_JAVA_LIBRARY := cts/build/test_host_java_library.mk
Tsu Chiang Chuang06f4c562014-06-18 09:57:57 -070048BUILD_CTS_TARGET_JAVA_LIBRARY := cts/build/test_target_java_library.mk
Jarkko Pöyry59a8dbb2014-10-13 22:01:15 -070049BUILD_CTS_DEQP_PACKAGE := cts/build/test_deqp_package.mk
Stuart Scott0337dbf2015-02-04 10:37:07 -080050BUILD_CTS_SUPPORT_PACKAGE := cts/build/support_package.mk
Guang Zhu7afa91e2015-02-06 00:44:34 -080051BUILD_CTS_MODULE_TEST_CONFIG := cts/build/module_test_config.mk
Agatha Man783d6312015-06-19 14:29:33 -070052BUILD_CTS_DEVICE_INFO_PACKAGE := cts/build/device_info_package.mk
Igor Murashkin0b4e1362016-04-07 16:54:33 -070053BUILD_CTS_TARGET_TESTNG_PACKAGE := cts/build/test_target_testng_package.mk