Use only present proprietary files
some apk doesnt exists anymore, and HTC stuff must not be present here Also dont ignore LatinIME required to have a least one keyboard Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com> Change-Id: I8c5852c6038d3baec65d8f6af7caae5372770679
This commit is contained in:
parent
f5b7f2c205
commit
1568978eca
@ -1,5 +1,5 @@
|
|||||||
# We need a way to prevent the stuff Google Apps replaces from being included in the build.
|
# We need a way to prevent the stuff Google Apps replaces from being included in the build.
|
||||||
# This is a hacky way to do that.
|
# This is a hacky way to do that.
|
||||||
ifdef CYANOGEN_WITH_GOOGLE
|
ifdef CYANOGEN_WITH_GOOGLE
|
||||||
PACKAGES.Email.OVERRIDES := Provision LatinIME QuickSearchBox
|
PACKAGES.Email.OVERRIDES := Provision QuickSearchBox
|
||||||
endif
|
endif
|
||||||
|
@ -97,47 +97,33 @@ PRODUCT_COPY_FILES += \
|
|||||||
#ADDITIONAL_DEFAULT_PROPERTIES += ro.secure=0
|
#ADDITIONAL_DEFAULT_PROPERTIES += ro.secure=0
|
||||||
|
|
||||||
ifdef CYANOGEN_WITH_GOOGLE
|
ifdef CYANOGEN_WITH_GOOGLE
|
||||||
PRODUCT_COPY_FILES += \
|
|
||||||
vendor/cyanogen/proprietary/CarHomeGoogle.apk:./system/app/CarHomeGoogle.apk \
|
# use all present proprietary apk
|
||||||
vendor/cyanogen/proprietary/CarHomeLauncher.apk:./system/app/CarHomeLauncher.apk \
|
PRODUCT_COPY_FILES += $(shell test -f vendor/cyanogen/proprietary/*.apk && \
|
||||||
vendor/cyanogen/proprietary/Facebook.apk:./system/app/Facebook.apk \
|
find vendor/cyanogen/proprietary -name '*.apk' \
|
||||||
vendor/cyanogen/proprietary/GenieWidget.apk:./system/app/GenieWidget.apk \
|
-printf '%p:system/app/%f ')
|
||||||
vendor/cyanogen/proprietary/Gmail.apk:./system/app/Gmail.apk \
|
|
||||||
vendor/cyanogen/proprietary/GoogleBackupTransport.apk:./system/app/GoogleBackupTransport.apk \
|
# use all present proprietary lib
|
||||||
vendor/cyanogen/proprietary/GoogleCalendarSyncAdapter.apk:./system/app/GoogleCalendarSyncAdapter.apk \
|
PRODUCT_COPY_FILES += $(shell test -f vendor/cyanogen/proprietary/*.lib && \
|
||||||
vendor/cyanogen/proprietary/GoogleContactsSyncAdapter.apk:./system/app/GoogleContactsSyncAdapter.apk \
|
find vendor/cyanogen/proprietary -name '*.so' \
|
||||||
vendor/cyanogen/proprietary/GoogleFeedback.apk:./system/app/GoogleFeedback.apk \
|
-printf '%p:system/lib/%f ')
|
||||||
vendor/cyanogen/proprietary/GooglePartnerSetup.apk:./system/app/GooglePartnerSetup.apk \
|
|
||||||
vendor/cyanogen/proprietary/GoogleQuickSearchBox.apk:./system/app/GoogleQuickSearchBox.apk \
|
# use all present proprietary jar
|
||||||
vendor/cyanogen/proprietary/GoogleServicesFramework.apk:./system/app/GoogleServicesFramework.apk \
|
PRODUCT_COPY_FILES += $(shell test -f vendor/cyanogen/proprietary/*.jar && \
|
||||||
vendor/cyanogen/proprietary/HtcCopyright.apk:./system/app/HtcCopyright.apk \
|
find vendor/cyanogen/proprietary -name '*.jar' \
|
||||||
vendor/cyanogen/proprietary/HtcEmailPolicy.apk:./system/app/HtcEmailPolicy.apk \
|
-printf '%p:system/framework/%f ')
|
||||||
vendor/cyanogen/proprietary/HtcSettings.apk:./system/app/HtcSettings.apk \
|
|
||||||
vendor/cyanogen/proprietary/LatinImeTutorial.apk:./system/app/LatinImeTutorial.apk \
|
# use all present proprietary xml (permissions)
|
||||||
vendor/cyanogen/proprietary/Maps.apk:./system/app/Maps.apk \
|
PRODUCT_COPY_FILES += $(shell test -f vendor/cyanogen/proprietary/*.xml && \
|
||||||
vendor/cyanogen/proprietary/MarketUpdater.apk:./system/app/MarketUpdater.apk \
|
find vendor/cyanogen/proprietary -name '*.xml' \
|
||||||
vendor/cyanogen/proprietary/MediaUploader.apk:./system/app/MediaUploader.apk \
|
-printf '%p:system/etc/permissions/%f ')
|
||||||
vendor/cyanogen/proprietary/NetworkLocation.apk:./system/app/NetworkLocation.apk \
|
|
||||||
vendor/cyanogen/proprietary/OneTimeInitializer.apk:./system/app/OneTimeInitializer.apk \
|
|
||||||
vendor/cyanogen/proprietary/PassionQuickOffice.apk:./system/app/PassionQuickOffice.apk \
|
|
||||||
vendor/cyanogen/proprietary/SetupWizard.apk:./system/app/SetupWizard.apk \
|
|
||||||
vendor/cyanogen/proprietary/Street.apk:./system/app/Street.apk \
|
|
||||||
vendor/cyanogen/proprietary/Talk.apk:./system/app/Talk.apk \
|
|
||||||
vendor/cyanogen/proprietary/Twitter.apk:./system/app/Twitter.apk \
|
|
||||||
vendor/cyanogen/proprietary/Vending.apk:./system/app/Vending.apk \
|
|
||||||
vendor/cyanogen/proprietary/VoiceSearch.apk:./system/app/VoiceSearch.apk \
|
|
||||||
vendor/cyanogen/proprietary/YouTube.apk:./system/app/YouTube.apk \
|
|
||||||
vendor/cyanogen/proprietary/googlevoice.apk:./system/app/googlevoice.apk \
|
|
||||||
vendor/cyanogen/proprietary/kickback.apk:./system/app/kickback.apk \
|
|
||||||
vendor/cyanogen/proprietary/soundback.apk:./system/app/soundback.apk \
|
|
||||||
vendor/cyanogen/proprietary/talkback.apk:./system/app/talkback.apk \
|
|
||||||
vendor/cyanogen/proprietary/com.google.android.maps.xml:./system/etc/permissions/com.google.android.maps.xml \
|
|
||||||
vendor/cyanogen/proprietary/features.xml:./system/etc/permissions/features.xml \
|
|
||||||
vendor/cyanogen/proprietary/com.google.android.maps.jar:./system/framework/com.google.android.maps.jar \
|
|
||||||
vendor/cyanogen/proprietary/libspeech.so:./system/lib/libspeech.so
|
|
||||||
else
|
else
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
Provision \
|
Provision \
|
||||||
GoogleSearch \
|
GoogleSearch
|
||||||
LatinIME
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Required, keyboard
|
||||||
|
PRODUCT_PACKAGES += LatinIME
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user