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 \ |
Jiwen 'Steve' Cai | 2f1a473 | 2017-02-04 17:31:55 -0800 | [diff] [blame] | 37 | external/piex \ |
Marco Nelissen | 0c3be87 | 2014-05-01 10:14:44 -0700 | [diff] [blame] | 38 | frameworks/base/core/jni \ |
Jiwen 'Steve' Cai | 2f1a473 | 2017-02-04 17:31:55 -0800 | [diff] [blame] | 39 | frameworks/base/media/jni \ |
Yin-Chia Yeh | c360382 | 2016-01-18 22:11:19 -0800 | [diff] [blame] | 40 | frameworks/av/include/ndk \ |
Praveen Chavan | 1943158 | 2017-01-16 11:56:18 -0800 | [diff] [blame] | 41 | frameworks/native/include \ |
Praveen Chavan | 85a5363 | 2017-01-31 12:21:33 -0800 | [diff] [blame] | 42 | frameworks/native/include/media/openmax \ |
Jiwen 'Steve' Cai | 2f1a473 | 2017-02-04 17:31:55 -0800 | [diff] [blame] | 43 | system/media/camera/include \ |
| 44 | $(call include-path-for, libhardware)/hardware \ |
Marco Nelissen | 0c3be87 | 2014-05-01 10:14:44 -0700 | [diff] [blame] | 45 | |
Marco Nelissen | 3425fd5 | 2014-05-14 11:12:46 -0700 | [diff] [blame] | 46 | LOCAL_CFLAGS += -fvisibility=hidden -D EXPORT='__attribute__ ((visibility ("default")))' |
| 47 | |
Glenn Kasten | fcddb0b | 2016-07-08 17:19:25 -0700 | [diff] [blame] | 48 | LOCAL_CFLAGS += -Werror -Wall |
Aurimas Liutikas | 214c833 | 2016-02-19 14:48:23 -0800 | [diff] [blame] | 49 | |
Jiwen 'Steve' Cai | 755ca9b | 2017-03-31 16:59:50 -0700 | [diff] [blame^] | 50 | LOCAL_STATIC_LIBRARIES := \ |
| 51 | libgrallocusage \ |
| 52 | |
Marco Nelissen | 0c3be87 | 2014-05-01 10:14:44 -0700 | [diff] [blame] | 53 | LOCAL_SHARED_LIBRARIES := \ |
Marco Nelissen | 050eb32 | 2014-05-09 15:10:23 -0700 | [diff] [blame] | 54 | libbinder \ |
Marco Nelissen | 0c3be87 | 2014-05-01 10:14:44 -0700 | [diff] [blame] | 55 | libmedia \ |
Jiwen 'Steve' Cai | 2f1a473 | 2017-02-04 17:31:55 -0800 | [diff] [blame] | 56 | libmedia_jni \ |
Marco Nelissen | 75571e4 | 2016-11-07 16:34:52 -0800 | [diff] [blame] | 57 | libmediadrm \ |
Jiwen 'Steve' Cai | 2f1a473 | 2017-02-04 17:31:55 -0800 | [diff] [blame] | 58 | libskia \ |
Marco Nelissen | 0c3be87 | 2014-05-01 10:14:44 -0700 | [diff] [blame] | 59 | libstagefright \ |
| 60 | libstagefright_foundation \ |
| 61 | liblog \ |
| 62 | libutils \ |
Jeff Tinker | a69729d | 2016-02-12 08:47:00 -0800 | [diff] [blame] | 63 | libcutils \ |
Jiwen 'Steve' Cai | e168996 | 2017-02-20 16:59:05 -0800 | [diff] [blame] | 64 | libandroid \ |
Marco Nelissen | 0c3be87 | 2014-05-01 10:14:44 -0700 | [diff] [blame] | 65 | libandroid_runtime \ |
Jeff Tinker | 497ca09 | 2014-05-13 09:31:15 -0700 | [diff] [blame] | 66 | libbinder \ |
Yin-Chia Yeh | c360382 | 2016-01-18 22:11:19 -0800 | [diff] [blame] | 67 | libgui \ |
| 68 | libui \ |
Praveen Chavan | 1943158 | 2017-01-16 11:56:18 -0800 | [diff] [blame] | 69 | libandroid \ |
Marco Nelissen | 0c3be87 | 2014-05-01 10:14:44 -0700 | [diff] [blame] | 70 | |
| 71 | include $(BUILD_SHARED_LIBRARY) |
Marco Nelissen | 83ae5be | 2014-05-05 14:48:34 -0700 | [diff] [blame] | 72 | |
| 73 | endif |