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