例如,需要在源码下,内置第三方桌面,而不使用自带的桌面:
config/common.mk
proprietary/google_pinyin_2.1.0.apk
proprietary/lib/armeabi/libjni_googlepinyinime_5.so
proprietary/lib/armeabi/libjni_googlepinyinime_latinime_5.so
config/common.mk
... ... @@ -98,9 +98,6 @@
98 98 PRODUCT_COPY_FILES += \
99 99 vendor/cm/prebuilt/common/bin/modelid_cfg.sh:system/bin/modelid_cfg.sh
100 100
101 -PRODUCT_COPY_FILES += \
102 - vendor/cm/proprietary/lib/armeabi/libjackpal-androidterm4.so:system/lib/libjackpal-androidterm4.so
103 -
104 101 # Bring in camera effects
105 102 PRODUCT_COPY_FILES += \
106 103 vendor/cm/prebuilt/common/media/LMprec_508.emd:system/media/LMprec_508.emd \
... ... @@ -171,6 +168,12 @@
171 168 # rsync
172 169 PRODUCT_PACKAGES += \
173 170 rsync
171 +
172 +# Google Pinyin 2.1.0
173 +PRODUCT_COPY_FILES += \
174 + vendor/cm/proprietary/google_pinyin_2.1.0.apk:system/app/google_pinyin_2.1.0.apk \
175 + vendor/cm/proprietary/lib/armeabi/libjni_googlepinyinime_5.so:system/lib/libjni_googlepinyinime_5.so \
176 + vendor/cm/proprietary/lib/armeabi/libjni_googlepinyinime_latinime_5.so:system/lib/libjni_googlepinyinime_latinime_5.so
174 177
175 178 PRODUCT_PACKAGE_OVERLAYS += vendor/cm/overlay/dictionaries
176 179 PRODUCT_PACKAGE_OVERLAYS += vendor/cm/overlay/common
# Custom CM packages
PRODUCT_PACKAGES += \
Trebuchet \
DSPManager \
libcyanogen-dsp \
audio_effects.conf \
CMWallpapers \
Apollo \
CMFileManager
把Trebuchet干掉。
vendor/cm/common.mk