Mathias Agopian | 25ba5b6 | 2009-05-18 15:08:03 -0700 | [diff] [blame] | 1 | # 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 Agopian | 25ba5b6 | 2009-05-18 15:08:03 -0700 | [diff] [blame] | 15 | # we have the common sources, plus some device-specific stuff |
Dan Egnor | 08b3d2e | 2010-05-06 00:55:09 -0700 | [diff] [blame] | 16 | sources := \ |
| 17 | Binder.cpp \ |
| 18 | BpBinder.cpp \ |
| 19 | IInterface.cpp \ |
| 20 | IMemory.cpp \ |
| 21 | IPCThreadState.cpp \ |
| 22 | IPermissionController.cpp \ |
| 23 | IServiceManager.cpp \ |
| 24 | MemoryDealer.cpp \ |
Mathias Agopian | 25ba5b6 | 2009-05-18 15:08:03 -0700 | [diff] [blame] | 25 | MemoryBase.cpp \ |
| 26 | MemoryHeapBase.cpp \ |
Dan Egnor | 08b3d2e | 2010-05-06 00:55:09 -0700 | [diff] [blame] | 27 | Parcel.cpp \ |
Mathias Agopian | 0dd593f | 2011-06-27 16:05:52 -0700 | [diff] [blame] | 28 | PermissionCache.cpp \ |
Dan Egnor | 08b3d2e | 2010-05-06 00:55:09 -0700 | [diff] [blame] | 29 | ProcessState.cpp \ |
| 30 | Static.cpp |
Mathias Agopian | 25ba5b6 | 2009-05-18 15:08:03 -0700 | [diff] [blame] | 31 | |
Dan Egnor | 08b3d2e | 2010-05-06 00:55:09 -0700 | [diff] [blame] | 32 | LOCAL_PATH:= $(call my-dir) |
| 33 | |
| 34 | include $(CLEAR_VARS) |
Mathias Agopian | 25ba5b6 | 2009-05-18 15:08:03 -0700 | [diff] [blame] | 35 | LOCAL_LDLIBS += -lpthread |
Dan Egnor | 08b3d2e | 2010-05-06 00:55:09 -0700 | [diff] [blame] | 36 | LOCAL_MODULE := libbinder |
| 37 | LOCAL_SHARED_LIBRARIES := liblog libcutils libutils |
| 38 | LOCAL_SRC_FILES := $(sources) |
Mathias Agopian | 25ba5b6 | 2009-05-18 15:08:03 -0700 | [diff] [blame] | 39 | include $(BUILD_SHARED_LIBRARY) |
Dan Egnor | 08b3d2e | 2010-05-06 00:55:09 -0700 | [diff] [blame] | 40 | |
| 41 | include $(CLEAR_VARS) |
| 42 | LOCAL_LDLIBS += -lpthread |
| 43 | LOCAL_MODULE := libbinder |
| 44 | LOCAL_SRC_FILES := $(sources) |
| 45 | include $(BUILD_STATIC_LIBRARY) |