blob: cab61cfceada3742a8df43c218a1b89b007a4cad [file] [log] [blame]
// This looks a bit awkward, but we need our tests to run against either
// MediaProvider or MediaProviderGoogle, and we don't know which one is
// on the device being tested, so we can't sign our tests with a key that
// will allow instrumentation. Thus we pull all the sources we need to
// run tests against into the test itself.
android_test {
name: "MediaProviderTests",
test_suites: [
compile_multilib: "both",
manifest: "AndroidManifest.xml",
resource_dirs: [
srcs: [
libs: [
static_libs: [
certificate: "media",
aaptflags: ["--custom-package"],
errorprone: {
javacflags: [