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 15cc_library_shared { 16 name: "libcups", 17 18 sdk_version: "current", 19 20 srcs: [ 21 "cups/array.c", 22 "cups/auth.c", 23 "cups/backchannel.c", 24 "cups/backend.c", 25 "cups/debug.c", 26 "cups/dest.c", 27 "cups/dest-job.c", 28 "cups/dest-localization.c", 29 "cups/dest-options.c", 30 "cups/dir.c", 31 "cups/encode.c", 32 "cups/file.c", 33 "cups/getdevices.c", 34 "cups/getifaddrs.c", 35 "cups/getputfile.c", 36 "cups/globals.c", 37 "cups/hash.c", 38 "cups/http.c", 39 "cups/http-addr.c", 40 "cups/http-addrlist.c", 41 "cups/http-support.c", 42 "cups/ipp.c", 43 "cups/ipp-support.c", 44 "cups/langprintf.c", 45 "cups/language.c", 46 "cups/md5.c", 47 "cups/md5passwd.c", 48 "cups/notify.c", 49 "cups/options.c", 50 "cups/ppd.c", 51 "cups/ppd-attr.c", 52 "cups/ppd-cache.c", 53 "cups/ppd-conflicts.c", 54 "cups/ppd-custom.c", 55 "cups/ppd-emit.c", 56 "cups/ppd-localize.c", 57 "cups/ppd-mark.c", 58 "cups/ppd-page.c", 59 "cups/ppd-util.c", 60 "cups/pwg-media.c", 61 "cups/request.c", 62 "cups/sidechannel.c", 63 "cups/snmp.c", 64 "cups/snprintf.c", 65 "cups/string.c", 66 "cups/tempfile.c", 67 "cups/tls-boringssl.c", 68 "cups/thread.c", 69 "cups/transcode.c", 70 "cups/usersys.c", 71 "cups/util.c", 72 "filter/error.c", 73 "filter/raster.c", 74 ], 75 76 cflags: [ 77 "-D_PPD_DEPRECATED=", 78 79 "-Wextra", 80 "-Wall", 81 "-Wno-unused-parameter", 82 "-Wno-unused-function", 83 "-Wno-unused-variable", 84 "-Wno-sign-compare", 85 "-Wno-missing-field-initializers", 86 "-Wno-implicit-function-declaration", 87 "-Werror", 88 ], 89 90 export_include_dirs: [ 91 "cups", 92 "filter", 93 "." 94 ], 95 96 arch: { 97 arm: { 98 instruction_set: "arm", 99 }, 100 }, 101 102 shared_libs: [ 103 "libz", 104 "liblog", 105 "libcrypto", 106 "libssl", 107 ], 108} 109