1package { 2 default_applicable_licenses: ["Android-Apache-2.0"], 3} 4 5apex { 6 name: "com.android.libapexsupport.tests", 7 vendor: true, 8 installable: false, 9 updatable: false, 10 manifest: "manifest.json", 11 file_contexts: "file_contexts", 12 key: "com.android.apex.vendor.foo.key", 13 certificate: ":com.android.apex.vendor.foo.certificate", 14 15 binaries: ["libapexsupport-tests"], 16} 17 18cc_defaults { 19 name: "libapexsupport-tests-defaults", 20 srcs: ["libapexsupport-tests.cpp"], 21 shared_libs: ["libapexsupport"], 22} 23 24cc_test { 25 name: "libapexsupport-tests", 26 defaults: ["libapexsupport-tests-defaults"], 27 stem: "libapexsupport-tests", 28 vendor: true, 29 installable: false, 30} 31 32cc_test { 33 name: "libapexsupport-tests-vendor", 34 defaults: ["libapexsupport-tests-defaults"], 35 vendor: true, 36 test_suites: ["general-tests"], // not device-specific 37} 38 39sh_test_host { 40 name: "libapexsupport-tests-apex", 41 src: "libapexsupport-tests.sh", 42 test_suites: ["general-tests"], // not device-specific 43 test_options: { 44 unit_test: false, 45 }, 46 data: [ 47 ":com.android.libapexsupport.tests", 48 ], 49} 50