Move getService into libhidl.

This function is huge! By moving it out of auto-generated
code, we can do a couple of things:
- decrease the amount of space it takes (no longer not 'all'
  templated).
- make it easier to fix bugs like b/67425500

Bug: 67425500
Test: hidl_test, hidl_test_java

Change-Id: Ic8eb93d82e7bf8a6730d14109a36828bfe9d468a
diff --git a/transport/Android.bp b/transport/Android.bp
index 421c7a4..dbbbdaf 100644
--- a/transport/Android.bp
+++ b/transport/Android.bp
@@ -80,5 +80,8 @@
         debuggable: {
             cflags: ["-DLIBHIDL_TARGET_DEBUGGABLE"],
         },
+        treble: {
+            cflags: ["-DLIBHIDL_TARGET_TREBLE"]
+        },
     },
 }