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 CtsSharedUidInstall \ 23 CtsSharedUidInstallDiffCert \ 24 CtsSimpleAppInstall \ 25 CtsSimpleAppInstallDiffCert \ 26 CtsTargetInstrumentationApp \ 27 CtsUsePermissionDiffCert \ 28 CtsWriteExternalStorageApp \ 29 CtsMultiUserStorageApp 30 31cts_support_packages := \ 32 CtsAccelerationTestStubs \ 33 CtsDelegatingAccessibilityService \ 34 CtsDeviceAdmin \ 35 CtsMonkeyApp \ 36 CtsMonkeyApp2 \ 37 CtsSomeAccessibilityServices \ 38 CtsTestStubs \ 39 SignatureTest \ 40 TestDeviceSetup \ 41 CtsUiAutomatorApp \ 42 $(cts_security_apps_list) 43 44cts_external_packages := \ 45 com.replica.replicaisland 46 47# Any APKs that need to be copied to the CTS distribution's testcases 48# directory but do not require an associated test package XML. 49CTS_TEST_CASE_LIST := \ 50 $(cts_support_packages) \ 51 $(cts_external_packages) 52 53# Test packages that require an associated test package XML. 54cts_test_packages := \ 55 CtsAccelerationTestCases \ 56 CtsAccountManagerTestCases \ 57 CtsAccessibilityServiceTestCases \ 58 CtsAccessibilityTestCases \ 59 CtsAdminTestCases \ 60 CtsAnimationTestCases \ 61 CtsAppTestCases \ 62 CtsBluetoothTestCases \ 63 CtsCalendarcommon2TestCases \ 64 CtsContentTestCases \ 65 CtsDatabaseTestCases \ 66 CtsDpiTestCases \ 67 CtsDpiTestCases2 \ 68 CtsDrmTestCases \ 69 CtsEffectTestCases \ 70 CtsExampleTestCases \ 71 CtsGestureTestCases \ 72 CtsGraphicsTestCases \ 73 CtsGraphics2TestCases \ 74 CtsHardwareTestCases \ 75 CtsHoloTestCases \ 76 CtsJniTestCases \ 77 CtsLocationTestCases \ 78 CtsMediaStressTestCases \ 79 CtsMediaTestCases \ 80 CtsNdefTestCases \ 81 CtsNetTestCases \ 82 CtsOpenGLTestCases \ 83 CtsOpenGlPerfTestCases \ 84 CtsOsTestCases \ 85 CtsPermissionTestCases \ 86 CtsPermission2TestCases \ 87 CtsPreferenceTestCases \ 88 CtsPreference2TestCases \ 89 CtsProviderTestCases \ 90 CtsRenderscriptTestCases \ 91 CtsSaxTestCases \ 92 CtsSecurityTestCases \ 93 CtsSpeechTestCases \ 94 CtsTelephonyTestCases \ 95 CtsTextTestCases \ 96 CtsTextureViewTestCases \ 97 CtsThemeTestCases \ 98 CtsUtilTestCases \ 99 CtsViewTestCases \ 100 CtsWebkitTestCases \ 101 CtsWidgetTestCases 102 103# All APKs that need to be scanned by the coverage utilities. 104CTS_COVERAGE_TEST_CASE_LIST := \ 105 $(cts_support_packages) \ 106 $(cts_test_packages) 107 108 109# Host side only tests 110cts_host_libraries := \ 111 CtsAppSecurityTests \ 112 CtsMonkeyTestCases 113 114# Native test executables that need to have associated test XMLs. 115cts_native_exes := \ 116 NativeMediaTest_SL \ 117 NativeMediaTest_XA 118 119cts_ui_tests := \ 120 CtsUiAutomatorTests 121 122# All the files that will end up under the repository/testcases 123# directory of the final CTS distribution. 124CTS_TEST_CASES := $(call cts-get-lib-paths,$(cts_host_libraries)) \ 125 $(call cts-get-package-paths,$(cts_test_packages)) \ 126 $(call cts-get-native-paths,$(cts_native_exes)) \ 127 $(call cts-get-ui-lib-paths,$(cts_ui_tests)) 128 129# All the XMLs that will end up under the repository/testcases 130# and that need to be created before making the final CTS distribution. 131CTS_TEST_XMLS := $(call cts-get-test-xmls,$(cts_host_libraries)) \ 132 $(call cts-get-test-xmls,$(cts_test_packages)) \ 133 $(call cts-get-test-xmls,$(cts_native_exes)) \ 134 $(call cts-get-test-xmls,$(cts_ui_tests)) 135 136 137# The following files will be placed in the tools directory of the CTS distribution 138CTS_TOOLS_LIST := 139