TvInputHal: AOSP refactor on TvInput Hal

Change access modifiers and qualify methods with virtual, to
allow extensions. Add facility for loading customizations
(Extended classes) dynamically.

Change-Id: I9f57792ca8617a4ad95a237f6fe77e38ba304dbd
diff --git a/services/Android.mk b/services/Android.mk
index 1918db5..ecbddaa 100644
--- a/services/Android.mk
+++ b/services/Android.mk
@@ -48,6 +48,11 @@
 # include all the jni subdirs to collect their sources
 include $(wildcard $(LOCAL_PATH)/*/jni/Android.mk)
 
+LOCAL_C_INCLUDES += \
+        $(TOP)/frameworks/base/services/libtvextensions \
+
+LOCAL_WHOLE_STATIC_LIBRARIES := libTvInputHalExtensions
+
 LOCAL_CFLAGS += -DEGL_EGLEXT_PROTOTYPES -DGL_GLEXT_PROTOTYPES
 
 LOCAL_MODULE:= libandroid_servers