• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    Binder.cpp \
18    BpBinder.cpp \
19    IInterface.cpp \
20    IMemory.cpp \
21    IPCThreadState.cpp \
22    IPermissionController.cpp \
23    IServiceManager.cpp \
24    MemoryDealer.cpp \
25    MemoryBase.cpp \
26    MemoryHeapBase.cpp \
27    MemoryHeapPmem.cpp \
28    Parcel.cpp \
29    Permission.cpp \
30    ProcessState.cpp \
31    Static.cpp
32
33LOCAL_PATH:= $(call my-dir)
34
35include $(CLEAR_VARS)
36LOCAL_LDLIBS += -lpthread
37LOCAL_MODULE := libbinder
38LOCAL_SHARED_LIBRARIES := liblog libcutils libutils
39LOCAL_SRC_FILES := $(sources)
40include $(BUILD_SHARED_LIBRARY)
41
42include $(CLEAR_VARS)
43LOCAL_LDLIBS += -lpthread
44LOCAL_MODULE := libbinder
45LOCAL_SRC_FILES := $(sources)
46include $(BUILD_STATIC_LIBRARY)
47