Android.mk revision 99b49840d309727678b77403d6cc9f920111623f
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 \
19244a7655aea626c6f16f68d39ba3c92a164adc16Mike Lockwood    CursorWindow.cpp \
20386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnor    IInterface.cpp \
21386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnor    IMemory.cpp \
22386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnor    IPCThreadState.cpp \
23386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnor    IPermissionController.cpp \
24386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnor    IServiceManager.cpp \
25386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnor    MemoryDealer.cpp \
26208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian    MemoryBase.cpp \
27208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian    MemoryHeapBase.cpp \
28208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian    MemoryHeapPmem.cpp \
29386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnor    Parcel.cpp \
3099b49840d309727678b77403d6cc9f920111623fMathias Agopian    PermissionCache.cpp \
31386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnor    ProcessState.cpp \
32386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnor    Static.cpp
33208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian
34386a332b4f70718cccb08d5511d66e9f4f5bd409Dan EgnorLOCAL_PATH:= $(call my-dir)
35208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopian
36386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnorinclude $(CLEAR_VARS)
37386a332b4f70718cccb08d5511d66e9f4f5bd409Dan EgnorLOCAL_LDLIBS += -lpthread
38386a332b4f70718cccb08d5511d66e9f4f5bd409Dan EgnorLOCAL_MODULE := libbinder
39386a332b4f70718cccb08d5511d66e9f4f5bd409Dan EgnorLOCAL_SHARED_LIBRARIES := liblog libcutils libutils
40386a332b4f70718cccb08d5511d66e9f4f5bd409Dan EgnorLOCAL_SRC_FILES := $(sources)
41208059f67ed2dd9fa025e07fcb6954d3cb61c79eMathias Agopianinclude $(BUILD_SHARED_LIBRARY)
42386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnor
43386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnorinclude $(CLEAR_VARS)
44386a332b4f70718cccb08d5511d66e9f4f5bd409Dan EgnorLOCAL_LDLIBS += -lpthread
45386a332b4f70718cccb08d5511d66e9f4f5bd409Dan EgnorLOCAL_MODULE := libbinder
46386a332b4f70718cccb08d5511d66e9f4f5bd409Dan EgnorLOCAL_SRC_FILES := $(sources)
47386a332b4f70718cccb08d5511d66e9f4f5bd409Dan Egnorinclude $(BUILD_STATIC_LIBRARY)
48