Share srcs in rust_defaults. am: 5107b8713f am: fd0a4e0849 am: c54c4b3ac1

Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/futures-io/+/1366176

Change-Id: Ic6e9ae41cf75cec31a359283301b1463e92110af
diff --git a/Android.bp b/Android.bp
index 1c04c78..d980847 100644
--- a/Android.bp
+++ b/Android.bp
@@ -3,6 +3,7 @@
 rust_defaults {
     name: "futures-io_defaults",
     crate_name: "futures_io",
+    srcs: ["src/lib.rs"],
     test_suites: ["general-tests"],
     auto_gen_config: true,
     edition: "2018",
@@ -15,13 +16,11 @@
 rust_test_host {
     name: "futures-io_host_test_src_lib",
     defaults: ["futures-io_defaults"],
-    srcs: ["src/lib.rs"],
 }
 
 rust_test {
     name: "futures-io_device_test_src_lib",
     defaults: ["futures-io_defaults"],
-    srcs: ["src/lib.rs"],
 }
 
 rust_library {