1// Copyright (C) 2016 The Android Open Source Project 2// Copyright (C) 2016 Mopria Alliance, Inc. 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15 16package { 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20cc_library_shared { 21 name: "libwfds", 22 23 cflags: [ 24 "-DINCLUDE_PDF=1", 25 "-Werror", 26 "-Wextra", 27 "-Wno-unused-parameter", 28 "-Wno-sign-compare", 29 "-Wno-missing-field-initializers", 30 "-Wno-format", 31 "-Wno-missing-braces", 32 "-Wno-deprecated-declarations", 33 ], 34 35 srcs: [ 36 "lib/lib_wprint.c", 37 "lib/plugin_db.c", 38 "lib/printable_area.c", 39 "lib/printer.c", 40 "lib/wprint_msgq.c", 41 "lib/wprintJNI.c", 42 43 "ipphelper/ipp_print.c", 44 "ipphelper/ipphelper.c", 45 "ipphelper/ippstatus_capabilities.c", 46 "ipphelper/ippstatus_monitor.c", 47 48 "plugins/lib_pclm.c", 49 "plugins/lib_pwg.c", 50 "plugins/genPCLm/src/genPCLm.cpp", 51 "plugins/genPCLm/src/genJPEGStrips.cpp", 52 "plugins/pdf_render.c", 53 "plugins/plugin_pcl.c", 54 "plugins/plugin_pdf.c", 55 "plugins/pclm_wrapper_api.cpp", 56 "plugins/wprint_image.c", 57 "plugins/wprint_image_platform.c", 58 "plugins/wprint_mupdf.c", 59 "plugins/wprint_scaler.c", 60 ], 61 62 header_libs: ["jni_headers"], 63 local_include_dirs: [ 64 "include", 65 "plugins/genPCLm/inc", 66 "ipphelper", 67 ], 68 static_libs: [ 69 "bips_aconfig_flags_cc_lib", 70 "libjpeg_static_ndk", 71 ], 72 shared_libs: [ 73 "libcups", 74 "liblog", 75 "libz", 76 "server_configurable_flags", 77 ], 78} 79