platform: msm_shared: Compile partial goods feature

Compile partial goods implementaion based on the compile
time flag.

Change-Id: I53c136a82d20900bdd3bb62b1631080bdfedaaac
diff --git a/platform/msm_shared/rules.mk b/platform/msm_shared/rules.mk
index c22c8e9..834e883 100755
--- a/platform/msm_shared/rules.mk
+++ b/platform/msm_shared/rules.mk
@@ -529,3 +529,7 @@
 		$(LOCAL_DIR)/usb30_udc.o \
 		$(LOCAL_DIR)/usb30_wrapper.o
 endif
+
+ifeq ($(ENABLE_PARTIAL_GOODS_SUPPORT), 1)
+	OBJS += $(LOCAL_DIR)/partial_goods.o
+endif