1cc_library_static { 2 name: "libpdfiumfpdfapi", 3 defaults: ["pdfium-defaults"], 4 5 cflags: [ 6 "-DOPJ_STATIC", 7 "-DV8_DEPRECATION_WARNINGS", 8 "-D_CRT_SECURE_NO_WARNINGS", 9 10 // Mask some warnings. These are benign, but we probably want to fix them 11 // upstream at some point. 12 "-Wno-sign-compare", 13 "-Wno-unused-parameter", 14 "-Wno-missing-field-initializers", 15 ], 16 17 srcs: [ 18 "core/fpdfapi/cmaps/CNS1/Adobe-CNS1-UCS2_5.cpp", 19 "core/fpdfapi/cmaps/CNS1/B5pc-H_0.cpp", 20 "core/fpdfapi/cmaps/CNS1/B5pc-V_0.cpp", 21 "core/fpdfapi/cmaps/CNS1/CNS-EUC-H_0.cpp", 22 "core/fpdfapi/cmaps/CNS1/CNS-EUC-V_0.cpp", 23 "core/fpdfapi/cmaps/CNS1/ETen-B5-H_0.cpp", 24 "core/fpdfapi/cmaps/CNS1/ETen-B5-V_0.cpp", 25 "core/fpdfapi/cmaps/CNS1/ETenms-B5-H_0.cpp", 26 "core/fpdfapi/cmaps/CNS1/ETenms-B5-V_0.cpp", 27 "core/fpdfapi/cmaps/CNS1/HKscs-B5-H_5.cpp", 28 "core/fpdfapi/cmaps/CNS1/HKscs-B5-V_5.cpp", 29 "core/fpdfapi/cmaps/CNS1/UniCNS-UCS2-H_3.cpp", 30 "core/fpdfapi/cmaps/CNS1/UniCNS-UCS2-V_3.cpp", 31 "core/fpdfapi/cmaps/CNS1/UniCNS-UTF16-H_0.cpp", 32 "core/fpdfapi/cmaps/CNS1/cmaps_cns1.cpp", 33 "core/fpdfapi/cmaps/GB1/Adobe-GB1-UCS2_5.cpp", 34 "core/fpdfapi/cmaps/GB1/GB-EUC-H_0.cpp", 35 "core/fpdfapi/cmaps/GB1/GB-EUC-V_0.cpp", 36 "core/fpdfapi/cmaps/GB1/GBK-EUC-H_2.cpp", 37 "core/fpdfapi/cmaps/GB1/GBK-EUC-V_2.cpp", 38 "core/fpdfapi/cmaps/GB1/GBK2K-H_5.cpp", 39 "core/fpdfapi/cmaps/GB1/GBK2K-V_5.cpp", 40 "core/fpdfapi/cmaps/GB1/GBKp-EUC-H_2.cpp", 41 "core/fpdfapi/cmaps/GB1/GBKp-EUC-V_2.cpp", 42 "core/fpdfapi/cmaps/GB1/GBpc-EUC-H_0.cpp", 43 "core/fpdfapi/cmaps/GB1/GBpc-EUC-V_0.cpp", 44 "core/fpdfapi/cmaps/GB1/UniGB-UCS2-H_4.cpp", 45 "core/fpdfapi/cmaps/GB1/UniGB-UCS2-V_4.cpp", 46 "core/fpdfapi/cmaps/GB1/cmaps_gb1.cpp", 47 "core/fpdfapi/cmaps/Japan1/83pv-RKSJ-H_1.cpp", 48 "core/fpdfapi/cmaps/Japan1/90ms-RKSJ-H_2.cpp", 49 "core/fpdfapi/cmaps/Japan1/90ms-RKSJ-V_2.cpp", 50 "core/fpdfapi/cmaps/Japan1/90msp-RKSJ-H_2.cpp", 51 "core/fpdfapi/cmaps/Japan1/90msp-RKSJ-V_2.cpp", 52 "core/fpdfapi/cmaps/Japan1/90pv-RKSJ-H_1.cpp", 53 "core/fpdfapi/cmaps/Japan1/Add-RKSJ-H_1.cpp", 54 "core/fpdfapi/cmaps/Japan1/Add-RKSJ-V_1.cpp", 55 "core/fpdfapi/cmaps/Japan1/Adobe-Japan1-UCS2_4.cpp", 56 "core/fpdfapi/cmaps/Japan1/EUC-H_1.cpp", 57 "core/fpdfapi/cmaps/Japan1/EUC-V_1.cpp", 58 "core/fpdfapi/cmaps/Japan1/Ext-RKSJ-H_2.cpp", 59 "core/fpdfapi/cmaps/Japan1/Ext-RKSJ-V_2.cpp", 60 "core/fpdfapi/cmaps/Japan1/H_1.cpp", 61 "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-HW-H_4.cpp", 62 "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-HW-V_4.cpp", 63 "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-H_4.cpp", 64 "core/fpdfapi/cmaps/Japan1/UniJIS-UCS2-V_4.cpp", 65 "core/fpdfapi/cmaps/Japan1/V_1.cpp", 66 "core/fpdfapi/cmaps/Japan1/cmaps_japan1.cpp", 67 "core/fpdfapi/cmaps/Korea1/Adobe-Korea1-UCS2_2.cpp", 68 "core/fpdfapi/cmaps/Korea1/KSC-EUC-H_0.cpp", 69 "core/fpdfapi/cmaps/Korea1/KSC-EUC-V_0.cpp", 70 "core/fpdfapi/cmaps/Korea1/KSCms-UHC-HW-H_1.cpp", 71 "core/fpdfapi/cmaps/Korea1/KSCms-UHC-HW-V_1.cpp", 72 "core/fpdfapi/cmaps/Korea1/KSCms-UHC-H_1.cpp", 73 "core/fpdfapi/cmaps/Korea1/KSCms-UHC-V_1.cpp", 74 "core/fpdfapi/cmaps/Korea1/KSCpc-EUC-H_0.cpp", 75 "core/fpdfapi/cmaps/Korea1/UniKS-UCS2-H_1.cpp", 76 "core/fpdfapi/cmaps/Korea1/UniKS-UCS2-V_1.cpp", 77 "core/fpdfapi/cmaps/Korea1/UniKS-UTF16-H_0.cpp", 78 "core/fpdfapi/cmaps/Korea1/cmaps_korea1.cpp", 79 "core/fpdfapi/cmaps/fpdf_cmaps.cpp", 80 "core/fpdfapi/cpdf_modulemgr.cpp", 81 "core/fpdfapi/cpdf_pagerendercontext.cpp", 82 "core/fpdfapi/edit/cpdf_pagecontentgenerator.cpp", 83 "core/fpdfapi/edit/fpdf_edit_create.cpp", 84 "core/fpdfapi/font/cpdf_cidfont.cpp", 85 "core/fpdfapi/font/cpdf_font.cpp", 86 "core/fpdfapi/font/cpdf_fontencoding.cpp", 87 "core/fpdfapi/font/cpdf_simplefont.cpp", 88 "core/fpdfapi/font/cpdf_truetypefont.cpp", 89 "core/fpdfapi/font/cpdf_type1font.cpp", 90 "core/fpdfapi/font/cpdf_type3char.cpp", 91 "core/fpdfapi/font/cpdf_type3font.cpp", 92 "core/fpdfapi/font/fpdf_font.cpp", 93 "core/fpdfapi/font/fpdf_font_cid.cpp", 94 "core/fpdfapi/font/ttgsubtable.cpp", 95 "core/fpdfapi/page/cpdf_allstates.cpp", 96 "core/fpdfapi/page/cpdf_clippath.cpp", 97 "core/fpdfapi/page/cpdf_color.cpp", 98 "core/fpdfapi/page/cpdf_colorspace.cpp", 99 "core/fpdfapi/page/cpdf_colorstate.cpp", 100 "core/fpdfapi/page/cpdf_contentmark.cpp", 101 "core/fpdfapi/page/cpdf_contentmarkitem.cpp", 102 "core/fpdfapi/page/cpdf_contentparser.cpp", 103 "core/fpdfapi/page/cpdf_docpagedata.cpp", 104 "core/fpdfapi/page/cpdf_form.cpp", 105 "core/fpdfapi/page/cpdf_formobject.cpp", 106 "core/fpdfapi/page/cpdf_generalstate.cpp", 107 "core/fpdfapi/page/cpdf_graphicstates.cpp", 108 "core/fpdfapi/page/cpdf_image.cpp", 109 "core/fpdfapi/page/cpdf_imageobject.cpp", 110 "core/fpdfapi/page/cpdf_meshstream.cpp", 111 "core/fpdfapi/page/cpdf_page.cpp", 112 "core/fpdfapi/page/cpdf_pagemodule.cpp", 113 "core/fpdfapi/page/cpdf_pageobject.cpp", 114 "core/fpdfapi/page/cpdf_pageobjectholder.cpp", 115 "core/fpdfapi/page/cpdf_pageobjectlist.cpp", 116 "core/fpdfapi/page/cpdf_path.cpp", 117 "core/fpdfapi/page/cpdf_pathobject.cpp", 118 "core/fpdfapi/page/cpdf_pattern.cpp", 119 "core/fpdfapi/page/cpdf_shadingobject.cpp", 120 "core/fpdfapi/page/cpdf_shadingpattern.cpp", 121 "core/fpdfapi/page/cpdf_streamcontentparser.cpp", 122 "core/fpdfapi/page/cpdf_streamparser.cpp", 123 "core/fpdfapi/page/cpdf_textobject.cpp", 124 "core/fpdfapi/page/cpdf_textstate.cpp", 125 "core/fpdfapi/page/cpdf_tilingpattern.cpp", 126 "core/fpdfapi/page/fpdf_page_colors.cpp", 127 "core/fpdfapi/page/fpdf_page_func.cpp", 128 "core/fpdfapi/parser/cfdf_document.cpp", 129 "core/fpdfapi/parser/cpdf_array.cpp", 130 "core/fpdfapi/parser/cpdf_boolean.cpp", 131 "core/fpdfapi/parser/cpdf_crypto_handler.cpp", 132 "core/fpdfapi/parser/cpdf_data_avail.cpp", 133 "core/fpdfapi/parser/cpdf_dictionary.cpp", 134 "core/fpdfapi/parser/cpdf_document.cpp", 135 "core/fpdfapi/parser/cpdf_hint_tables.cpp", 136 "core/fpdfapi/parser/cpdf_indirect_object_holder.cpp", 137 "core/fpdfapi/parser/cpdf_linearized_header.cpp", 138 "core/fpdfapi/parser/cpdf_name.cpp", 139 "core/fpdfapi/parser/cpdf_null.cpp", 140 "core/fpdfapi/parser/cpdf_number.cpp", 141 "core/fpdfapi/parser/cpdf_object.cpp", 142 "core/fpdfapi/parser/cpdf_parser.cpp", 143 "core/fpdfapi/parser/cpdf_reference.cpp", 144 "core/fpdfapi/parser/cpdf_security_handler.cpp", 145 "core/fpdfapi/parser/cpdf_simple_parser.cpp", 146 "core/fpdfapi/parser/cpdf_stream.cpp", 147 "core/fpdfapi/parser/cpdf_stream_acc.cpp", 148 "core/fpdfapi/parser/cpdf_string.cpp", 149 "core/fpdfapi/parser/cpdf_syntax_parser.cpp", 150 "core/fpdfapi/parser/fpdf_parser_decode.cpp", 151 "core/fpdfapi/parser/fpdf_parser_utility.cpp", 152 "core/fpdfapi/render/cpdf_charposlist.cpp", 153 "core/fpdfapi/render/cpdf_devicebuffer.cpp", 154 "core/fpdfapi/render/cpdf_dibsource.cpp", 155 "core/fpdfapi/render/cpdf_dibtransferfunc.cpp", 156 "core/fpdfapi/render/cpdf_docrenderdata.cpp", 157 "core/fpdfapi/render/cpdf_imagecacheentry.cpp", 158 "core/fpdfapi/render/cpdf_imageloader.cpp", 159 "core/fpdfapi/render/cpdf_imagerenderer.cpp", 160 "core/fpdfapi/render/cpdf_pagerendercache.cpp", 161 "core/fpdfapi/render/cpdf_progressiverenderer.cpp", 162 "core/fpdfapi/render/cpdf_rendercontext.cpp", 163 "core/fpdfapi/render/cpdf_renderoptions.cpp", 164 "core/fpdfapi/render/cpdf_renderstatus.cpp", 165 "core/fpdfapi/render/cpdf_scaledrenderbuffer.cpp", 166 "core/fpdfapi/render/cpdf_textrenderer.cpp", 167 "core/fpdfapi/render/cpdf_transferfunc.cpp", 168 "core/fpdfapi/render/cpdf_type3cache.cpp", 169 "core/fpdfapi/render/cpdf_type3glyphs.cpp", 170 ], 171 172 include_dirs: [ 173 "external/freetype/include", 174 "external/freetype/include/freetype", 175 ], 176} 177