Android.mk revision 5da5ca520cca085528588f6067acb1c437001ef2
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 16sources := \ 17 AppOpsManager.cpp \ 18 Binder.cpp \ 19 BpBinder.cpp \ 20 IAppOpsCallback.cpp \ 21 IAppOpsService.cpp \ 22 IInterface.cpp \ 23 IMemory.cpp \ 24 IPCThreadState.cpp \ 25 IPermissionController.cpp \ 26 IServiceManager.cpp \ 27 MemoryDealer.cpp \ 28 MemoryBase.cpp \ 29 MemoryHeapBase.cpp \ 30 Parcel.cpp \ 31 PermissionCache.cpp \ 32 ProcessState.cpp \ 33 Static.cpp 34 35LOCAL_PATH:= $(call my-dir) 36 37include $(CLEAR_VARS) 38LOCAL_LDLIBS += -lpthread 39LOCAL_MODULE := libbinder 40LOCAL_SHARED_LIBRARIES := liblog libcutils libutils 41LOCAL_SRC_FILES := $(sources) 42include $(BUILD_SHARED_LIBRARY) 43 44include $(CLEAR_VARS) 45LOCAL_LDLIBS += -lpthread 46LOCAL_MODULE := libbinder 47LOCAL_SRC_FILES := $(sources) 48include $(BUILD_STATIC_LIBRARY) 49