fastboot: Add a mock transport and some driver tests.
Bug: N/A
Test: fastboot_test
Change-Id: I08d8dfedcc7e9dad9ce418e0f3aaf5ac69a3a2a2
diff --git a/fastboot/Android.bp b/fastboot/Android.bp
index 76aaf7b..3c110ee 100644
--- a/fastboot/Android.bp
+++ b/fastboot/Android.bp
@@ -375,6 +375,7 @@
defaults: ["fastboot_host_defaults"],
srcs: [
+ "fastboot_driver_test.cpp",
"fastboot_test.cpp",
"socket_mock.cpp",
"socket_test.cpp",
@@ -383,7 +384,10 @@
"udp_test.cpp",
],
- static_libs: ["libfastboot"],
+ static_libs: [
+ "libfastboot",
+ "libgmock",
+ ],
target: {
windows: {