xref: /aosp_15_r20/external/libaom/third_party/libwebm/Android.mk (revision 77c1e3ccc04c968bd2bc212e87364f250e820521)
1*77c1e3ccSAndroid Build Coastguard Worker# Ignore this file during non-NDK builds.
2*77c1e3ccSAndroid Build Coastguard Workerifdef NDK_ROOT
3*77c1e3ccSAndroid Build Coastguard WorkerLOCAL_PATH:= $(call my-dir)
4*77c1e3ccSAndroid Build Coastguard Worker
5*77c1e3ccSAndroid Build Coastguard Workerinclude $(CLEAR_VARS)
6*77c1e3ccSAndroid Build Coastguard WorkerLOCAL_MODULE:= libwebm
7*77c1e3ccSAndroid Build Coastguard WorkerLOCAL_CPPFLAGS:=-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
8*77c1e3ccSAndroid Build Coastguard WorkerLOCAL_CPPFLAGS+=-D__STDC_LIMIT_MACROS -std=c++11
9*77c1e3ccSAndroid Build Coastguard WorkerLOCAL_C_INCLUDES:= $(LOCAL_PATH)
10*77c1e3ccSAndroid Build Coastguard WorkerLOCAL_EXPORT_C_INCLUDES:= $(LOCAL_PATH)
11*77c1e3ccSAndroid Build Coastguard Worker
12*77c1e3ccSAndroid Build Coastguard WorkerLOCAL_SRC_FILES:= common/file_util.cc \
13*77c1e3ccSAndroid Build Coastguard Worker                  common/hdr_util.cc \
14*77c1e3ccSAndroid Build Coastguard Worker                  mkvparser/mkvparser.cc \
15*77c1e3ccSAndroid Build Coastguard Worker                  mkvparser/mkvreader.cc \
16*77c1e3ccSAndroid Build Coastguard Worker                  mkvmuxer/mkvmuxer.cc \
17*77c1e3ccSAndroid Build Coastguard Worker                  mkvmuxer/mkvmuxerutil.cc \
18*77c1e3ccSAndroid Build Coastguard Worker                  mkvmuxer/mkvwriter.cc
19*77c1e3ccSAndroid Build Coastguard WorkerLOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD
20*77c1e3ccSAndroid Build Coastguard WorkerLOCAL_LICENSE_CONDITIONS := notice
21*77c1e3ccSAndroid Build Coastguard WorkerLOCAL_NOTICE_FILE := $(LOCAL_PATH)/LICENSE.TXT $(LOCAL_PATH)/PATENTS.TXT
22*77c1e3ccSAndroid Build Coastguard Workerinclude $(BUILD_STATIC_LIBRARY)
23*77c1e3ccSAndroid Build Coastguard Workerendif  # NDK_ROOT
24