1 # Copyright (C) 2009 The Android Open Source Project
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 # we have the common sources, plus some device-specific stuff
20 BufferedTextOutput.cpp \
28 IPermissionController.cpp \
39 LOCAL_PATH:= $(call my-dir)
42 LOCAL_LDLIBS += -lpthread
43 LOCAL_MODULE := libbinder
44 LOCAL_SHARED_LIBRARIES := liblog libcutils libutils
45 LOCAL_SRC_FILES := $(sources)
46 ifneq ($(TARGET_USES_64_BIT_BINDER),true)
47 ifneq ($(TARGET_IS_64_BIT),true)
48 LOCAL_CFLAGS += -DBINDER_IPC_32BIT=1
51 include $(BUILD_SHARED_LIBRARY)
54 LOCAL_LDLIBS += -lpthread
55 LOCAL_MODULE := libbinder
56 LOCAL_STATIC_LIBRARIES += libutils
57 LOCAL_SRC_FILES := $(sources)
58 ifneq ($(TARGET_USES_64_BIT_BINDER),true)
59 ifneq ($(TARGET_IS_64_BIT),true)
60 LOCAL_CFLAGS += -DBINDER_IPC_32BIT=1
63 include $(BUILD_STATIC_LIBRARY)