-
Notifications
You must be signed in to change notification settings - Fork 4
/
google-minimal.mk
executable file
·100 lines (87 loc) · 5.33 KB
/
google-minimal.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Live Wallpapers
PRODUCT_PACKAGES += \
LiveWallpapersPicker
# Filesystem management tools
PRODUCT_PACKAGES += \
make_ext4fs \
setup_fs
PRODUCT_PACKAGE_OVERLAYS += vendor/cm/overlay/dictionaries
ifeq ($(TARGET_ARCH_VARIANT),armv7-a-neon)
# Google Libraries
PRODUCT_COPY_FILES += \
vendor/twisted/google/lib/neon/libflint_engine_jni_api.so:system/lib/libflint_engine_jni_api.so \
vendor/twisted/google/lib/neon/libfrsdk.so:system/lib/libfrsdk.so \
vendor/twisted/google/lib/neon/libgcomm_jni.so:system/lib/libgcomm_jni.so \
vendor/twisted/google/lib/neon/libgoogle_recognizer_jni.so:system/lib/libgoogle_recognizer_jni.so \
vendor/twisted/google/lib/neon/libpatts_engine_jni_api.so:system/lib/libpatts_engine_jni_api.so \
vendor/twisted/google/lib/neon/libpicowrapper.so:system/lib/libpicowrapper.so \
vendor/twisted/google/lib/neon/libspeexwrapper.so:system/lib/libspeexwrapper.so \
vendor/twisted/google/lib/neon/libvideochat_jni.so:system/lib/libvideochat_jni.so \
vendor/twisted/google/lib/neon/libvideochat_stabilize.so:system/lib/libvideochat_stabilize.so \
vendor/twisted/google/lib/neon/libvoicesearch.so:system/lib/libvoicesearch.so
else
# Google Libraries
PRODUCT_COPY_FILES += \
vendor/twisted/google/lib/base/libflint_engine_jni_api.so:system/lib/libflint_engine_jni_api.so \
vendor/twisted/google/lib/base/libfrsdk.so:system/lib/libfrsdk.so \
vendor/twisted/google/lib/base/libgcomm_jni.so:system/lib/libgcomm_jni.so \
vendor/twisted/google/lib/base/libgoogle_recognizer_jni.so:system/lib/libgoogle_recognizer_jni.so \
vendor/twisted/google/lib/base/libpatts_engine_jni_api.so:system/lib/libpatts_engine_jni_api.so \
vendor/twisted/google/lib/base/libpicowrapper.so:system/lib/libpicowrapper.so \
vendor/twisted/google/lib/base/libspeexwrapper.so:system/lib/libspeexwrapper.so \
vendor/twisted/google/lib/base/libvideochat_jni.so:system/lib/libvideochat_jni.so \
vendor/twisted/google/lib/base/libvideochat_stabilize.so:system/lib/libvideochat_stabilize.so \
vendor/twisted/google/lib/base/libvoicesearch.so:system/lib/libvoicesearch.so
endif
# Google Applications
PRODUCT_COPY_FILES += \
vendor/twisted/google/app/ChromeBookmarksSyncAdapter.apk:system/app/ChromeBookmarksSyncAdapter.apk \
vendor/twisted/google/app/GalleryGoogle.apk:system/app/GalleryGoogle.apk \
vendor/twisted/google/app/GoogleBackupTransport.apk:system/app/GoogleBackupTransport.apk \
vendor/twisted/google/app/GoogleCalendarSyncAdapter.apk:system/app/GoogleCalendarSyncAdapter.apk \
vendor/twisted/google/app/GoogleContactsSyncAdapter.apk:system/app/GoogleContactsSyncAdapter.apk \
vendor/twisted/google/app/GoogleFeedback.apk:system/app/GoogleFeedback.apk \
vendor/twisted/google/app/GoogleLoginService.apk:system/app/GoogleLoginService.apk \
vendor/twisted/google/app/GooglePartnerSetup.apk:system/app/GooglePartnerSetup.apk \
vendor/twisted/google/app/GoogleServicesFramework.apk:system/app/GoogleServicesFramework.apk \
vendor/twisted/google/app/MarketUpdater.apk:system/app/MarketUpdater.apk \
vendor/twisted/google/app/MediaUploader.apk:system/app/MediaUploader.apk \
vendor/twisted/google/app/NetworkLocation.apk:system/app/NetworkLocation.apk \
vendor/twisted/google/app/OneTimeInitializer.apk:system/app/OneTimeInitializer.apk \
vendor/twisted/google/app/SetupWizard.apk:system/app/SetupWizard.apk \
vendor/twisted/google/app/Talk.apk:system/app/Talk.apk \
vendor/twisted/google/app/Vending.apk:system/app/Vending.apk
# Google Permissions
PRODUCT_COPY_FILES += \
vendor/twisted/google/etc/permissions/com.google.android.maps.xml:system/etc/permissions/com.google.android.maps.xml \
vendor/twisted/google/etc/permissions/com.google.android.media.effects.xml:system/etc/permissions/com.google.android.media.effects.xml \
vendor/twisted/google/etc/permissions/com.google.widevine.software.drm.xml:system/etc/permissions/com.google.widevine.software.drm.xml \
vendor/twisted/google/etc/permissions/features.xml:system/etc/permissions/features.xml
# Google Frameworks
PRODUCT_COPY_FILES += \
vendor/twisted/google/framework/com.google.android.maps.jar:system/framework/com.google.android.maps.jar \
vendor/twisted/google/framework/com.google.android.media.effects.jar:system/framework/com.google.android.media.effects.jar \
vendor/twisted/google/framework/com.google.widevine.software.drm.jar:system/framework/com.google.widevine.software.drm.jar
# Google TTS
PRODUCT_COPY_FILES += $(shell \
find vendor/twisted/google/tts/lang_pico -name '*.bin' \
| sed -r 's/^\/?(.*\/)([^/ ]+)$$/\1\2:system\/tts\/lang_pico\/\2/' \
| tr '\n' ' ')
# Gapps Versioning
PRODUCT_PROPERTY_OVERRIDES += \
ro.addon.type=gapps \
ro.addon.platform=ICS \
ro.addon.version=gapps-ics-20120317