github.com/westcoastroms/westcoastroms-build@v0.0.0-20190928114312-2350e5a73030/build/make/target/product/sdk_base.mk (about)

     1  #
     2  # Copyright (C) 2007 The Android Open Source Project
     3  #
     4  # Licensed under the Apache License, Version 2.0 (the "License");
     5  # you may not use this file except in compliance with the License.
     6  # You may obtain a copy of the License at
     7  #
     8  #      http://www.apache.org/licenses/LICENSE-2.0
     9  #
    10  # Unless required by applicable law or agreed to in writing, software
    11  # distributed under the License is distributed on an "AS IS" BASIS,
    12  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13  # See the License for the specific language governing permissions and
    14  # limitations under the License.
    15  #
    16  
    17  PRODUCT_PROPERTY_OVERRIDES :=
    18  
    19  PRODUCT_PACKAGES := \
    20  	CellBroadcastReceiver \
    21  	CubeLiveWallpapers \
    22  	CustomLocale \
    23  	Development \
    24  	Dialer \
    25  	Gallery2 \
    26  	Launcher3QuickStep \
    27  	Camera2 \
    28  	librs_jni \
    29  	LiveWallpapersPicker \
    30  	Mms \
    31  	Music \
    32  	Protips \
    33  	rild \
    34  	screenrecord \
    35  	SdkSetup \
    36  	SoftKeyboard \
    37  	sqlite3 \
    38  	SystemUI \
    39  	SysuiDarkThemeOverlay \
    40  	EasterEgg \
    41  	WallpaperPicker \
    42  	WidgetPreview \
    43  
    44  # Define the host tools and libs that are parts of the SDK.
    45  -include sdk/build/product_sdk.mk
    46  -include development/build/product_sdk.mk
    47  
    48  # audio libraries.
    49  PRODUCT_PACKAGES += \
    50  	audio.primary.goldfish \
    51  	audio.r_submix.default \
    52  	local_time.default
    53  
    54  # CDD mandates following codecs
    55  PRODUCT_PACKAGES += \
    56      libstagefright_soft_aacdec \
    57      libstagefright_soft_aacenc \
    58      libstagefright_soft_amrdec \
    59      libstagefright_soft_amrnbenc \
    60      libstagefright_soft_amrwbenc \
    61      libstagefright_soft_avcdec \
    62      libstagefright_soft_avcenc \
    63      libstagefright_soft_flacenc \
    64      libstagefright_soft_g711dec \
    65      libstagefright_soft_gsmdec \
    66      libstagefright_soft_hevcdec \
    67      libstagefright_soft_mp3dec \
    68      libstagefright_soft_mpeg2dec \
    69      libstagefright_soft_mpeg4dec \
    70      libstagefright_soft_mpeg4enc \
    71      libstagefright_soft_opusdec \
    72      libstagefright_soft_rawdec \
    73      libstagefright_soft_vorbisdec \
    74      libstagefright_soft_vpxdec \
    75      libstagefright_soft_vpxenc
    76  
    77  PRODUCT_PACKAGE_OVERLAYS := development/sdk_overlay
    78  
    79  PRODUCT_COPY_FILES := \
    80  	device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml \
    81  	device/sample/etc/old-apns-conf.xml:system/etc/old-apns-conf.xml \
    82  	frameworks/base/data/sounds/effects/camera_click.ogg:system/media/audio/ui/camera_click.ogg \
    83  	frameworks/base/data/sounds/effects/VideoRecord.ogg:system/media/audio/ui/VideoRecord.ogg \
    84  	frameworks/base/data/sounds/effects/VideoStop.ogg:system/media/audio/ui/VideoStop.ogg \
    85  	device/generic/goldfish/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml \
    86  	device/generic/goldfish/camera/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \
    87  	frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
    88  	frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
    89  	device/generic/goldfish/camera/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \
    90  	device/generic/goldfish/camera/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
    91  	device/generic/goldfish/camera/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
    92  	frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
    93  	frameworks/native/data/etc/android.hardware.camera.autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.autofocus.xml \
    94  	frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
    95  	frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \
    96  	frameworks/native/data/etc/android.software.autofill.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.autofill.xml \
    97  	frameworks/av/media/libeffects/data/audio_effects.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.conf \
    98  	device/generic/goldfish/audio_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy.conf
    99  
   100  include $(SRC_TARGET_DIR)/product/emulator.mk
   101  
   102  $(call inherit-product-if-exists, frameworks/base/data/sounds/AllAudio.mk)
   103  $(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
   104  $(call inherit-product-if-exists, external/google-fonts/dancing-script/fonts.mk)
   105  $(call inherit-product-if-exists, external/google-fonts/carrois-gothic-sc/fonts.mk)
   106  $(call inherit-product-if-exists, external/google-fonts/coming-soon/fonts.mk)
   107  $(call inherit-product-if-exists, external/google-fonts/cutive-mono/fonts.mk)
   108  $(call inherit-product-if-exists, external/noto-fonts/fonts.mk)
   109  $(call inherit-product-if-exists, external/roboto-fonts/fonts.mk)
   110  $(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk)
   111  $(call inherit-product-if-exists, frameworks/webview/chromium/chromium.mk)
   112  $(call inherit-product, $(SRC_TARGET_DIR)/product/core.mk)
   113  
   114  # locale. en_US is both first and in alphabetical order to
   115  # ensure this is the default locale.
   116  PRODUCT_LOCALES := \
   117  	en_US \
   118  	ar_EG \
   119  	ar_IL \
   120  	bg_BG \
   121  	ca_ES \
   122  	cs_CZ \
   123  	da_DK \
   124  	de_AT \
   125  	de_CH \
   126  	de_DE \
   127  	de_LI \
   128  	el_GR \
   129  	en_AU \
   130  	en_CA \
   131  	en_GB \
   132  	en_IE \
   133  	en_IN \
   134  	en_NZ \
   135  	en_SG \
   136  	en_US \
   137  	en_ZA \
   138  	es_ES \
   139  	es_US \
   140  	fi_FI \
   141  	fr_BE \
   142  	fr_CA \
   143  	fr_CH \
   144  	fr_FR \
   145  	he_IL \
   146  	hi_IN \
   147  	hr_HR \
   148  	hu_HU \
   149  	id_ID \
   150  	it_CH \
   151  	it_IT \
   152  	ja_JP \
   153  	ko_KR \
   154  	lt_LT \
   155  	lv_LV \
   156  	nb_NO \
   157  	nl_BE \
   158  	nl_NL \
   159  	pl_PL \
   160  	pt_BR \
   161  	pt_PT \
   162  	ro_RO \
   163  	ru_RU \
   164  	sk_SK \
   165  	sl_SI \
   166  	sr_RS \
   167  	sv_SE \
   168  	th_TH \
   169  	tl_PH \
   170  	tr_TR \
   171  	uk_UA \
   172  	vi_VN \
   173  	zh_CN \
   174  	zh_TW