Android.mk revision bf3270869c4734e6b628d0a0dbd46015f622ea4a
1#
2# Copyright (C) 2011 NXP Software
3# Copyright (C) 2011 The Android Open Source Project
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9#      http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16#
17
18LOCAL_PATH:= $(call my-dir)
19
20#
21# lib3gpwriter
22#
23
24include $(CLEAR_VARS)
25
26LOCAL_MODULE:= libvideoeditor_3gpwriter
27
28LOCAL_SRC_FILES:=          \
29      M4MP4W_Interface.c \
30      M4MP4W_Utils.c \
31      M4MP4W_Writer.c
32
33LOCAL_MODULE_TAGS := optional
34
35LOCAL_SHARED_LIBRARIES := libcutils libutils
36
37LOCAL_STATIC_LIBRARIES := \
38    libvideoeditor_osal
39
40LOCAL_C_INCLUDES += \
41    $(TOP)/frameworks/media/libvideoeditor/osal/inc \
42    $(TOP)/frameworks/media/libvideoeditor/vss/3gpwriter/inc \
43    $(TOP)/frameworks/media/libvideoeditor/vss/common/inc
44
45ifeq ($(TARGET_SIMULATOR),true)
46else
47    LOCAL_SHARED_LIBRARIES += libdl
48endif
49
50# All of the shared libraries we link against.
51LOCAL_LDLIBS := \
52    -lpthread -ldl
53
54LOCAL_CFLAGS += -Wno-multichar \
55    -DDUPLICATE_STTS_IN_LAST_AU
56
57# Don't prelink this library.  For more efficient code, you may want
58# to add this library to the prelink map and set this to true.
59LOCAL_PRELINK_MODULE := false
60
61include $(BUILD_STATIC_LIBRARY)
62
63