diff options
Diffstat (limited to 'tests/tests/security/Android.bp')
-rw-r--r-- | tests/tests/security/Android.bp | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/tests/tests/security/Android.bp b/tests/tests/security/Android.bp index ce63982ab2c..1bca40ac1bf 100644 --- a/tests/tests/security/Android.bp +++ b/tests/tests/security/Android.bp @@ -248,3 +248,61 @@ filegroup { "test-cert-with-1-2-4-in-rotation-history", ], } + +// PackageSignatureTest is split so that it can be part of GTS suite +// See b/301094654 +android_test { + name: "GtsPackageSignatureTest", + defaults: ["cts_defaults"], + // Include both the 32 and 64 bit versions + compile_multilib: "both", + static_libs: [ + "androidx.test.ext.junit", + "androidx.test.rules", + "androidx.test.runner", + "android-common", + "ctstestserver", + "ctstestrunner-axt", + "cts-install-lib", + "compatibility-device-util-axt", + "compatibility-common-util-devicesidelib", + "guava", + "platform-test-annotations", + "permission-test-util-lib", + "sts-device-util", + "hamcrest-library", + "NeneInternal", + ], + libs: [ + "android.test.runner", + "org.apache.http.legacy", + "android.test.base", + ], + jni_libs: [ + "libctssecurity_jni", + "libcts_jni", + "libnativehelper_compat_libc++", + "libnativehelper", + "libcutils", + "libcrypto", + "libselinux", + "libc++", + "libpcre2", + "libpackagelistparser", + "libcve_2019_2213_jni", + ], + host_required: ["CtsBackupHostTestCases"], + srcs: [ + "src/android/security/cts/PackageSignatureTest.java", + ], + platform_apis: true, + // Tag this module as a gts test artifact + test_suites: [ + "gts", + "general-tests", + ], + certificate: ":security_cts_test_certificate", + per_testcase_directory: true, + test_config: "AndroidTest_PackageSignatureTest.xml", + manifest: "AndroidManifest_PackageSignatureTest.xml", +} |