Home | History | Annotate | Download | only in libcups
      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",
     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         "-Wextra",
     79         "-Wno-unused-parameter",
     80         "-Wno-sign-compare",
     81         "-Wno-missing-field-initializers",
     82         "-Wno-error",
     83         "-Wno-implicit-function-declaration",
     84     ],
     85 
     86     export_include_dirs: [
     87         "cups",
     88         "filter",
     89         "."
     90     ],
     91 
     92     arch: {
     93         arm: {
     94             instruction_set: "arm",
     95         },
     96     },
     97 
     98     shared_libs: [
     99         "libz",
    100         "liblog",
    101         "libcrypto",
    102         "libssl",
    103     ],
    104 }
    105