Android.mk revision 68e98a29992bd61d03db0a2b95b87bb2ccfdf824
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# libvideofilters
22#
23
24include $(CLEAR_VARS)
25
26LOCAL_MODULE:= libvideoeditor_videofilters
27
28LOCAL_SRC_FILES:=          \
29      M4VIFI_BGR565toYUV420.c \
30      M4VIFI_ResizeRGB888toRGB888.c \
31      M4VIFI_ResizeRGB565toRGB565.c \
32      M4VIFI_Clip.c \
33      M4VIFI_ResizeYUVtoBGR565.c \
34      M4VIFI_RGB888toYUV420.c \
35      M4VIFI_RGB565toYUV420.c \
36      M4VFL_transition.c
37
38LOCAL_MODULE_TAGS := optional
39
40LOCAL_SHARED_LIBRARIES := libcutils libutils
41
42LOCAL_STATIC_LIBRARIES := \
43    libvideoeditor_osal
44
45LOCAL_C_INCLUDES += \
46    $(TOP)/frameworks/media/libvideoeditor/osal/inc \
47    $(TOP)/frameworks/media/libvideoeditor/vss/common/inc
48
49ifeq ($(TARGET_SIMULATOR),true)
50else
51    LOCAL_SHARED_LIBRARIES += libdl
52endif
53
54# All of the shared libraries we link against.
55LOCAL_LDLIBS := \
56    -lpthread -ldl
57
58LOCAL_CFLAGS += -Wno-multichar
59
60include $(BUILD_STATIC_LIBRARY)
61
62