• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# 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
15# Test XMLs, native executables, and packages will be placed in this
16# directory before creating the final CTS distribution.
17CTS_TESTCASES_OUT := $(HOST_OUT)/cts/android-cts/repository/testcases
18
19# Scanners of source files for tests which are then inputed into
20# the XML generator to produce test XMLs.
21CTS_NATIVE_TEST_SCANNER := $(HOST_OUT_EXECUTABLES)/cts-native-scanner
22CTS_JAVA_TEST_SCANNER := $(HOST_OUT_EXECUTABLES)/cts-java-scanner
23CTS_JAVA_TEST_SCANNER_DOCLET := $(HOST_OUT_JAVA_LIBRARIES)/cts-java-scanner-doclet.jar
24
25# Generator of test XMLs from scanner output.
26CTS_XML_GENERATOR := $(HOST_OUT_EXECUTABLES)/cts-xml-generator
27
28# File indicating which tests should be blacklisted due to problems.
29CTS_EXPECTATIONS := cts/tests/expectations/knownfailures.txt
30
31# File indicating which tests should be blacklisted due to unsupported abi.
32CTS_UNSUPPORTED_ABIS := cts/tests/expectations/unsupportedabis.txt
33
34# Holds the target architecture to build for.
35CTS_TARGET_ARCH := $(TARGET_ARCH)
36
37# default module config filename
38CTS_MODULE_TEST_CONFIG := AndroidTest.xml
39
40# CTS build rules
41BUILD_CTS_EXECUTABLE := cts/build/test_executable.mk
42BUILD_CTS_PACKAGE := cts/build/test_package.mk
43BUILD_CTS_GTEST_PACKAGE := cts/build/test_gtest_package.mk
44BUILD_CTS_HOST_JAVA_LIBRARY := cts/build/test_host_java_library.mk
45BUILD_CTS_TARGET_JAVA_LIBRARY := cts/build/test_target_java_library.mk
46BUILD_CTS_UI_JAVA_LIBRARY := cts/build/test_uiautomator.mk
47BUILD_CTS_DEQP_PACKAGE := cts/build/test_deqp_package.mk
48BUILD_CTS_SUPPORT_PACKAGE := cts/build/support_package.mk
49BUILD_CTS_MODULE_TEST_CONFIG := cts/build/module_test_config.mk
50BUILD_CTS_DEVICE_INFO_PACKAGE := cts/build/device_info_package.mk
51