blob: 3a12e96c04a5ffc3b9ae28cc6a8f4555b8987c2f [file] [log] [blame]
Mathias Agopian25ba5b62009-05-18 15:08:03 -07001# Copyright (C) 2009 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
Mathias Agopian25ba5b62009-05-18 15:08:03 -070015# we have the common sources, plus some device-specific stuff
Dan Egnor08b3d2e2010-05-06 00:55:09 -070016sources := \
17 Binder.cpp \
18 BpBinder.cpp \
Mike Lockwood2807df82010-05-27 17:04:23 -040019 CursorWindow.cpp \
Dan Egnor08b3d2e2010-05-06 00:55:09 -070020 IInterface.cpp \
21 IMemory.cpp \
22 IPCThreadState.cpp \
23 IPermissionController.cpp \
24 IServiceManager.cpp \
25 MemoryDealer.cpp \
Mathias Agopian25ba5b62009-05-18 15:08:03 -070026 MemoryBase.cpp \
27 MemoryHeapBase.cpp \
28 MemoryHeapPmem.cpp \
Dan Egnor08b3d2e2010-05-06 00:55:09 -070029 Parcel.cpp \
Mathias Agopian0dd593f2011-06-27 16:05:52 -070030 PermissionCache.cpp \
Dan Egnor08b3d2e2010-05-06 00:55:09 -070031 ProcessState.cpp \
32 Static.cpp
Mathias Agopian25ba5b62009-05-18 15:08:03 -070033
Dan Egnor08b3d2e2010-05-06 00:55:09 -070034LOCAL_PATH:= $(call my-dir)
35
36include $(CLEAR_VARS)
Mathias Agopian25ba5b62009-05-18 15:08:03 -070037LOCAL_LDLIBS += -lpthread
Dan Egnor08b3d2e2010-05-06 00:55:09 -070038LOCAL_MODULE := libbinder
39LOCAL_SHARED_LIBRARIES := liblog libcutils libutils
40LOCAL_SRC_FILES := $(sources)
Mathias Agopian25ba5b62009-05-18 15:08:03 -070041include $(BUILD_SHARED_LIBRARY)
Dan Egnor08b3d2e2010-05-06 00:55:09 -070042
43include $(CLEAR_VARS)
44LOCAL_LDLIBS += -lpthread
45LOCAL_MODULE := libbinder
46LOCAL_SRC_FILES := $(sources)
47include $(BUILD_STATIC_LIBRARY)