blob: 4ab57d7147ea68f29d0725948d68a0f2faa08795 [file] [log] [blame]
Jayant Chowdhary475aad72017-05-09 10:28:01 -07001// 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",
Glade Diviney65a175f2017-10-05 09:31:34 -070067 "cups/tls-boringssl.c",
Jayant Chowdhary475aad72017-05-09 10:28:01 -070068 "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. Moltmann4518e602017-10-09 10:21:26 -070078
Jayant Chowdhary475aad72017-05-09 10:28:01 -070079 "-Wextra",
Philip P. Moltmann4518e602017-10-09 10:21:26 -070080 "-Wall",
Jayant Chowdhary475aad72017-05-09 10:28:01 -070081 "-Wno-unused-parameter",
Philip P. Moltmann4518e602017-10-09 10:21:26 -070082 "-Wno-unused-function",
83 "-Wno-unused-variable",
Jayant Chowdhary475aad72017-05-09 10:28:01 -070084 "-Wno-sign-compare",
85 "-Wno-missing-field-initializers",
Jayant Chowdhary475aad72017-05-09 10:28:01 -070086 "-Wno-implicit-function-declaration",
Philip P. Moltmann4518e602017-10-09 10:21:26 -070087 "-Werror",
Jayant Chowdhary475aad72017-05-09 10:28:01 -070088 ],
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 Diviney65a175f2017-10-05 09:31:34 -0700105 "libcrypto",
106 "libssl",
Jayant Chowdhary475aad72017-05-09 10:28:01 -0700107 ],
108}