aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRex Hoffman <rexhoffman@google.com>2023-02-24 00:36:03 +0000
committerRex Hoffman <rexhoffman@google.com>2023-02-24 00:38:35 +0000
commit8d41f5b10b9c00840c289d8b0845d6124dac1213 (patch)
tree79f42a8bea2e2ee4eec8977afad45484400a8d1d
parent69fec4e4f03109f9071f79a8e998fb32823a01b6 (diff)
downloadrobolectric-8d41f5b10b9c00840c289d8b0845d6124dac1213.tar.gz
Add robolectric services providers to the config
Robolectric tests can't behavave propperly without those. For example ActivityScenario fails to launch a new activity because there is no Robolectric realization for Checks class A good catch from apotapov@google.com Bug: 266743013 Test: current tests pass Merged-In: Ib59abde66932a4047d8c12536cc2e4a745c6a75c Change-Id: I881db4b9263999f5ce1e7149f821e70b03e6a785
-rw-r--r--robolectric/Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/robolectric/Android.bp b/robolectric/Android.bp
index 61359ab64..139062ca6 100644
--- a/robolectric/Android.bp
+++ b/robolectric/Android.bp
@@ -40,6 +40,7 @@ java_library_host {
],
srcs: ["src/main/java/**/*.java"],
plugins: ["auto_service_plugin"],
+ java_resource_dirs: ["src/main/resources"],
java_resources: [":robolectric-version-upstream.properties"],
}