Extend onDump to support debug options.

Extend onDump to support debugging. This CL only adds
genFakeData option.

Test: atest android.hardware.automotive.vehicle@2.0-default-impl-unit-tests
Bug: 193565753
Change-Id: I11d5d0f12c0ef050544c798bff2b4b27962bd3df
diff --git a/automotive/vehicle/2.0/default/Android.bp b/automotive/vehicle/2.0/default/Android.bp
index aabc60c..2e8ca66 100644
--- a/automotive/vehicle/2.0/default/Android.bp
+++ b/automotive/vehicle/2.0/default/Android.bp
@@ -197,6 +197,7 @@
     static_libs: [
         "libbase",
         "libcutils",
+        "libgmock",
         "libjsoncpp",
         "libprotobuf-cpp-lite",
     ],
@@ -212,6 +213,7 @@
         "android.hardware.automotive.vehicle@2.0-default-impl-lib",
         "android.hardware.automotive.vehicle@2.0-libproto-native",
     ],
+    data: [":vhal_test_json"],
     test_suites: ["general-tests"],
 }
 
@@ -233,7 +235,7 @@
     static_libs: [
         "android.hardware.automotive.vehicle@2.0-manager-lib",
         "android.hardware.automotive.vehicle@2.0-libproto-native",
-        "//device/generic/car/emulator/vhal_v2_0:android.hardware.automotive.vehicle@2.0-emulator-impl-lib",
+        "android.hardware.automotive.vehicle@2.0-emulator-impl-lib",
     ],
 }