41 lines
2.0 KiB
Makefile
41 lines
2.0 KiB
Makefile
|
# Copyright (C) 2020 Paranoid Android
|
||
|
#
|
||
|
# 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.
|
||
|
|
||
|
# Inherit configuration from the HAL.
|
||
|
$(call inherit-product-if-exists, hardware/qcom/media/product.mk)
|
||
|
|
||
|
# Media Codecs
|
||
|
PRODUCT_COPY_FILES += \
|
||
|
$(DEVICE_PATH)/media/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles.xml \
|
||
|
frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
|
||
|
frameworks/av/media/libstagefright/data/media_codecs_google_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2.xml \
|
||
|
frameworks/av/media/libstagefright/data/media_codecs_google_c2_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2_audio.xml \
|
||
|
frameworks/av/media/libstagefright/data/media_codecs_google_c2_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2_video.xml \
|
||
|
frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
|
||
|
frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \
|
||
|
frameworks/av/media/libstagefright/data/media_codecs_google_video_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video_le.xml
|
||
|
|
||
|
# Packages
|
||
|
PRODUCT_PACKAGES += \
|
||
|
libOmxAacEnc \
|
||
|
libOmxAmrEnc \
|
||
|
libOmxEvrcEnc \
|
||
|
libOmxG711Enc \
|
||
|
libOmxQcelp13Enc \
|
||
|
libgui_vendor \
|
||
|
libstagefright_softomx.vendor
|
||
|
|
||
|
# Get non-open-source specific aspects.
|
||
|
$(call inherit-product-if-exists, vendor/qcom/common/media/media-vendor.mk)
|