1208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian# Copyright (C) 2009 The Android Open Source Project
2208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian#
3208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian# Licensed under the Apache License, Version 2.0 (the "License");
4208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian# you may not use this file except in compliance with the License.
5208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian# You may obtain a copy of the License at
6208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian#
7208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian#      http://www.apache.org/licenses/LICENSE-2.0
8208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian#
9208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian# Unless required by applicable law or agreed to in writing, software
10208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian# distributed under the License is distributed on an "AS IS" BASIS,
11208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian# See the License for the specific language governing permissions and
13208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian# limitations under the License.
14208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian
15208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian# we have the common sources, plus some device-specific stuff
16386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnorsources := \
17386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnor    Binder.cpp \
18386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnor    BpBinder.cpp \
19386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnor    IInterface.cpp \
20386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnor    IMemory.cpp \
21386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnor    IPCThreadState.cpp \
22386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnor    IPermissionController.cpp \
23386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnor    IServiceManager.cpp \
24386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnor    MemoryDealer.cpp \
25208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian    MemoryBase.cpp \
26208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian    MemoryHeapBase.cpp \
27386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnor    Parcel.cpp \
2899b49840d309727678b77403d6cc9f920111623fMathias Agopian    PermissionCache.cpp \
29386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnor    ProcessState.cpp \
30386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnor    Static.cpp
31208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian
32386a332b4f70718cccb08d5511d66e9f4f5bd409Dan EgnorLOCAL_PATH:= $(call my-dir)
33208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian
34386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnorinclude $(CLEAR_VARS)
35386a332b4f70718cccb08d5511d66e9f4f5bd409Dan EgnorLOCAL_LDLIBS += -lpthread
36386a332b4f70718cccb08d5511d66e9f4f5bd409Dan EgnorLOCAL_MODULE := libbinder
37386a332b4f70718cccb08d5511d66e9f4f5bd409Dan EgnorLOCAL_SHARED_LIBRARIES := liblog libcutils libutils
38386a332b4f70718cccb08d5511d66e9f4f5bd409Dan EgnorLOCAL_SRC_FILES := $(sources)
39208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopianinclude $(BUILD_SHARED_LIBRARY)
40386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnor
41386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnorinclude $(CLEAR_VARS)
42386a332b4f70718cccb08d5511d66e9f4f5bd409Dan EgnorLOCAL_LDLIBS += -lpthread
43386a332b4f70718cccb08d5511d66e9f4f5bd409Dan EgnorLOCAL_MODULE := libbinder
44386a332b4f70718cccb08d5511d66e9f4f5bd409Dan EgnorLOCAL_SRC_FILES := $(sources)
45386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnorinclude $(BUILD_STATIC_LIBRARY)
46