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