Dear group,
this is the next post about one of the problems I had to solve for my version of ICS.
Many people wonder how they can integrate the Google Apps, which are not part of the Open Source part of Android into their build. It is relatively easy:
1) get Google Apps. I used gapps-ics-4.0.3-20120113.zip and additionally pulled some updated .apk's from my ICS phone
2) extract all apk files to device/common/app
3) for completeness, I also added the xml files from /system/etc/permissions and the jar files from /system/framework in the abovementioned file to the build. I extracted these into a folder called "system" in my device tree and added the following snippet to my
devicename.mk:
====
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/system/etc/permissions/features.xml:system/etc/permissions/features.xml \
$(LOCAL_PATH)/system/etc/permissions/com.google.android.media.effects.xml:system/etc/permissions/com.google.android.media.effects.xml \
$(LOCAL_PATH)/system/etc/permissions/com.google.android.maps.xml:system/etc/permissions/com.google.android.maps.xml \
$(LOCAL_PATH)/system/framework/com.google.android.maps.jar:system/framework/com.google.android.maps.jar \
$(LOCAL_PATH)/system/framework/com.google.android.media.effects.jar:system/framework/com.google.android.media.effects.jar
====
4) the Calendar/CalendarProvider which are part of the AOSP do not work with a Google account. Thus, I removed them from the build. There are two options:
a) rename/delete the Android.mk files in packages/apps/Calendar/ and packages/providers/CalendarProvider/ or
b) remove Calendar and CalendarProvider from build/target/product/
generic_no_telephony.mk (not tested)
I also pulled the Google Docs and Google Plus apks from my phone, because they cannot be found on the market, but work fine. I think the GoogleLatinIME.apk can also be removed, because otherwise you have two software keyboards.
I hope that will help you to make more usable builds.
Stefan