Android.mk revision 386a332b4f70718cccb08d5511d66e9f4f5bd409
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 \
27208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian    MemoryHeapPmem.cpp \
28386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnor    Parcel.cpp \
29386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnor    Permission.cpp \
30386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnor    ProcessState.cpp \
31386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnor    Static.cpp
32208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian
33386a332b4f70718cccb08d5511d66e9f4f5bd409Dan EgnorLOCAL_PATH:= $(call my-dir)
34208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian
35386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnorinclude $(CLEAR_VARS)
36386a332b4f70718cccb08d5511d66e9f4f5bd409Dan EgnorLOCAL_LDLIBS += -lpthread
37386a332b4f70718cccb08d5511d66e9f4f5bd409Dan EgnorLOCAL_MODULE := libbinder
38386a332b4f70718cccb08d5511d66e9f4f5bd409Dan EgnorLOCAL_SHARED_LIBRARIES := liblog libcutils libutils
39386a332b4f70718cccb08d5511d66e9f4f5bd409Dan EgnorLOCAL_SRC_FILES := $(sources)
40208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopianinclude $(BUILD_SHARED_LIBRARY)
41386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnor
42386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnorinclude $(CLEAR_VARS)
43386a332b4f70718cccb08d5511d66e9f4f5bd409Dan EgnorLOCAL_LDLIBS += -lpthread
44386a332b4f70718cccb08d5511d66e9f4f5bd409Dan EgnorLOCAL_MODULE := libbinder
45386a332b4f70718cccb08d5511d66e9f4f5bd409Dan EgnorLOCAL_SRC_FILES := $(sources)
46386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnorinclude $(BUILD_STATIC_LIBRARY)
47