gapps: Re-sign Google{Calender,Contacts}SyncAdapter.apk with platform keys

Change-Id: Iee279c3660d93f4177dfcd8fe306446e50767ecc
diff --git a/Android.mk b/Android.mk
index 58275ba..8ab7e6c 100644
--- a/Android.mk
+++ b/Android.mk
@@ -29,6 +29,7 @@
 LOCAL_MODULE_CLASS := APPS
 LOCAL_PRODUCT_MODULE := true
 LOCAL_PRIVILEGED_MODULE := true
+LOCAL_CERTIFICATE := platform
 include vendor/gapps/build/gms_module.mk
 
 include $(CLEAR_VARS)
@@ -36,6 +37,7 @@
 LOCAL_MODULE_CLASS := APPS
 LOCAL_PRODUCT_MODULE := true
 LOCAL_PRIVILEGED_MODULE := true
+LOCAL_CERTIFICATE := platform
 include vendor/gapps/build/gms_module.mk
 
 include $(CLEAR_VARS)
diff --git a/build/gms_module.mk b/build/gms_module.mk
index b98db9b..0355574 100644
--- a/build/gms_module.mk
+++ b/build/gms_module.mk
@@ -15,7 +15,9 @@
 #
 
 ifeq ($(LOCAL_MODULE_CLASS), APPS)
+ifeq (,$(LOCAL_CERTIFICATE))
 LOCAL_CERTIFICATE := PRESIGNED
+endif
 LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
 endif
 ifeq ($(LOCAL_MODULE_CLASS), JAVA_LIBRARIES)