blob: 994d3dbe316b1bcd37e58f31a1c582021005a214 [file] [log] [blame]
Mathias Agopian208059f2009-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 Agopian208059f2009-05-18 15:08:03 -070015# we have the common sources, plus some device-specific stuff
Dan Egnor386a3322010-05-06 00:55:09 -070016sources := \
Dianne Hackborn5da5ca52013-02-12 15:12:21 -080017 AppOpsManager.cpp \
Dan Egnor386a3322010-05-06 00:55:09 -070018 Binder.cpp \
19 BpBinder.cpp \
Dianne Hackborn5da5ca52013-02-12 15:12:21 -080020 IAppOpsCallback.cpp \
21 IAppOpsService.cpp \
Dan Egnor386a3322010-05-06 00:55:09 -070022 IInterface.cpp \
23 IMemory.cpp \
24 IPCThreadState.cpp \
25 IPermissionController.cpp \
26 IServiceManager.cpp \
27 MemoryDealer.cpp \
Mathias Agopian208059f2009-05-18 15:08:03 -070028 MemoryBase.cpp \
29 MemoryHeapBase.cpp \
Dan Egnor386a3322010-05-06 00:55:09 -070030 Parcel.cpp \
Mathias Agopian99b49842011-06-27 16:05:52 -070031 PermissionCache.cpp \
Dan Egnor386a3322010-05-06 00:55:09 -070032 ProcessState.cpp \
33 Static.cpp
Mathias Agopian208059f2009-05-18 15:08:03 -070034
Dan Egnor386a3322010-05-06 00:55:09 -070035LOCAL_PATH:= $(call my-dir)
36
37include $(CLEAR_VARS)
Mathias Agopian208059f2009-05-18 15:08:03 -070038LOCAL_LDLIBS += -lpthread
Dan Egnor386a3322010-05-06 00:55:09 -070039LOCAL_MODULE := libbinder
40LOCAL_SHARED_LIBRARIES := liblog libcutils libutils
41LOCAL_SRC_FILES := $(sources)
Mathias Agopian208059f2009-05-18 15:08:03 -070042include $(BUILD_SHARED_LIBRARY)
Dan Egnor386a3322010-05-06 00:55:09 -070043
44include $(CLEAR_VARS)
45LOCAL_LDLIBS += -lpthread
46LOCAL_MODULE := libbinder
47LOCAL_SRC_FILES := $(sources)
48include $(BUILD_STATIC_LIBRARY)