Marco Nelissen | 0c3be87 | 2014-05-01 10:14:44 -0700 | [diff] [blame] | 1 | # |
Marco Nelissen | 83ae5be | 2014-05-05 14:48:34 -0700 | [diff] [blame] | 2 | # Copyright (C) 2014 The Android Open Source Project |
Marco Nelissen | 0c3be87 | 2014-05-01 10:14:44 -0700 | [diff] [blame] | 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 | LOCAL_PATH:= $(call my-dir) |
| 18 | |
Marco Nelissen | 83ae5be | 2014-05-05 14:48:34 -0700 | [diff] [blame] | 19 | ifneq ($(TARGET_BUILD_PDK), true) |
| 20 | |
Marco Nelissen | 0c3be87 | 2014-05-01 10:14:44 -0700 | [diff] [blame] | 21 | include $(CLEAR_VARS) |
| 22 | |
| 23 | LOCAL_SRC_FILES:= \ |
| 24 | NdkMediaCodec.cpp \ |
Marco Nelissen | 050eb32 | 2014-05-09 15:10:23 -0700 | [diff] [blame] | 25 | NdkMediaCrypto.cpp \ |
Marco Nelissen | 0c3be87 | 2014-05-01 10:14:44 -0700 | [diff] [blame] | 26 | NdkMediaExtractor.cpp \ |
| 27 | NdkMediaFormat.cpp \ |
Marco Nelissen | 08aaabe | 2014-05-06 16:08:19 -0700 | [diff] [blame] | 28 | NdkMediaMuxer.cpp \ |
Jeff Tinker | 497ca09 | 2014-05-13 09:31:15 -0700 | [diff] [blame] | 29 | NdkMediaDrm.cpp \ |
Yin-Chia Yeh | c360382 | 2016-01-18 22:11:19 -0800 | [diff] [blame] | 30 | NdkImage.cpp \ |
| 31 | NdkImageReader.cpp \ |
Marco Nelissen | 0c3be87 | 2014-05-01 10:14:44 -0700 | [diff] [blame] | 32 | |
| 33 | LOCAL_MODULE:= libmediandk |
| 34 | |
| 35 | LOCAL_C_INCLUDES := \ |
| 36 | bionic/libc/private \ |
| 37 | frameworks/base/core/jni \ |
Yin-Chia Yeh | c360382 | 2016-01-18 22:11:19 -0800 | [diff] [blame] | 38 | frameworks/av/include/ndk \ |
| 39 | system/media/camera/include |
Marco Nelissen | 0c3be87 | 2014-05-01 10:14:44 -0700 | [diff] [blame] | 40 | |
Marco Nelissen | 3425fd5 | 2014-05-14 11:12:46 -0700 | [diff] [blame] | 41 | LOCAL_CFLAGS += -fvisibility=hidden -D EXPORT='__attribute__ ((visibility ("default")))' |
| 42 | |
Aurimas Liutikas | 214c833 | 2016-02-19 14:48:23 -0800 | [diff] [blame] | 43 | LOCAL_CFLAGS += -Werror |
| 44 | |
Marco Nelissen | 0c3be87 | 2014-05-01 10:14:44 -0700 | [diff] [blame] | 45 | LOCAL_SHARED_LIBRARIES := \ |
Marco Nelissen | 050eb32 | 2014-05-09 15:10:23 -0700 | [diff] [blame] | 46 | libbinder \ |
Marco Nelissen | 0c3be87 | 2014-05-01 10:14:44 -0700 | [diff] [blame] | 47 | libmedia \ |
Jeff Tinker | 3003807 | 2016-04-25 13:41:35 -0700 | [diff] [blame^] | 48 | libmediadrm \ |
Marco Nelissen | 0c3be87 | 2014-05-01 10:14:44 -0700 | [diff] [blame] | 49 | libstagefright \ |
| 50 | libstagefright_foundation \ |
| 51 | liblog \ |
| 52 | libutils \ |
Jeff Tinker | a69729d | 2016-02-12 08:47:00 -0800 | [diff] [blame] | 53 | libcutils \ |
Marco Nelissen | 0c3be87 | 2014-05-01 10:14:44 -0700 | [diff] [blame] | 54 | libandroid_runtime \ |
Jeff Tinker | 497ca09 | 2014-05-13 09:31:15 -0700 | [diff] [blame] | 55 | libbinder \ |
Yin-Chia Yeh | c360382 | 2016-01-18 22:11:19 -0800 | [diff] [blame] | 56 | libgui \ |
| 57 | libui \ |
Marco Nelissen | 0c3be87 | 2014-05-01 10:14:44 -0700 | [diff] [blame] | 58 | |
| 59 | include $(BUILD_SHARED_LIBRARY) |
Marco Nelissen | 83ae5be | 2014-05-05 14:48:34 -0700 | [diff] [blame] | 60 | |
| 61 | endif |