Jayant Chowdhary | 475aad7 | 2017-05-09 10:28:01 -0700 | [diff] [blame] | 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 | |
| 15 | cc_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", |
Glade Diviney | 65a175f | 2017-10-05 09:31:34 -0700 | [diff] [blame] | 67 | "cups/tls-boringssl.c", |
Jayant Chowdhary | 475aad7 | 2017-05-09 10:28:01 -0700 | [diff] [blame] | 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=", |
Philip P. Moltmann | 4518e60 | 2017-10-09 10:21:26 -0700 | [diff] [blame] | 78 | |
Jayant Chowdhary | 475aad7 | 2017-05-09 10:28:01 -0700 | [diff] [blame] | 79 | "-Wextra", |
Philip P. Moltmann | 4518e60 | 2017-10-09 10:21:26 -0700 | [diff] [blame] | 80 | "-Wall", |
Jayant Chowdhary | 475aad7 | 2017-05-09 10:28:01 -0700 | [diff] [blame] | 81 | "-Wno-unused-parameter", |
Philip P. Moltmann | 4518e60 | 2017-10-09 10:21:26 -0700 | [diff] [blame] | 82 | "-Wno-unused-function", |
| 83 | "-Wno-unused-variable", |
Jayant Chowdhary | 475aad7 | 2017-05-09 10:28:01 -0700 | [diff] [blame] | 84 | "-Wno-sign-compare", |
| 85 | "-Wno-missing-field-initializers", |
Jayant Chowdhary | 475aad7 | 2017-05-09 10:28:01 -0700 | [diff] [blame] | 86 | "-Wno-implicit-function-declaration", |
Philip P. Moltmann | 4518e60 | 2017-10-09 10:21:26 -0700 | [diff] [blame] | 87 | "-Werror", |
Jayant Chowdhary | 475aad7 | 2017-05-09 10:28:01 -0700 | [diff] [blame] | 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", |
Glade Diviney | 65a175f | 2017-10-05 09:31:34 -0700 | [diff] [blame] | 105 | "libcrypto", |
| 106 | "libssl", |
Jayant Chowdhary | 475aad7 | 2017-05-09 10:28:01 -0700 | [diff] [blame] | 107 | ], |
| 108 | } |