codeworkx | 62f02ba | 2012-05-20 12:00:36 +0200 | [diff] [blame^] | 1 | # Copyright (C) 2008 The Android Open Source Project |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | ifeq ($(filter-out exynos4,$(TARGET_BOARD_PLATFORM)),) |
| 16 | |
| 17 | LOCAL_PATH:= $(call my-dir) |
| 18 | include $(CLEAR_VARS) |
| 19 | |
| 20 | LOCAL_PRELINK_MODULE := false |
| 21 | LOCAL_SHARED_LIBRARIES := liblog libutils libcutils |
| 22 | ifeq ($(BOARD_SUPPORT_SYSMMU),true) |
| 23 | LOCAL_SHARED_LIBRARIES+= libMali |
| 24 | endif |
| 25 | |
| 26 | ifeq ($(BOARD_SUPPORT_SYSMMU),true) |
| 27 | LOCAL_CFLAGS+=-DBOARD_SUPPORT_SYSMMU |
| 28 | endif |
| 29 | |
| 30 | ifeq ($(TARGET_SOC),exynos4210) |
| 31 | LOCAL_CFLAGS += -DSAMSUNG_EXYNOS4210 |
| 32 | endif |
| 33 | |
| 34 | ifeq ($(TARGET_SOC),exynos4x12) |
| 35 | LOCAL_CFLAGS += -DSAMSUNG_EXYNOS4x12 |
| 36 | endif |
| 37 | |
| 38 | ifeq ($(BOARD_USE_V4L2),true) |
| 39 | LOCAL_CFLAGS += -DBOARD_USE_V4L2 |
| 40 | endif |
| 41 | |
| 42 | LOCAL_CFLAGS += \ |
| 43 | -DDEFAULT_FB_NUM=$(DEFAULT_FB_NUM) |
| 44 | |
| 45 | LOCAL_C_INCLUDES := \ |
| 46 | $(LOCAL_PATH)/../include \ |
| 47 | framework/base/include |
| 48 | |
| 49 | LOCAL_SRC_FILES := SecFimc.cpp |
| 50 | |
| 51 | LOCAL_MODULE_TAGS := eng |
| 52 | LOCAL_MODULE := libfimc |
| 53 | include $(BUILD_SHARED_LIBRARY) |
| 54 | |
| 55 | endif |