Advertisement
Guest User

aosp_stripped.mk

a guest
Jul 24th, 2015
345
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 11.05 KB | None | 0 0
  1. # This file is an aggregation of all the files called from
  2. # $(SRC_TARGET_DIR)/product/full_base.mk, but with certain
  3. # unnecessary packages removed. Removed packages have been
  4. # removed from their package list and put in comment for
  5. # clarity.
  6. #
  7.  
  8. #$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
  9. #####################################
  10. # Start of $(SRC_TARGET_DIR)/product/full_base
  11. #####################################
  12.  
  13. PRODUCT_PACKAGES := \
  14.     libfwdlockengine \
  15.     libWnnEngDic \
  16.     libWnnJpnDic \
  17.     libwnndict \
  18.  
  19. #    OpenWnn
  20. #    PinyinIME
  21. #    VideoEditor
  22. #    WAPPushManager
  23.  
  24. PRODUCT_PACKAGES += \
  25.     Galaxy4 \
  26.     HoloSpiralWallpaper \
  27.     LiveWallpapers \
  28.     LiveWallpapersPicker \
  29.     MagicSmokeWallpapers \
  30.     NoiseField \
  31.     PhaseBeam \
  32.     VisualizationWallpapers \
  33.     PhotoTable
  34.  
  35. # Additional settings used in all AOSP builds
  36. PRODUCT_PROPERTY_OVERRIDES := \
  37.     ro.com.android.dateformat=MM-dd-yyyy \
  38.     ro.config.ringtone=Ring_Synth_04.ogg \
  39.     ro.config.notification_sound=pixiedust.ogg
  40.  
  41. # Put en_US first in the list, so make it default.
  42. PRODUCT_LOCALES := en_US
  43.  
  44. # Include drawables for all densities
  45. PRODUCT_AAPT_CONFIG := normal hdpi xhdpi xxhdpi
  46.  
  47. # Get some sounds
  48. $(call inherit-product-if-exists, frameworks/base/data/sounds/AllAudio.mk)
  49.  
  50. # Get the TTS language packs
  51. $(call inherit-product-if-exists, external/svox/pico/lang/all_pico_languages.mk)
  52.  
  53. # Get a list of languages.
  54. $(call inherit-product, $(SRC_TARGET_DIR)/product/locales_full.mk)
  55.  
  56. # Get everything else from the parent package
  57. #$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_no_telephony.mk)
  58. #####################################
  59. # Start of $(SRC_TARGET_DIR)/product/generic_no_telephony.mk
  60. #####################################
  61.  
  62. PRODUCT_POLICY := android.policy_phone
  63.  
  64. PRODUCT_PACKAGES := \
  65.     Bluetooth \
  66.     Camera2 \
  67.     CertInstaller \
  68.     FusedLocation \
  69.     InputDevices \
  70.     Keyguard \
  71.     OneTimeInitializer \
  72.     PrintSpooler \
  73.     Provision \
  74.     Settings \
  75.     SystemUI \
  76.     TeleService \
  77.     CalendarProvider \
  78.     bluetooth-health \
  79.     hostapd \
  80.     wpa_supplicant.conf \
  81.     WallpaperCropper \
  82.     LatinIME
  83.  
  84. #DeskClock
  85. #Calculator
  86. #Calendar
  87. #Email
  88. #Exchange2
  89. #Gallery2
  90. #Music
  91. #MusicFX
  92. #QuickSearchBox
  93. #Launcher2
  94.  
  95. PRODUCT_PACKAGES += \
  96.     audio \
  97.     clatd \
  98.     clatd.conf \
  99.     dhcpcd.conf \
  100.     network \
  101.     pand \
  102.     pppd \
  103.     sdptool \
  104.     wpa_supplicant
  105.  
  106. PRODUCT_PACKAGES += \
  107.     librs_jni \
  108.     libvideoeditor_jni \
  109.     libvideoeditor_core \
  110.     libvideoeditor_osal \
  111.     libvideoeditor_videofilters \
  112.     libvideoeditorplayer \
  113.  
  114. PRODUCT_PACKAGES += \
  115.     audio.primary.default \
  116.     audio_policy.default \
  117.     local_time.default \
  118.     power.default
  119.  
  120. PRODUCT_PACKAGES += \
  121.     local_time.default
  122.  
  123. PRODUCT_COPY_FILES := \
  124.         frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf
  125.  
  126. PRODUCT_PROPERTY_OVERRIDES += \
  127.     ro.carrier=unknown
  128.  
  129. $(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
  130. $(call inherit-product-if-exists, external/noto-fonts/fonts.mk)
  131. $(call inherit-product-if-exists, external/naver-fonts/fonts.mk)
  132. $(call inherit-product-if-exists, external/sil-fonts/fonts.mk)
  133. $(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk)
  134. $(call inherit-product-if-exists, frameworks/webview/chromium/chromium.mk)
  135.  
  136. #$(call inherit-product, $(SRC_TARGET_DIR)/product/core.mk)
  137. #####################################
  138. # Start of $(SRC_TARGET_DIR)/product/core.mk
  139. #####################################
  140.  
  141. PRODUCT_PACKAGES += \
  142.     DocumentsUI \
  143.     DownloadProviderUi \
  144.     ExternalStorageProvider \
  145.     KeyChain \
  146.     PacProcessor \
  147.     ProxyHandler \
  148.     SharedStorageBackup \
  149.  
  150. #BasicDreams
  151. #Browser
  152. #Contacts
  153. #PicoTts
  154. #VpnDialogs
  155.  
  156. #$(call inherit-product, $(SRC_TARGET_DIR)/product/core_base.mk)
  157. #####################################
  158. # Start of $(SRC_TARGET_DIR)/product/core_base.mk
  159. #####################################
  160.  
  161. PRODUCT_PROPERTY_OVERRIDES := \
  162.     ro.config.notification_sound=OnTheHunt.ogg \
  163.     ro.config.alarm_alert=Alarm_Classic.ogg
  164.  
  165. PRODUCT_PACKAGES += \
  166.     ContactsProvider \
  167.     DefaultContainerService \
  168.     TelephonyProvider \
  169.     UserDictionaryProvider \
  170.     atrace \
  171.     libandroidfw \
  172.     libaudiopreprocessing \
  173.     libaudioutils \
  174.     libbcc \
  175.     libfilterpack_imageproc \
  176.     libgabi++ \
  177.     libkeystore \
  178.     libmdnssd \
  179.     libnfc_ndef \
  180.     libportable \
  181.     libpowermanager \
  182.     libspeexresampler \
  183.     libstagefright_chromium_http \
  184.     libstagefright_soft_aacdec \
  185.     libstagefright_soft_aacenc \
  186.     libstagefright_soft_amrdec \
  187.     libstagefright_soft_amrnbenc \
  188.     libstagefright_soft_amrwbenc \
  189.     libstagefright_soft_flacenc \
  190.     libstagefright_soft_g711dec \
  191.     libstagefright_soft_gsmdec \
  192.     libstagefright_soft_h264dec \
  193.     libstagefright_soft_h264enc \
  194.     libstagefright_soft_mp3dec \
  195.     libstagefright_soft_mpeg4dec \
  196.     libstagefright_soft_mpeg4enc \
  197.     libstagefright_soft_rawdec \
  198.     libstagefright_soft_vorbisdec \
  199.     libstagefright_soft_vpxdec \
  200.     libstagefright_soft_vpxenc \
  201.     libvariablespeed \
  202.     libwebrtc_audio_preprocessing \
  203.     mdnsd \
  204.     mms-common \
  205.     requestsync \
  206.     screenrecord \
  207.     telephony-common \
  208.     voip-common
  209.  
  210. #Home
  211.  
  212. #$(call inherit-product, $(SRC_TARGET_DIR)/product/core_minimal.mk)
  213. #####################################
  214. # Start of $(SRC_TARGET_DIR)/product/core_minimal.mk
  215. #####################################
  216.  
  217. PRODUCT_BRAND := generic
  218. PRODUCT_DEVICE := generic
  219. PRODUCT_NAME := core
  220.  
  221. PRODUCT_PACKAGES += \
  222.     BackupRestoreConfirmation \
  223.     DownloadProvider \
  224.     MediaProvider \
  225.     PackageInstaller \
  226.     SettingsProvider \
  227.     Shell \
  228.     bu \
  229.     com.android.location.provider \
  230.     com.android.location.provider.xml \
  231.     com.android.media.remotedisplay \
  232.     com.android.media.remotedisplay.xml \
  233.     drmserver \
  234.     framework-res \
  235.     installd \
  236.     ip \
  237.     ip-up-vpn \
  238.     ip6tables \
  239.     iptables \
  240.     keystore \
  241.     keystore.default \
  242.     libOpenMAXAL \
  243.     libOpenSLES \
  244.     libdownmix \
  245.     libdrmframework \
  246.     libdrmframework_jni \
  247.     libfilterfw \
  248.     libsqlite_jni \
  249.     libwilhelm \
  250.     make_ext4fs \
  251.     screencap \
  252.     sensorservice \
  253.     uiautomator
  254.  
  255. #HTMLViewer
  256.  
  257. PRODUCT_BOOT_JARS := core:conscrypt:okhttp:core-junit:bouncycastle:ext:framework:framework2:android.policy:services:apache-xml:webviewchromium
  258.  
  259. PRODUCT_RUNTIMES := runtime_libdvm_default
  260. PRODUCT_RUNTIMES += runtime_libart
  261.  
  262. #$(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk)
  263. #####################################
  264. # Start of $(SRC_TARGET_DIR)/product/base.mk
  265. #####################################
  266.  
  267. # Base modules (will move elsewhere, previously user tagged)
  268. PRODUCT_PACKAGES += \
  269.     20-dns.conf \
  270.     95-configured \
  271.     am \
  272.     android.policy \
  273.     android.test.runner \
  274.     app_process \
  275.     applypatch \
  276.     blkid \
  277.     bmgr \
  278.     bugreport \
  279.     content \
  280.     dhcpcd \
  281.     dhcpcd-run-hooks \
  282.     dnsmasq \
  283.     framework \
  284.     fsck_msdos \
  285.     ime \
  286.     javax.obex \
  287.     libSR_AudioIn \
  288.     libandroid \
  289.     libandroid_runtime \
  290.     libandroid_servers \
  291.     libaudioeffect_jni \
  292.     libaudioflinger \
  293.     libbundlewrapper \
  294.     libcamera_client \
  295.     libcameraservice \
  296.     libdl \
  297.     libeffectproxy \
  298.     libeffects \
  299.     libinput \
  300.     libiprouteutil \
  301.     libjni_latinime \
  302.     libjnigraphics \
  303.     libldnhncr \
  304.     libmedia \
  305.     libmedia_jni \
  306.     libmediaplayerservice \
  307.     libmtp \
  308.     libnetlink \
  309.     libnetutils \
  310.     libpac \
  311.     libreference-ril \
  312.     libreverbwrapper \
  313.     libril \
  314.     librtp_jni \
  315.     libsensorservice \
  316.     libskia \
  317.     libsonivox \
  318.     libsoundpool \
  319.     libsqlite \
  320.     libstagefright \
  321.     libstagefright_amrnb_common \
  322.     libstagefright_avc_common \
  323.     libstagefright_enc_common \
  324.     libstagefright_foundation \
  325.     libstagefright_omx \
  326.     libstagefright_yuv \
  327.     libusbhost \
  328.     libutils \
  329.     libvisualizer \
  330.     libvorbisidec \
  331.     libwpa_client \
  332.     media \
  333.     media_cmd \
  334.     mediaserver \
  335.     monkey \
  336.     mtpd \
  337.     ndc \
  338.     netcfg \
  339.     netd \
  340.     ping \
  341.     ping6 \
  342.     platform.xml \
  343.     pppd \
  344.     pm \
  345.     racoon \
  346.     run-as \
  347.     schedtest \
  348.     screenshot \
  349.     sdcard \
  350.     services \
  351.     settings \
  352.     svc \
  353.     tc \
  354.     vdc \
  355.     vold \
  356.     webview \
  357.     wm
  358.  
  359.  
  360. #$(call inherit-product, $(SRC_TARGET_DIR)/product/embedded.mk)
  361. #####################################
  362. # Start of $(SRC_TARGET_DIR)/product/embedded.mk
  363. #####################################
  364.  
  365. PRODUCT_PACKAGES += \
  366.     adb \
  367.     adbd \
  368.     bootanimation \
  369.     debuggerd \
  370.     dumpstate \
  371.     dumpsys \
  372.     gralloc.default \
  373.     gzip \
  374.     healthd \
  375.     init \
  376.     init.environ.rc \
  377.     init.rc \
  378.     input \
  379.     libEGL \
  380.     libETC1 \
  381.     libFFTEm \
  382.     libGLES_android \
  383.     libGLESv1_CM \
  384.     libGLESv2 \
  385.     libbinder \
  386.     libc \
  387.     libctest \
  388.     libcutils \
  389.     libdl \
  390.     libgui \
  391.     libhardware \
  392.     libhardware_legacy \
  393.     libjpeg \
  394.     liblog \
  395.     libm \
  396.     libpixelflinger \
  397.     libpower \
  398.     libstdc++ \
  399.     libstlport \
  400.     libsurfaceflinger \
  401.     libsurfaceflinger_ddmconnection \
  402.     libsysutils \
  403.     libthread_db \
  404.     libui \
  405.     libutils \
  406.     linker \
  407.     logcat \
  408.     logwrapper \
  409.     reboot \
  410.     service \
  411.     servicemanager \
  412.     surfaceflinger \
  413.     toolbox
  414.  
  415. # SELinux packages
  416. PRODUCT_PACKAGES += \
  417.     sepolicy \
  418.     file_contexts \
  419.     seapp_contexts \
  420.     property_contexts \
  421.     mac_permissions.xml
  422.  
  423.  
  424. PRODUCT_COPY_FILES += \
  425.     system/core/rootdir/init.usb.rc:root/init.usb.rc \
  426.     system/core/rootdir/init.trace.rc:root/init.trace.rc \
  427.     system/core/rootdir/ueventd.rc:root/ueventd.rc \
  428.     system/core/rootdir/etc/hosts:system/etc/hosts
  429.  
  430. #####################################
  431. # End of $(SRC_TARGET_DIR)/product/embedded.mk
  432. #####################################
  433.  
  434. #####################################
  435. # End of $(SRC_TARGET_DIR)/product/base.mk
  436. #####################################
  437.  
  438. #####################################
  439. # End of $(SRC_TARGET_DIR)/product/core_minimal.mk
  440. #####################################
  441.  
  442. # Override the PRODUCT_BOOT_JARS set in core_minimal.mk
  443. PRODUCT_BOOT_JARS := core:conscrypt:okhttp:core-junit:bouncycastle:ext:framework:framework2:telephony-common:voip-common:mms-common:android.policy:services:apache-xml:webviewchromium
  444.  
  445. #####################################
  446. # End of $(SRC_TARGET_DIR)/product/core_base.mk
  447. #####################################
  448.  
  449. #####################################
  450. # End of $(SRC_TARGET_DIR)/product/core.mk
  451. #####################################
  452.  
  453. # Overrides
  454. PRODUCT_BRAND := generic
  455. PRODUCT_DEVICE := generic
  456. PRODUCT_NAME := generic_no_telephony
  457.  
  458. #####################################
  459. # End of $(SRC_TARGET_DIR)/product/generic_no_telephony.mk
  460. #####################################
  461.  
  462. #####################################
  463. # End of $(SRC_TARGET_DIR)/product/full_base.mk
  464. #####################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement