Home | History | Annotate | Download | only in cts
      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 	CtsDelegatingAccessibilityService \
     34 	CtsDeviceAdmin \
     35 	CtsMonkeyApp \
     36 	CtsMonkeyApp2 \
     37 	CtsSomeAccessibilityServices \
     38 	CtsTestStubs \
     39 	SignatureTest \
     40 	TestDeviceSetup \
     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 	CtsDpiTestCases \
     66 	CtsDpiTestCases2 \
     67 	CtsDrmTestCases \
     68 	CtsEffectTestCases \
     69 	CtsExampleTestCases \
     70 	CtsGestureTestCases \
     71 	CtsGraphicsTestCases \
     72 	CtsGraphics2TestCases \
     73 	CtsHardwareTestCases \
     74 	CtsHoloTestCases \
     75 	CtsJniTestCases \
     76 	CtsLocationTestCases \
     77 	CtsMediaStressTestCases \
     78 	CtsMediaTestCases \
     79 	CtsNdefTestCases \
     80 	CtsNetTestCases \
     81 	CtsOpenGLTestCases \
     82 	CtsOpenGlPerfTestCases \
     83 	CtsOsTestCases \
     84 	CtsPermissionTestCases \
     85 	CtsPermission2TestCases \
     86 	CtsPreferenceTestCases \
     87 	CtsPreference2TestCases \
     88 	CtsProviderTestCases \
     89 	CtsRenderscriptTestCases \
     90 	CtsSaxTestCases \
     91 	CtsSecurityTestCases \
     92 	CtsSpeechTestCases \
     93 	CtsTelephonyTestCases \
     94 	CtsTextTestCases \
     95 	CtsTextureViewTestCases \
     96 	CtsThemeTestCases \
     97 	CtsUtilTestCases \
     98 	CtsViewTestCases \
     99 	CtsWebkitTestCases \
    100 	CtsWidgetTestCases
    101 
    102 # All APKs that need to be scanned by the coverage utilities.
    103 CTS_COVERAGE_TEST_CASE_LIST := \
    104 	$(cts_support_packages) \
    105 	$(cts_test_packages)
    106 
    107 
    108 # Host side only tests
    109 cts_host_libraries := \
    110 	CtsAppSecurityTests \
    111 	CtsMonkeyTestCases
    112 
    113 # Native test executables that need to have associated test XMLs.
    114 cts_native_exes := \
    115 	NativeMediaTest_SL \
    116 	NativeMediaTest_XA
    117 
    118 # All the files that will end up under the repository/testcases
    119 # directory of the final CTS distribution.
    120 CTS_TEST_CASES := $(call cts-get-lib-paths,$(cts_host_libraries)) \
    121 		$(call cts-get-package-paths,$(cts_test_packages)) \
    122 		$(call cts-get-native-paths,$(cts_native_exes))
    123 
    124 # All the XMLs that will end up under the repository/testcases
    125 # and that need to be created before making the final CTS distribution.
    126 CTS_TEST_XMLS := $(call cts-get-test-xmls,$(cts_host_libraries)) \
    127 		$(call cts-get-test-xmls,$(cts_test_packages)) \
    128 		$(call cts-get-test-xmls,$(cts_native_exes))
    129 
    130 # The following files will be placed in the tools directory of the CTS distribution
    131 CTS_TOOLS_LIST :=
    132