2 # Copyright (C) 2017 The Android-x86 Open Source Project
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
19 include external/$(AV_CODEC_LIB)/android/$(AV_CODEC_LIB).mk
21 # put the libraries to /vendor
22 LOCAL_PROPRIETARY_MODULE := true
25 $(LOCAL_PATH)/../include \
27 frameworks/native/include/media/openmax \
28 frameworks/av/include \
29 frameworks/av/media/libstagefright
31 LOCAL_SHARED_LIBRARIES := \
38 libstagefright_foundation
40 ifneq ($(filter arm arm64,$(TARGET_ARCH)),)
41 LOCAL_CFLAGS += -Wno-psabi
44 LOCAL_CFLAGS += -D__STDC_CONSTANT_MACROS=1 -D__STDINT_LIMITS=1
47 LOCAL_CFLAGS += -Wno-deprecated-declarations -Wno-unused-parameter
48 LOCAL_CLANG_CFLAGS += -Wno-unknown-attributes
50 LOCAL_MODULE_TAGS := optional