Android.mk revision 83ae5be9a9928a7265e40d2906530e56eb3bc20c
1ec3ed6a5ebf6f2c406d7bcf94b6bc34fcaeb976eepoger@google.com#
28a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com# Copyright (C) 2014 The Android Open Source Project
3ec3ed6a5ebf6f2c406d7bcf94b6bc34fcaeb976eepoger@google.com#
48a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com# Licensed under the Apache License, Version 2.0 (the "License");
5ec3ed6a5ebf6f2c406d7bcf94b6bc34fcaeb976eepoger@google.com# you may not use this file except in compliance with the License.
6ec3ed6a5ebf6f2c406d7bcf94b6bc34fcaeb976eepoger@google.com# You may obtain a copy of the License at
78a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com#
88a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com#      http://www.apache.org/licenses/LICENSE-2.0
9ec3ed6a5ebf6f2c406d7bcf94b6bc34fcaeb976eepoger@google.com#
10e8ebeb1f8fde6525bbab988c6090a5d3ab19855bepoger@google.com# Unless required by applicable law or agreed to in writing, software
11e8ebeb1f8fde6525bbab988c6090a5d3ab19855bepoger@google.com# distributed under the License is distributed on an "AS IS" BASIS,
128a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
138a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com# See the License for the specific language governing permissions and
148a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com# limitations under the License.
158a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com#
168a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com
17867cbd8bc29371a360194aed648c4d43307b0639caryclark@google.comLOCAL_PATH:= $(call my-dir)
188a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com
198a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.comifneq ($(TARGET_BUILD_PDK), true)
208a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com
217af56bee17764a0c118c8856a035bb3d27766969humper@google.cominclude $(CLEAR_VARS)
227af56bee17764a0c118c8856a035bb3d27766969humper@google.com
238a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.comLOCAL_SRC_FILES:=                                       \
248a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com                  NdkMediaCodec.cpp                     \
258a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com                  NdkMediaExtractor.cpp                 \
268a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com                  NdkMediaFormat.cpp                    \
278a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com
288a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.comLOCAL_MODULE:= libmediandk
298a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com
30e8ebeb1f8fde6525bbab988c6090a5d3ab19855bepoger@google.comLOCAL_C_INCLUDES := \
31e8ebeb1f8fde6525bbab988c6090a5d3ab19855bepoger@google.com    bionic/libc/private \
32e8ebeb1f8fde6525bbab988c6090a5d3ab19855bepoger@google.com    frameworks/base/core/jni \
33e8ebeb1f8fde6525bbab988c6090a5d3ab19855bepoger@google.com    frameworks/av/include/ndk
34e8ebeb1f8fde6525bbab988c6090a5d3ab19855bepoger@google.com
35e8ebeb1f8fde6525bbab988c6090a5d3ab19855bepoger@google.comLOCAL_SHARED_LIBRARIES := \
368a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com    libmedia \
378a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com    libstagefright \
388a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com    libstagefright_foundation \
398a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com    liblog \
408a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com    libutils \
418a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com    libandroid_runtime \
428a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com
438a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.cominclude $(BUILD_SHARED_LIBRARY)
448a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.com
458a1c16ff38322f0210116fa7293eb8817c7e477ereed@android.comendif
4618a48c3c1c1aa183a1b1ab033be34329685199f6humper@google.com