• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# 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
15cts_security_apps_list := \
16	CtsAppAccessData \
17	CtsAppWithData \
18	CtsExternalStorageApp \
19	CtsInstrumentationAppDiffCert \
20	CtsPermissionDeclareApp \
21	CtsPermissionDeclareAppCompat \
22	CtsReadExternalStorageApp \
23	CtsSharedUidInstall \
24	CtsSharedUidInstallDiffCert \
25	CtsSimpleAppInstall \
26	CtsSimpleAppInstallDiffCert \
27	CtsTargetInstrumentationApp \
28	CtsUsePermissionDiffCert \
29	CtsWriteExternalStorageApp \
30	CtsMultiUserStorageApp
31
32cts_support_packages := \
33    CtsAccelerationTestStubs \
34    CtsDeviceAdmin \
35    CtsDeviceOpenGl \
36    CtsDeviceTaskswitchingAppA \
37    CtsDeviceTaskswitchingAppB \
38    CtsDeviceTaskswitchingControl \
39    CtsDeviceUi \
40    CtsHoloDeviceApp \
41    CtsMonkeyApp \
42    CtsMonkeyApp2 \
43    CtsSampleDeviceApp \
44    CtsSomeAccessibilityServices \
45    CtsTestStubs \
46    SignatureTest \
47    TestDeviceSetup \
48    CtsUiAutomatorApp \
49    CtsUsbSerialTestApp \
50    $(cts_security_apps_list)
51
52cts_external_packages := \
53	com.replica.replicaisland
54
55# Any APKs that need to be copied to the CTS distribution's testcases
56# directory but do not require an associated test package XML.
57CTS_TEST_CASE_LIST := \
58	$(cts_support_packages) \
59	$(cts_external_packages)
60
61# Test packages that require an associated test package XML.
62cts_test_packages := \
63    CtsDeviceFilePerf \
64    CtsDeviceUi \
65    CtsDeviceDram \
66    CtsDeviceSimpleCpu \
67    CtsDeviceBrowserBench \
68    CtsDeviceVideoPerf \
69    CtsDeviceOpenGl \
70    CtsAccelerationTestCases \
71    CtsAccountManagerTestCases \
72    CtsAccessibilityServiceTestCases \
73    CtsAccessibilityTestCases \
74    CtsAdminTestCases \
75    CtsAnimationTestCases \
76    CtsAppTestCases \
77    CtsBluetoothTestCases \
78    CtsCalendarcommon2TestCases \
79    CtsContentTestCases \
80    CtsDatabaseTestCases \
81    CtsDisplayTestCases \
82    CtsDpiTestCases \
83    CtsDpiTestCases2 \
84    CtsDreamsTestCases \
85    CtsDrmTestCases \
86    CtsEffectTestCases \
87    CtsGestureTestCases \
88    CtsGraphicsTestCases \
89    CtsGraphics2TestCases \
90    CtsHardwareTestCases \
91    CtsHoloTestCases \
92    CtsJniTestCases \
93    CtsKeystoreTestCases \
94    CtsLocationTestCases \
95    CtsMediaStressTestCases \
96    CtsMediaTestCases \
97    CtsNativeOpenGLTestCases \
98    CtsNdefTestCases \
99    CtsNetTestCases \
100    CtsOpenGLTestCases \
101    CtsOpenGlPerfTestCases \
102    CtsOsTestCases \
103    CtsPermissionTestCases \
104    CtsPermission2TestCases \
105    CtsPreferenceTestCases \
106    CtsPreference2TestCases \
107    CtsProviderTestCases \
108    CtsRenderscriptTestCases \
109    CtsRenderscriptGraphicsTestCases \
110    CtsRsCppTestCases \
111    CtsSampleDeviceTestCases \
112    CtsSaxTestCases \
113    CtsSecurityTestCases \
114    CtsSpeechTestCases \
115    CtsTelephonyTestCases \
116    CtsTextTestCases \
117    CtsTextureViewTestCases \
118    CtsThemeTestCases \
119    CtsUtilTestCases \
120    CtsViewTestCases \
121    CtsWebkitTestCases \
122    CtsWidgetTestCases
123
124# All APKs that need to be scanned by the coverage utilities.
125CTS_COVERAGE_TEST_CASE_LIST := \
126	$(cts_support_packages) \
127	$(cts_test_packages)
128
129# Host side only tests
130cts_host_libraries := \
131    CtsAdbTests \
132    CtsAppSecurityTests \
133    CtsHoloHostTestCases \
134    CtsHostJank \
135    CtsHostUi \
136    CtsMonkeyTestCases \
137    CtsSampleHostTestCases \
138    CtsUsbTests
139
140# Native test executables that need to have associated test XMLs.
141cts_native_exes := \
142	NativeMediaTest_SL \
143	NativeMediaTest_XA \
144	bionic-unit-tests-cts \
145
146cts_ui_tests := \
147    CtsUiAutomatorTests
148
149cts_device_jars := \
150    CtsDeviceJank
151
152# All the files that will end up under the repository/testcases
153# directory of the final CTS distribution.
154CTS_TEST_CASES := $(call cts-get-lib-paths,$(cts_host_libraries)) \
155    $(call cts-get-package-paths,$(cts_test_packages)) \
156    $(call cts-get-native-paths,$(cts_native_exes)) \
157    $(call cts-get-ui-lib-paths,$(cts_ui_tests)) \
158    $(call cts-get-ui-lib-paths,$(cts_device_jars))
159
160# All the XMLs that will end up under the repository/testcases
161# and that need to be created before making the final CTS distribution.
162CTS_TEST_XMLS := $(call cts-get-test-xmls,$(cts_host_libraries)) \
163    $(call cts-get-test-xmls,$(cts_test_packages)) \
164    $(call cts-get-test-xmls,$(cts_native_exes)) \
165    $(call cts-get-test-xmls,$(cts_ui_tests))
166
167
168# The following files will be placed in the tools directory of the CTS distribution
169CTS_TOOLS_LIST :=
170