aimitakeshi | d074e30 | 2010-07-29 10:12:27 +0900 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2010 The Android Open Source Project |
| 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 | LOCAL_PATH:= $(call my-dir) |
| 17 | include $(CLEAR_VARS) |
| 18 | |
| 19 | LOCAL_SRC_FILES:= \ |
| 20 | main_drmioserver.cpp \ |
| 21 | DrmIOService.cpp |
| 22 | |
| 23 | LOCAL_SHARED_LIBRARIES := \ |
| 24 | libutils \ |
Jean-Baptiste Queru | 93548db | 2010-09-09 15:34:27 -0700 | [diff] [blame] | 25 | libbinder |
| 26 | |
| 27 | ifeq ($(TARGET_SIMULATOR),true) |
| 28 | LOCAL_LDLIBS += -ldl |
| 29 | else |
| 30 | LOCAL_SHARED_LIBRARIES += libdl |
| 31 | endif |
aimitakeshi | d074e30 | 2010-07-29 10:12:27 +0900 | [diff] [blame] | 32 | |
| 33 | LOCAL_STATIC_LIBRARIES := libdrmframeworkcommon |
| 34 | |
| 35 | LOCAL_C_INCLUDES := \ |
| 36 | $(TOP)/frameworks/base/drm/libdrmframework/include \ |
| 37 | $(TOP)/frameworks/base/include |
| 38 | |
| 39 | LOCAL_MODULE:= drmioserver |
| 40 | |
Jean-Baptiste Queru | 3802949 | 2010-09-10 12:46:57 -0700 | [diff] [blame] | 41 | LOCAL_MODULE_TAGS := optional |
| 42 | |
aimitakeshi | d074e30 | 2010-07-29 10:12:27 +0900 | [diff] [blame] | 43 | include $(BUILD_EXECUTABLE) |