Some CTS Makefile Cleaning
- Move replicaisland from contributing to the test coverage stats
- Change variables that aren't used outside of CtsTestCaseList
to lowercase and ones used by cts.mk to upper case
Change-Id: Ieba8313571cd362be44a789bd60956b3d6db776f
diff --git a/CtsTestCaseList.mk b/CtsTestCaseList.mk
index ca2ad26..2d5d216 100644
--- a/CtsTestCaseList.mk
+++ b/CtsTestCaseList.mk
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-CTS_SECURITY_APPS_LIST := \
+cts_security_apps_list := \
CtsAppAccessData \
CtsAppWithData \
CtsInstrumentationAppDiffCert \
@@ -24,20 +24,26 @@
CtsTargetInstrumentationApp \
CtsUsePermissionDiffCert
-# Any APKs that need to be copied to the CTS distribution's testcases
-# directory but do not require an associated test package XML.
-CTS_TEST_CASE_LIST := \
- TestDeviceSetup \
+cts_support_packages := \
CtsAccelerationTestStubs \
CtsDelegatingAccessibilityService \
CtsDeviceAdmin \
CtsTestStubs \
SignatureTest \
+ TestDeviceSetup \
+ $(cts_security_apps_list)
+
+cts_external_packages := \
replicaisland \
- $(CTS_SECURITY_APPS_LIST)
+
+# Any APKs that need to be copied to the CTS distribution's testcases
+# directory but do not require an associated test package XML.
+CTS_TEST_CASE_LIST := \
+ $(cts_support_packages) \
+ $(cts_external_packages)
# Test packages that require an associated test package XML.
-CTS_TEST_PACKAGES := \
+cts_test_packages := \
CtsAccelerationTestCases \
CtsAccessibilityServiceTestCases \
CtsAccountManagerTestCases \
@@ -80,29 +86,29 @@
# All APKs that need to be scanned by the coverage utilities.
CTS_COVERAGE_TEST_CASE_LIST := \
- $(CTS_TEST_CASE_LIST) \
- $(CTS_TEST_PACKAGES)
+ $(cts_support_packages) \
+ $(cts_test_packages)
# Host side only tests
-CTS_HOST_LIBRARIES := \
+cts_host_libraries := \
CtsAppSecurityTests
# Native test executables that need to have associated test XMLs.
-CTS_NATIVE_EXES := \
+cts_native_exes := \
NativeMediaTest_SL \
NativeMediaTest_XA
# All the files that will end up under the repository/testcases
# directory of the final CTS distribution.
-CTS_TEST_CASES := $(call cts-get-lib-paths,$(CTS_HOST_LIBRARIES)) \
- $(call cts-get-package-paths,$(CTS_TEST_PACKAGES)) \
- $(call cts-get-native-paths,$(CTS_NATIVE_EXES))
+CTS_TEST_CASES := $(call cts-get-lib-paths,$(cts_host_libraries)) \
+ $(call cts-get-package-paths,$(cts_test_packages)) \
+ $(call cts-get-native-paths,$(cts_native_exes))
# All the XMLs that will end up under the repository/testcases
# and that need to be created before making the final CTS distribution.
-CTS_TEST_XMLS := $(call cts-get-test-xmls,$(CTS_HOST_LIBRARIES)) \
- $(call cts-get-test-xmls,$(CTS_TEST_PACKAGES)) \
- $(call cts-get-test-xmls,$(CTS_NATIVE_EXES))
+CTS_TEST_XMLS := $(call cts-get-test-xmls,$(cts_host_libraries)) \
+ $(call cts-get-test-xmls,$(cts_test_packages)) \
+ $(call cts-get-test-xmls,$(cts_native_exes))
# The following files will be placed in the tools directory of the CTS distribution
CTS_TOOLS_LIST :=