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