-
Notifications
You must be signed in to change notification settings - Fork 7
/
meson_ffmpegcodec2.mk
57 lines (46 loc) · 1.73 KB
/
meson_ffmpegcodec2.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
# SPDX-License-Identifier: Apache-2.0
#
# AOSPEXT project (https://github.com/GloDroid/aospext)
#
# Copyright (C) 2021 GlobalLogic Ukraine
# Copyright (C) 2021-2022 Roman Stratiienko ([email protected])
ifneq ($(filter true, $(BOARD_BUILD_AOSPEXT_FFMPEGCODEC2)),)
LOCAL_PATH := $(call my-dir)
include $(LOCAL_PATH)/aospext_cleanup.mk
AOSPEXT_PROJECT_NAME := FFMPEGCODEC2
AOSPEXT_BUILD_SYSTEM := meson
LOCAL_SHARED_LIBRARIES := \
libavcodec \
libavutil \
libavformat \
libavservices_minijail \
libbase \
libbinder \
libcodec2_soft_common \
libcodec2_vndk \
libhidlbase \
liblog \
libstagefright_foundation \
libswresample \
libswscale \
libutils \
libcutils \
AOSPEXT_GEN_PKGCONFIGS := cutils drm hardware hidlbase log sync ui utils
MESON_BUILD_ARGUMENTS := \
# Format: TYPE:REL_PATH_TO_INSTALL_ARTIFACT:VENDOR_SUBDIR:MODULE_NAME:SYMLINK_SUFFIX
# TYPE one of: lib, bin, etc
AOSPEXT_GEN_TARGETS := \
bin:hw/[email protected]:hw:[email protected]: \
etc:init/[email protected]:init:[email protected]: \
etc:vintf/manifest/[email protected]:vintf/manifest:[email protected]: \
etc:media_codecs_ffmpeg_c2.xml::media_codecs_ffmpeg_c2.xml: \
$(BOARD_FFMPEGCODEC2_EXTRA_TARGETS)
# HWC3
# Build first ARCH only
LOCAL_MULTILIB := first
include $(LOCAL_PATH)/aospext_cross_compile.mk
include $(LOCAL_PATH)/aospext_gen_targets.mk
#-------------------------------------------------------------------------------
endif # BOARD_BUILD_AOSPEXT_FFMPEGCODEC2