blob: 9d60a7face243c415b6f90c912fc78333129decf [file] [log] [blame]
Brian Muramatsu320a7a12010-07-08 16:37:21 -07001# Copyright (C) 2010 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
Brian Muramatsube775f52012-01-10 18:26:00 -080015cts_security_apps_list := \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070016 CtsAppAccessData \
17 CtsAppWithData \
18 CtsInstrumentationAppDiffCert \
19 CtsPermissionDeclareApp \
20 CtsSharedUidInstall \
21 CtsSharedUidInstallDiffCert \
22 CtsSimpleAppInstall \
23 CtsSimpleAppInstallDiffCert \
24 CtsTargetInstrumentationApp \
25 CtsUsePermissionDiffCert
26
Brian Muramatsube775f52012-01-10 18:26:00 -080027cts_support_packages := \
Brian Muramatsue669e042011-09-01 15:10:54 -070028 CtsAccelerationTestStubs \
Brian Muramatsu5df641c2011-12-28 15:46:57 -080029 CtsDelegatingAccessibilityService \
30 CtsDeviceAdmin \
31 CtsTestStubs \
32 SignatureTest \
Brian Muramatsube775f52012-01-10 18:26:00 -080033 TestDeviceSetup \
34 $(cts_security_apps_list)
35
36cts_external_packages := \
Keun young Park4771c9e2012-01-06 14:51:03 -080037 replicaisland \
Brian Muramatsube775f52012-01-10 18:26:00 -080038
39# Any APKs that need to be copied to the CTS distribution's testcases
40# directory but do not require an associated test package XML.
41CTS_TEST_CASE_LIST := \
42 $(cts_support_packages) \
43 $(cts_external_packages)
Brian Muramatsu5df641c2011-12-28 15:46:57 -080044
45# Test packages that require an associated test package XML.
Brian Muramatsube775f52012-01-10 18:26:00 -080046cts_test_packages := \
Brian Muramatsu5df641c2011-12-28 15:46:57 -080047 CtsAccelerationTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070048 CtsAccessibilityServiceTestCases \
49 CtsAccountManagerTestCases \
Brian Muramatsu714433d2011-06-17 10:27:10 -070050 CtsAdminTestCases \
Rajdeep Dua5a8eb1b2011-12-08 08:46:05 +053051 CtsAnimationTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070052 CtsAppTestCases \
53 CtsBluetoothTestCases \
54 CtsContentTestCases \
55 CtsDatabaseTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070056 CtsDpiTestCases \
57 CtsDpiTestCases2 \
Brian Muramatsua1c545d2011-02-15 11:47:16 -080058 CtsDrmTestCases \
Brian Muramatsub287ea02011-12-19 14:22:25 -080059 CtsEffectTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070060 CtsExampleTestCases \
61 CtsGestureTestCases \
62 CtsGraphicsTestCases \
63 CtsHardwareTestCases \
Brian Muramatsue8c01662011-11-08 12:17:11 -080064 CtsHoloTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070065 CtsJniTestCases \
66 CtsLocationTestCases \
Keun young Park81687a32011-12-06 12:17:55 -080067 CtsMediaStressTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070068 CtsMediaTestCases \
Nick Pelly42659652011-02-18 16:06:30 -080069 CtsNdefTestCases \
Brian Muramatsu18dae332011-10-10 14:44:32 -070070 CtsNetTestCases \
Keun young Parkbb7869a2011-12-29 16:17:16 -080071 CtsOpenGlPerfTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070072 CtsOsTestCases \
73 CtsPermissionTestCases \
74 CtsPermission2TestCases \
Brian Muramatsu6d3c3bd2010-12-03 12:15:30 -080075 CtsPreferenceTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070076 CtsProviderTestCases \
Stephen Hines4aeee062011-02-24 18:30:30 -080077 CtsRenderscriptTestCases \
Brian Muramatsue591e522010-04-26 16:50:50 -070078 CtsSaxTestCases \
Brian Muramatsu8c86a012011-05-03 12:49:56 -070079 CtsSecurityTestCases \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070080 CtsSpeechTestCases \
81 CtsTelephonyTestCases \
82 CtsTextTestCases \
83 CtsUtilTestCases \
84 CtsViewTestCases \
85 CtsWebkitTestCases \
Brian Muramatsu18dae332011-10-10 14:44:32 -070086 CtsWidgetTestCases
Brian Muramatsu2f8eead2010-09-24 14:56:43 -070087
Brian Muramatsu5df641c2011-12-28 15:46:57 -080088# All APKs that need to be scanned by the coverage utilities.
89CTS_COVERAGE_TEST_CASE_LIST := \
Brian Muramatsube775f52012-01-10 18:26:00 -080090 $(cts_support_packages) \
91 $(cts_test_packages)
Brian Muramatsu12c86912011-07-21 17:26:46 -070092
Brian Muramatsu5df641c2011-12-28 15:46:57 -080093# Host side only tests
Brian Muramatsube775f52012-01-10 18:26:00 -080094cts_host_libraries := \
Brian Muramatsu5df641c2011-12-28 15:46:57 -080095 CtsAppSecurityTests
96
97# Native test executables that need to have associated test XMLs.
Brian Muramatsube775f52012-01-10 18:26:00 -080098cts_native_exes := \
Brian Muramatsu9c292f92011-12-14 14:53:22 -080099 NativeMediaTest_SL \
100 NativeMediaTest_XA
Brian Muramatsu88d32a82011-12-02 10:55:12 -0800101
Brian Muramatsu5df641c2011-12-28 15:46:57 -0800102# All the files that will end up under the repository/testcases
103# directory of the final CTS distribution.
Brian Muramatsube775f52012-01-10 18:26:00 -0800104CTS_TEST_CASES := $(call cts-get-lib-paths,$(cts_host_libraries)) \
105 $(call cts-get-package-paths,$(cts_test_packages)) \
106 $(call cts-get-native-paths,$(cts_native_exes))
Brian Muramatsu88d32a82011-12-02 10:55:12 -0800107
Brian Muramatsu5df641c2011-12-28 15:46:57 -0800108# All the XMLs that will end up under the repository/testcases
109# and that need to be created before making the final CTS distribution.
Brian Muramatsube775f52012-01-10 18:26:00 -0800110CTS_TEST_XMLS := $(call cts-get-test-xmls,$(cts_host_libraries)) \
111 $(call cts-get-test-xmls,$(cts_test_packages)) \
112 $(call cts-get-test-xmls,$(cts_native_exes))
Brian Muramatsu88d32a82011-12-02 10:55:12 -0800113
Brian Muramatsu12c86912011-07-21 17:26:46 -0700114# The following files will be placed in the tools directory of the CTS distribution
Brian Muramatsudd2bf712011-08-12 12:46:07 -0700115CTS_TOOLS_LIST :=