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 15 # we have the common sources, plus some device-specific stuff 16 sources := \ 17 AppOpsManager.cpp \ 18 Binder.cpp \ 19 BpBinder.cpp \ 20 BufferedTextOutput.cpp \ 21 Debug.cpp \ 22 IAppOpsCallback.cpp \ 23 IAppOpsService.cpp \ 24 IInterface.cpp \ 25 IMemory.cpp \ 26 IPCThreadState.cpp \ 27 IPermissionController.cpp \ 28 IServiceManager.cpp \ 29 MemoryDealer.cpp \ 30 MemoryBase.cpp \ 31 MemoryHeapBase.cpp \ 32 Parcel.cpp \ 33 PermissionCache.cpp \ 34 ProcessState.cpp \ 35 Static.cpp \ 36 TextOutput.cpp \ 37 38 LOCAL_PATH:= $(call my-dir) 39 40 include $(CLEAR_VARS) 41 LOCAL_LDLIBS += -lpthread 42 LOCAL_MODULE := libbinder 43 LOCAL_SHARED_LIBRARIES := liblog libcutils libutils 44 LOCAL_SRC_FILES := $(sources) 45 include $(BUILD_SHARED_LIBRARY) 46 47 include $(CLEAR_VARS) 48 LOCAL_LDLIBS += -lpthread 49 LOCAL_MODULE := libbinder 50 LOCAL_STATIC_LIBRARIES += libutils 51 LOCAL_SRC_FILES := $(sources) 52 include $(BUILD_STATIC_LIBRARY) 53