1# Copyright (C) 2016 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 15LOCAL_PATH:= $(call my-dir) 16include $(CLEAR_VARS) 17 18LOCAL_ARM_MODE := arm 19LOCAL_SDK_VERSION := current 20 21LOCAL_SRC_FILES := \ 22 cups/array.c cups/auth.c cups/backchannel.c cups/backend.c \ 23 cups/debug.c cups/dest.c cups/dest-job.c cups/dest-localization.c \ 24 cups/dest-options.c cups/dir.c cups/encode.c cups/file.c \ 25 cups/getdevices.c cups/getifaddrs.c cups/getputfile.c cups/globals.c \ 26 cups/hash.c cups/http.c cups/http-addr.c cups/http-addrlist.c \ 27 cups/http-support.c cups/ipp.c cups/ipp-support.c cups/langprintf.c \ 28 cups/language.c cups/md5.c cups/md5passwd.c cups/notify.c \ 29 cups/options.c cups/ppd.c cups/ppd-attr.c cups/ppd-cache.c \ 30 cups/ppd-conflicts.c cups/ppd-custom.c cups/ppd-emit.c \ 31 cups/ppd-localize.c cups/ppd-mark.c cups/ppd-page.c cups/ppd-util.c \ 32 cups/pwg-media.c cups/request.c cups/sidechannel.c cups/snmp.c \ 33 cups/snprintf.c cups/string.c cups/tempfile.c cups/thread.c \ 34 cups/transcode.c cups/usersys.c cups/util.c filter/error.c filter/raster.c 35 36LOCAL_CFLAGS += \ 37 -D_PPD_DEPRECATED= -Wextra -Wno-unused-parameter \ 38 -Wno-sign-compare -Wno-missing-field-initializers -Wno-error \ 39 -Wno-implicit-function-declaration 40 41LOCAL_EXPORT_C_INCLUDE_DIRS := \ 42 $(LOCAL_PATH)/cups $(LOCAL_PATH)/filters $(LOCAL_PATH) 43 44LOCAL_MODULE := libcups 45LOCAL_MODULE_TAGS := optional 46LOCAL_LDLIBS += -lz -llog 47include $(BUILD_SHARED_LIBRARY) 48