Colin Cross | 0e16d62 | 2017-04-19 20:32:09 -0700 | [diff] [blame^] | 1 | cc_library_static { |
| 2 | name: "libpdfiumfpdfdoc", |
| 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 | ], |
| 15 | |
| 16 | srcs: [ |
| 17 | "src/fpdfdoc/doc_action.cpp", |
| 18 | "src/fpdfdoc/doc_annot.cpp", |
| 19 | "src/fpdfdoc/doc_ap.cpp", |
| 20 | "src/fpdfdoc/doc_basic.cpp", |
| 21 | "src/fpdfdoc/doc_bookmark.cpp", |
| 22 | "src/fpdfdoc/doc_form.cpp", |
| 23 | "src/fpdfdoc/doc_formcontrol.cpp", |
| 24 | "src/fpdfdoc/doc_formfield.cpp", |
| 25 | "src/fpdfdoc/doc_link.cpp", |
| 26 | "src/fpdfdoc/doc_metadata.cpp", |
| 27 | "src/fpdfdoc/doc_ocg.cpp", |
| 28 | "src/fpdfdoc/doc_tagged.cpp", |
| 29 | "src/fpdfdoc/doc_utils.cpp", |
| 30 | "src/fpdfdoc/doc_viewerPreferences.cpp", |
| 31 | "src/fpdfdoc/doc_vt.cpp", |
| 32 | "src/fpdfdoc/doc_vtmodule.cpp", |
| 33 | ], |
| 34 | } |