blob: c6f124d3d085e4f8c19d7815bea1ab4949c41f3d [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 \
Jeff Sharkeyb5a88dd2012-05-07 16:16:49 -070018 CtsExternalStorageApp \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070019 CtsInstrumentationAppDiffCert \
20 CtsPermissionDeclareApp \
Nick Kralevich380058b2012-07-27 18:34:02 -070021 CtsPermissionDeclareAppCompat \
Jeff Sharkey85fb7652013-10-02 11:15:47 -070022 CtsReadExternalStorageApp \
Brian Muramatsu320a7a12010-07-08 16:37:21 -070023 CtsSharedUidInstall \
24 CtsSharedUidInstallDiffCert \
25 CtsSimpleAppInstall \
26 CtsSimpleAppInstallDiffCert \
27 CtsTargetInstrumentationApp \
Jeff Sharkeyb5a88dd2012-05-07 16:16:49 -070028 CtsUsePermissionDiffCert \
Jeff Sharkey429cd4e2012-10-11 17:18:31 -070029 CtsWriteExternalStorageApp \
30 CtsMultiUserStorageApp
Brian Muramatsu320a7a12010-07-08 16:37:21 -070031
Brian Muramatsube775f52012-01-10 18:26:00 -080032cts_support_packages := \
Stuart Scott1734c7f2014-02-19 17:34:36 -080033 CtsAccelerationTestStubs \
Grigory Dzhavadyan46ede902015-09-29 17:44:47 -070034 CtsCppToolsApp \
Stuart Scott1734c7f2014-02-19 17:34:36 -080035 CtsDeviceAdmin \
Stuart Scotta132af62013-11-07 10:30:32 -080036 CtsDeviceOpenGl \
37 CtsDeviceTaskswitchingAppA \
38 CtsDeviceTaskswitchingAppB \
39 CtsDeviceTaskswitchingControl \
40 CtsDeviceUi \
Stuart Scotta132af62013-11-07 10:30:32 -080041 CtsMonkeyApp \
42 CtsMonkeyApp2 \
Stuart Scottd35f8eb2014-01-13 17:41:01 -080043 CtsSampleDeviceApp \
Stuart Scotta132af62013-11-07 10:30:32 -080044 CtsSomeAccessibilityServices \
45 CtsTestStubs \
Chenjie Luofae29642014-08-22 17:50:05 -070046 CtsThemeDeviceApp \
Stuart Scotta132af62013-11-07 10:30:32 -080047 SignatureTest \
48 TestDeviceSetup \
49 CtsUiAutomatorApp \
50 CtsUsbSerialTestApp \
Neha Sharmab4b3bc22016-02-22 11:12:45 -080051 CtsTrustedVoiceApp \
Stuart Scotta132af62013-11-07 10:30:32 -080052 $(cts_security_apps_list)
Brian Muramatsube775f52012-01-10 18:26:00 -080053
54cts_external_packages := \
Brian Muramatsu1930a2e2012-01-23 10:36:13 -080055 com.replica.replicaisland
Brian Muramatsube775f52012-01-10 18:26:00 -080056
57# Any APKs that need to be copied to the CTS distribution's testcases
58# directory but do not require an associated test package XML.
59CTS_TEST_CASE_LIST := \
60 $(cts_support_packages) \
61 $(cts_external_packages)
Brian Muramatsu5df641c2011-12-28 15:46:57 -080062
63# Test packages that require an associated test package XML.
Brian Muramatsube775f52012-01-10 18:26:00 -080064cts_test_packages := \
Stuart Scotta132af62013-11-07 10:30:32 -080065 CtsDeviceFilePerf \
66 CtsDeviceUi \
67 CtsDeviceDram \
68 CtsDeviceSimpleCpu \
69 CtsDeviceBrowserBench \
70 CtsDeviceVideoPerf \
71 CtsDeviceOpenGl \
72 CtsAccelerationTestCases \
73 CtsAccountManagerTestCases \
74 CtsAccessibilityServiceTestCases \
75 CtsAccessibilityTestCases \
76 CtsAdminTestCases \
77 CtsAnimationTestCases \
78 CtsAppTestCases \
79 CtsBluetoothTestCases \
80 CtsCalendarcommon2TestCases \
81 CtsContentTestCases \
82 CtsDatabaseTestCases \
83 CtsDisplayTestCases \
84 CtsDpiTestCases \
85 CtsDpiTestCases2 \
86 CtsDreamsTestCases \
87 CtsDrmTestCases \
88 CtsEffectTestCases \
Stuart Scotta132af62013-11-07 10:30:32 -080089 CtsGestureTestCases \
90 CtsGraphicsTestCases \
91 CtsGraphics2TestCases \
92 CtsHardwareTestCases \
Stuart Scotta132af62013-11-07 10:30:32 -080093 CtsJniTestCases \
94 CtsKeystoreTestCases \
95 CtsLocationTestCases \
96 CtsMediaStressTestCases \
97 CtsMediaTestCases \
98 CtsNativeOpenGLTestCases \
99 CtsNdefTestCases \
100 CtsNetTestCases \
101 CtsOpenGLTestCases \
102 CtsOpenGlPerfTestCases \
103 CtsOsTestCases \
104 CtsPermissionTestCases \
105 CtsPermission2TestCases \
106 CtsPreferenceTestCases \
107 CtsPreference2TestCases \
108 CtsProviderTestCases \
109 CtsRenderscriptTestCases \
110 CtsRenderscriptGraphicsTestCases \
111 CtsRsCppTestCases \
Stuart Scottd35f8eb2014-01-13 17:41:01 -0800112 CtsSampleDeviceTestCases \
Stuart Scotta132af62013-11-07 10:30:32 -0800113 CtsSaxTestCases \
114 CtsSecurityTestCases \
115 CtsSpeechTestCases \
116 CtsTelephonyTestCases \
117 CtsTextTestCases \
118 CtsTextureViewTestCases \
119 CtsThemeTestCases \
120 CtsUtilTestCases \
121 CtsViewTestCases \
122 CtsWebkitTestCases \
123 CtsWidgetTestCases
Brian Muramatsu2f8eead2010-09-24 14:56:43 -0700124
Brian Muramatsu5df641c2011-12-28 15:46:57 -0800125# All APKs that need to be scanned by the coverage utilities.
126CTS_COVERAGE_TEST_CASE_LIST := \
Brian Muramatsube775f52012-01-10 18:26:00 -0800127 $(cts_support_packages) \
128 $(cts_test_packages)
Brian Muramatsu12c86912011-07-21 17:26:46 -0700129
Brian Muramatsu5df641c2011-12-28 15:46:57 -0800130# Host side only tests
Brian Muramatsube775f52012-01-10 18:26:00 -0800131cts_host_libraries := \
Stuart Scotta132af62013-11-07 10:30:32 -0800132 CtsAdbTests \
133 CtsAppSecurityTests \
Grigory Dzhavadyan46ede902015-09-29 17:44:47 -0700134 CtsCppToolsTestCases \
Stuart Scott1734c7f2014-02-19 17:34:36 -0800135 CtsHostJank \
136 CtsHostUi \
Sebastien Hertz557f84a2015-08-11 15:39:02 +0200137 CtsJdwpSecurityHostTestCases \
Stuart Scotta132af62013-11-07 10:30:32 -0800138 CtsMonkeyTestCases \
Stuart Scottd35f8eb2014-01-13 17:41:01 -0800139 CtsSampleHostTestCases \
Chenjie Luofae29642014-08-22 17:50:05 -0700140 CtsThemeHostTestCases \
Neha Sharmab4b3bc22016-02-22 11:12:45 -0800141 CtsTrustedVoiceHostTestCases \
Stuart Scotta132af62013-11-07 10:30:32 -0800142 CtsUsbTests
Brian Muramatsu5df641c2011-12-28 15:46:57 -0800143
144# Native test executables that need to have associated test XMLs.
Brian Muramatsube775f52012-01-10 18:26:00 -0800145cts_native_exes := \
Brian Muramatsu9c292f92011-12-14 14:53:22 -0800146 NativeMediaTest_SL \
Christopher Ferris60df2722013-08-27 14:52:00 -0700147 NativeMediaTest_XA \
148 bionic-unit-tests-cts \
Brian Muramatsu88d32a82011-12-02 10:55:12 -0800149
Brett Chabot87f44512012-11-16 16:00:02 -0800150cts_ui_tests := \
Stuart Scotta132af62013-11-07 10:30:32 -0800151 CtsUiAutomatorTests
152
153cts_device_jars := \
Sebastien Hertz557f84a2015-08-11 15:39:02 +0200154 CtsDeviceJank \
155 CtsJdwpApp
Brett Chabot87f44512012-11-16 16:00:02 -0800156
Brian Muramatsu5df641c2011-12-28 15:46:57 -0800157# All the files that will end up under the repository/testcases
158# directory of the final CTS distribution.
Brian Muramatsube775f52012-01-10 18:26:00 -0800159CTS_TEST_CASES := $(call cts-get-lib-paths,$(cts_host_libraries)) \
Stuart Scotta132af62013-11-07 10:30:32 -0800160 $(call cts-get-package-paths,$(cts_test_packages)) \
161 $(call cts-get-native-paths,$(cts_native_exes)) \
162 $(call cts-get-ui-lib-paths,$(cts_ui_tests)) \
163 $(call cts-get-ui-lib-paths,$(cts_device_jars))
Brian Muramatsu88d32a82011-12-02 10:55:12 -0800164
Brian Muramatsu5df641c2011-12-28 15:46:57 -0800165# All the XMLs that will end up under the repository/testcases
166# and that need to be created before making the final CTS distribution.
Brian Muramatsube775f52012-01-10 18:26:00 -0800167CTS_TEST_XMLS := $(call cts-get-test-xmls,$(cts_host_libraries)) \
Stuart Scotta132af62013-11-07 10:30:32 -0800168 $(call cts-get-test-xmls,$(cts_test_packages)) \
169 $(call cts-get-test-xmls,$(cts_native_exes)) \
170 $(call cts-get-test-xmls,$(cts_ui_tests))
Brett Chabot87f44512012-11-16 16:00:02 -0800171
Brian Muramatsu88d32a82011-12-02 10:55:12 -0800172
Brian Muramatsu12c86912011-07-21 17:26:46 -0700173# The following files will be placed in the tools directory of the CTS distribution
Brian Muramatsudd2bf712011-08-12 12:46:07 -0700174CTS_TOOLS_LIST :=