| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 pdf_use_skia = false | 5 pdf_use_skia = false |
| 6 | 6 |
| 7 config("pdfium_config") { | 7 config("pdfium_config") { |
| 8 cflags = [] | 8 cflags = [] |
| 9 defines = [ | 9 defines = [ |
| 10 "FOXIT_CHROME_BUILD", | 10 "FOXIT_CHROME_BUILD", |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 "fpdfsdk/src/fsdk_mgr.cpp", | 78 "fpdfsdk/src/fsdk_mgr.cpp", |
| 79 "fpdfsdk/src/fsdk_rendercontext.cpp", | 79 "fpdfsdk/src/fsdk_rendercontext.cpp", |
| 80 "fpdfsdk/src/fpdfsdkdll.rc", | 80 "fpdfsdk/src/fpdfsdkdll.rc", |
| 81 "fpdfsdk/src/resource.h", | 81 "fpdfsdk/src/resource.h", |
| 82 "fpdfsdk/include/fpdf_transformpage.h", | 82 "fpdfsdk/include/fpdf_transformpage.h", |
| 83 "fpdfsdk/src/fpdf_transformpage.cpp", | 83 "fpdfsdk/src/fpdf_transformpage.cpp", |
| 84 ] | 84 ] |
| 85 | 85 |
| 86 libs = [] | 86 libs = [] |
| 87 configs -= [ "//build/config/compiler:chromium_code" ] | 87 configs -= [ "//build/config/compiler:chromium_code" ] |
| 88 configs -= [ "//build/config/compiler:no_exceptions" ] | 88 if (is_posix) { |
| 89 configs += [ "//build/config/compiler:exceptions" ] | 89 configs -= [ "//build/config/gcc:no_exceptions" ] |
| 90 } |
| 90 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 91 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
| 91 | 92 |
| 92 deps = [ | 93 deps = [ |
| 93 ":safemath", | 94 ":safemath", |
| 94 ":fdrm", | 95 ":fdrm", |
| 95 ":formfiller", | 96 ":formfiller", |
| 96 ":fpdfapi", | 97 ":fpdfapi", |
| 97 ":fpdfdoc", | 98 ":fpdfdoc", |
| 98 ":fpdftext", | 99 ":fpdftext", |
| 99 ":fxcodec", | 100 ":fxcodec", |
| (...skipping 30 matching lines...) Expand all Loading... |
| 130 } | 131 } |
| 131 | 132 |
| 132 static_library("fdrm") { | 133 static_library("fdrm") { |
| 133 sources = [ | 134 sources = [ |
| 134 "core/include/fdrm/fx_crypt.h", | 135 "core/include/fdrm/fx_crypt.h", |
| 135 "core/src/fdrm/crypto/fx_crypt.cpp", | 136 "core/src/fdrm/crypto/fx_crypt.cpp", |
| 136 "core/src/fdrm/crypto/fx_crypt_aes.cpp", | 137 "core/src/fdrm/crypto/fx_crypt_aes.cpp", |
| 137 "core/src/fdrm/crypto/fx_crypt_sha.cpp", | 138 "core/src/fdrm/crypto/fx_crypt_sha.cpp", |
| 138 ] | 139 ] |
| 139 configs -= [ "//build/config/compiler:chromium_code" ] | 140 configs -= [ "//build/config/compiler:chromium_code" ] |
| 140 configs -= [ "//build/config/compiler:no_exceptions" ] | 141 if (is_posix) { |
| 141 configs += [ "//build/config/compiler:exceptions" ] | 142 configs -= [ "//build/config/gcc:no_exceptions" ] |
| 143 } |
| 142 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 144 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
| 143 } | 145 } |
| 144 | 146 |
| 145 static_library("fpdfdoc") { | 147 static_library("fpdfdoc") { |
| 146 sources = [ | 148 sources = [ |
| 147 "core/include/fpdfdoc/fpdf_ap.h", | 149 "core/include/fpdfdoc/fpdf_ap.h", |
| 148 "core/include/fpdfdoc/fpdf_doc.h", | 150 "core/include/fpdfdoc/fpdf_doc.h", |
| 149 "core/include/fpdfdoc/fpdf_tagged.h", | 151 "core/include/fpdfdoc/fpdf_tagged.h", |
| 150 "core/include/fpdfdoc/fpdf_vt.h", | 152 "core/include/fpdfdoc/fpdf_vt.h", |
| 151 "core/src/fpdfdoc/doc_action.cpp", | 153 "core/src/fpdfdoc/doc_action.cpp", |
| 152 "core/src/fpdfdoc/doc_annot.cpp", | 154 "core/src/fpdfdoc/doc_annot.cpp", |
| 153 "core/src/fpdfdoc/doc_ap.cpp", | 155 "core/src/fpdfdoc/doc_ap.cpp", |
| 154 "core/src/fpdfdoc/doc_basic.cpp", | 156 "core/src/fpdfdoc/doc_basic.cpp", |
| 155 "core/src/fpdfdoc/doc_bookmark.cpp", | 157 "core/src/fpdfdoc/doc_bookmark.cpp", |
| 156 "core/src/fpdfdoc/doc_form.cpp", | 158 "core/src/fpdfdoc/doc_form.cpp", |
| 157 "core/src/fpdfdoc/doc_formcontrol.cpp", | 159 "core/src/fpdfdoc/doc_formcontrol.cpp", |
| 158 "core/src/fpdfdoc/doc_formfield.cpp", | 160 "core/src/fpdfdoc/doc_formfield.cpp", |
| 159 "core/src/fpdfdoc/doc_link.cpp", | 161 "core/src/fpdfdoc/doc_link.cpp", |
| 160 "core/src/fpdfdoc/doc_metadata.cpp", | 162 "core/src/fpdfdoc/doc_metadata.cpp", |
| 161 "core/src/fpdfdoc/doc_ocg.cpp", | 163 "core/src/fpdfdoc/doc_ocg.cpp", |
| 162 "core/src/fpdfdoc/doc_tagged.cpp", | 164 "core/src/fpdfdoc/doc_tagged.cpp", |
| 163 "core/src/fpdfdoc/doc_utils.cpp", | 165 "core/src/fpdfdoc/doc_utils.cpp", |
| 164 "core/src/fpdfdoc/doc_viewerPreferences.cpp", | 166 "core/src/fpdfdoc/doc_viewerPreferences.cpp", |
| 165 "core/src/fpdfdoc/doc_vt.cpp", | 167 "core/src/fpdfdoc/doc_vt.cpp", |
| 166 "core/src/fpdfdoc/doc_vtmodule.cpp", | 168 "core/src/fpdfdoc/doc_vtmodule.cpp", |
| 167 "core/src/fpdfdoc/pdf_vt.h", | 169 "core/src/fpdfdoc/pdf_vt.h", |
| 168 "core/src/fpdfdoc/tagged_int.h", | 170 "core/src/fpdfdoc/tagged_int.h", |
| 169 ] | 171 ] |
| 170 configs -= [ "//build/config/compiler:chromium_code" ] | 172 configs -= [ "//build/config/compiler:chromium_code" ] |
| 171 configs -= [ "//build/config/compiler:no_exceptions" ] | 173 if (is_posix) { |
| 172 configs += [ "//build/config/compiler:exceptions" ] | 174 configs -= [ "//build/config/gcc:no_exceptions" ] |
| 175 } |
| 173 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 176 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
| 174 } | 177 } |
| 175 | 178 |
| 176 | 179 |
| 177 static_library("fpdfapi") { | 180 static_library("fpdfapi") { |
| 178 sources = [ | 181 sources = [ |
| 179 "core/include/fpdfapi/fpdfapi.h", | 182 "core/include/fpdfapi/fpdfapi.h", |
| 180 "core/include/fpdfapi/fpdf_module.h", | 183 "core/include/fpdfapi/fpdf_module.h", |
| 181 "core/include/fpdfapi/fpdf_objects.h", | 184 "core/include/fpdfapi/fpdf_objects.h", |
| 182 "core/include/fpdfapi/fpdf_page.h", | 185 "core/include/fpdfapi/fpdf_page.h", |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 "core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp", | 290 "core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp", |
| 288 "core/src/fpdfapi/fpdf_render/fpdf_render.cpp", | 291 "core/src/fpdfapi/fpdf_render/fpdf_render.cpp", |
| 289 "core/src/fpdfapi/fpdf_render/fpdf_render_cache.cpp", | 292 "core/src/fpdfapi/fpdf_render/fpdf_render_cache.cpp", |
| 290 "core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp", | 293 "core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp", |
| 291 "core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp", | 294 "core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp", |
| 292 "core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp", | 295 "core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp", |
| 293 "core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp", | 296 "core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp", |
| 294 "core/src/fpdfapi/fpdf_render/render_int.h", | 297 "core/src/fpdfapi/fpdf_render/render_int.h", |
| 295 ] | 298 ] |
| 296 configs -= [ "//build/config/compiler:chromium_code" ] | 299 configs -= [ "//build/config/compiler:chromium_code" ] |
| 297 configs -= [ "//build/config/compiler:no_exceptions" ] | 300 if (is_posix) { |
| 298 configs += [ "//build/config/compiler:exceptions" ] | 301 configs -= [ "//build/config/gcc:no_exceptions" ] |
| 302 } |
| 299 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 303 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
| 300 } | 304 } |
| 301 | 305 |
| 302 static_library("fpdftext") { | 306 static_library("fpdftext") { |
| 303 sources = [ | 307 sources = [ |
| 304 "core/include/fpdftext/fpdf_text.h", | 308 "core/include/fpdftext/fpdf_text.h", |
| 305 "core/src/fpdftext/fpdf_text.cpp", | 309 "core/src/fpdftext/fpdf_text.cpp", |
| 306 "core/src/fpdftext/fpdf_text_int.cpp", | 310 "core/src/fpdftext/fpdf_text_int.cpp", |
| 307 "core/src/fpdftext/fpdf_text_search.cpp", | 311 "core/src/fpdftext/fpdf_text_search.cpp", |
| 308 "core/src/fpdftext/text_int.h", | 312 "core/src/fpdftext/text_int.h", |
| 309 "core/src/fpdftext/txtproc.h", | 313 "core/src/fpdftext/txtproc.h", |
| 310 "core/src/fpdftext/unicodenormalization.cpp", | 314 "core/src/fpdftext/unicodenormalization.cpp", |
| 311 "core/src/fpdftext/unicodenormalizationdata.cpp", | 315 "core/src/fpdftext/unicodenormalizationdata.cpp", |
| 312 ] | 316 ] |
| 313 configs -= [ "//build/config/compiler:chromium_code" ] | 317 configs -= [ "//build/config/compiler:chromium_code" ] |
| 314 configs -= [ "//build/config/compiler:no_exceptions" ] | 318 if (is_posix) { |
| 315 configs += [ "//build/config/compiler:exceptions" ] | 319 configs -= [ "//build/config/gcc:no_exceptions" ] |
| 320 } |
| 316 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 321 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
| 317 } | 322 } |
| 318 | 323 |
| 319 static_library("fxcodec") { | 324 static_library("fxcodec") { |
| 320 sources = [ | 325 sources = [ |
| 321 "core/include/fxcodec/fx_codec.h", | 326 "core/include/fxcodec/fx_codec.h", |
| 322 "core/include/fxcodec/fx_codec_def.h", | 327 "core/include/fxcodec/fx_codec_def.h", |
| 323 "core/include/fxcodec/fx_codec_provider.h", | 328 "core/include/fxcodec/fx_codec_provider.h", |
| 324 "core/src/fxcodec/codec/codec_int.h", | 329 "core/src/fxcodec/codec/codec_int.h", |
| 325 "core/src/fxcodec/codec/fx_codec.cpp", | 330 "core/src/fxcodec/codec/fx_codec.cpp", |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 472 "core/src/fxcodec/libjpeg/jinclude.h", | 477 "core/src/fxcodec/libjpeg/jinclude.h", |
| 473 "core/src/fxcodec/libjpeg/jmemsys.h", | 478 "core/src/fxcodec/libjpeg/jmemsys.h", |
| 474 "core/src/fxcodec/libjpeg/jmorecfg.h", | 479 "core/src/fxcodec/libjpeg/jmorecfg.h", |
| 475 "core/src/fxcodec/libjpeg/jpegint.h", | 480 "core/src/fxcodec/libjpeg/jpegint.h", |
| 476 "core/src/fxcodec/libjpeg/jpeglib.h", | 481 "core/src/fxcodec/libjpeg/jpeglib.h", |
| 477 "core/src/fxcodec/libjpeg/jversion.h", | 482 "core/src/fxcodec/libjpeg/jversion.h", |
| 478 "core/src/fxcodec/libjpeg/makefile", | 483 "core/src/fxcodec/libjpeg/makefile", |
| 479 "core/src/fxcodec/libjpeg/transupp.h", | 484 "core/src/fxcodec/libjpeg/transupp.h", |
| 480 ] | 485 ] |
| 481 configs -= [ "//build/config/compiler:chromium_code" ] | 486 configs -= [ "//build/config/compiler:chromium_code" ] |
| 482 configs -= [ "//build/config/compiler:no_exceptions" ] | 487 if (is_posix) { |
| 483 configs += [ "//build/config/compiler:exceptions" ] | 488 configs -= [ "//build/config/gcc:no_exceptions" ] |
| 489 } |
| 484 | 490 |
| 485 if (is_posix) { | 491 if (is_posix) { |
| 486 # core/src/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int | 492 # core/src/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int |
| 487 # conversion to check that an address is 16-bit aligned (benign). | 493 # conversion to check that an address is 16-bit aligned (benign). |
| 488 cflags_c = [ "-Wno-pointer-to-int-cast" ] | 494 cflags_c = [ "-Wno-pointer-to-int-cast" ] |
| 489 } | 495 } |
| 490 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 496 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
| 491 } | 497 } |
| 492 | 498 |
| 493 static_library("fxcrt") { | 499 static_library("fxcrt") { |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 525 "core/src/fxcrt/fx_basic_wstring.cpp", | 531 "core/src/fxcrt/fx_basic_wstring.cpp", |
| 526 "core/src/fxcrt/fx_extension.cpp", | 532 "core/src/fxcrt/fx_extension.cpp", |
| 527 "core/src/fxcrt/fx_ucddata.cpp", | 533 "core/src/fxcrt/fx_ucddata.cpp", |
| 528 "core/src/fxcrt/fx_unicode.cpp", | 534 "core/src/fxcrt/fx_unicode.cpp", |
| 529 "core/src/fxcrt/fx_xml_composer.cpp", | 535 "core/src/fxcrt/fx_xml_composer.cpp", |
| 530 "core/src/fxcrt/fx_xml_parser.cpp", | 536 "core/src/fxcrt/fx_xml_parser.cpp", |
| 531 "core/src/fxcrt/plex.h", | 537 "core/src/fxcrt/plex.h", |
| 532 "core/src/fxcrt/xml_int.h", | 538 "core/src/fxcrt/xml_int.h", |
| 533 ] | 539 ] |
| 534 configs -= [ "//build/config/compiler:chromium_code" ] | 540 configs -= [ "//build/config/compiler:chromium_code" ] |
| 535 configs -= [ "//build/config/compiler:no_exceptions" ] | 541 if (is_posix) { |
| 536 configs += [ "//build/config/compiler:exceptions" ] | 542 configs -= [ "//build/config/gcc:no_exceptions" ] |
| 543 } |
| 537 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 544 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
| 538 } | 545 } |
| 539 | 546 |
| 540 static_library("fxge") { | 547 static_library("fxge") { |
| 541 sources = [ | 548 sources = [ |
| 542 "core/include/fxge/fpf.h", | 549 "core/include/fxge/fpf.h", |
| 543 "core/include/fxge/fx_dib.h", | 550 "core/include/fxge/fx_dib.h", |
| 544 "core/include/fxge/fx_font.h", | 551 "core/include/fxge/fx_font.h", |
| 545 "core/include/fxge/fx_freetype.h", | 552 "core/include/fxge/fx_freetype.h", |
| 546 "core/include/fxge/fx_ge.h", | 553 "core/include/fxge/fx_ge.h", |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 632 "core/src/fxge/ge/fx_ge_font.cpp", | 639 "core/src/fxge/ge/fx_ge_font.cpp", |
| 633 "core/src/fxge/ge/fx_ge_fontmap.cpp", | 640 "core/src/fxge/ge/fx_ge_fontmap.cpp", |
| 634 "core/src/fxge/ge/fx_ge_linux.cpp", | 641 "core/src/fxge/ge/fx_ge_linux.cpp", |
| 635 "core/src/fxge/ge/fx_ge_path.cpp", | 642 "core/src/fxge/ge/fx_ge_path.cpp", |
| 636 "core/src/fxge/ge/fx_ge_ps.cpp", | 643 "core/src/fxge/ge/fx_ge_ps.cpp", |
| 637 "core/src/fxge/ge/fx_ge_text.cpp", | 644 "core/src/fxge/ge/fx_ge_text.cpp", |
| 638 "core/src/fxge/ge/text_int.h", | 645 "core/src/fxge/ge/text_int.h", |
| 639 ] | 646 ] |
| 640 | 647 |
| 641 configs -= [ "//build/config/compiler:chromium_code" ] | 648 configs -= [ "//build/config/compiler:chromium_code" ] |
| 642 configs -= [ "//build/config/compiler:no_exceptions" ] | 649 if (is_posix) { |
| 643 configs += [ "//build/config/compiler:exceptions" ] | 650 configs -= [ "//build/config/gcc:no_exceptions" ] |
| 651 } |
| 644 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 652 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
| 645 | 653 |
| 646 if (pdf_use_skia) { | 654 if (pdf_use_skia) { |
| 647 sources = [ | 655 sources = [ |
| 648 "core/src/fxge/skia/fx_skia_blitter_new.cpp", | 656 "core/src/fxge/skia/fx_skia_blitter_new.cpp", |
| 649 "core/src/fxge/skia/fx_skia_device.cpp", | 657 "core/src/fxge/skia/fx_skia_device.cpp", |
| 650 ] | 658 ] |
| 651 include_dirs = [ | 659 include_dirs = [ |
| 652 "//third_party/skia/include/config", | 660 "//third_party/skia/include/config", |
| 653 "//third_party/skia/include/core", | 661 "//third_party/skia/include/core", |
| (...skipping 30 matching lines...) Expand all Loading... |
| 684 "fpdfsdk/include/fxedit/fxet_edit.h", | 692 "fpdfsdk/include/fxedit/fxet_edit.h", |
| 685 "fpdfsdk/include/fxedit/fxet_list.h", | 693 "fpdfsdk/include/fxedit/fxet_list.h", |
| 686 "fpdfsdk/include/fxedit/fxet_stub.h", | 694 "fpdfsdk/include/fxedit/fxet_stub.h", |
| 687 "fpdfsdk/src/fxedit/fxet_ap.cpp", | 695 "fpdfsdk/src/fxedit/fxet_ap.cpp", |
| 688 "fpdfsdk/src/fxedit/fxet_edit.cpp", | 696 "fpdfsdk/src/fxedit/fxet_edit.cpp", |
| 689 "fpdfsdk/src/fxedit/fxet_list.cpp", | 697 "fpdfsdk/src/fxedit/fxet_list.cpp", |
| 690 "fpdfsdk/src/fxedit/fxet_module.cpp", | 698 "fpdfsdk/src/fxedit/fxet_module.cpp", |
| 691 "fpdfsdk/src/fxedit/fxet_pageobjs.cpp", | 699 "fpdfsdk/src/fxedit/fxet_pageobjs.cpp", |
| 692 ] | 700 ] |
| 693 configs -= [ "//build/config/compiler:chromium_code" ] | 701 configs -= [ "//build/config/compiler:chromium_code" ] |
| 694 configs -= [ "//build/config/compiler:no_exceptions" ] | 702 if (is_posix) { |
| 695 configs += [ "//build/config/compiler:exceptions" ] | 703 configs -= [ "//build/config/gcc:no_exceptions" ] |
| 704 } |
| 696 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 705 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
| 697 } | 706 } |
| 698 | 707 |
| 699 static_library("pdfwindow") { | 708 static_library("pdfwindow") { |
| 700 sources = [ | 709 sources = [ |
| 701 "fpdfsdk/include/pdfwindow/IPDFWindow.h", | 710 "fpdfsdk/include/pdfwindow/IPDFWindow.h", |
| 702 "fpdfsdk/include/pdfwindow/PDFWindow.h", | 711 "fpdfsdk/include/pdfwindow/PDFWindow.h", |
| 703 "fpdfsdk/include/pdfwindow/PWL_Button.h", | 712 "fpdfsdk/include/pdfwindow/PWL_Button.h", |
| 704 "fpdfsdk/include/pdfwindow/PWL_Caret.h", | 713 "fpdfsdk/include/pdfwindow/PWL_Caret.h", |
| 705 "fpdfsdk/include/pdfwindow/PWL_ComboBox.h", | 714 "fpdfsdk/include/pdfwindow/PWL_ComboBox.h", |
| (...skipping 23 matching lines...) Expand all Loading... |
| 729 "fpdfsdk/src/pdfwindow/PWL_ListBox.cpp", | 738 "fpdfsdk/src/pdfwindow/PWL_ListBox.cpp", |
| 730 "fpdfsdk/src/pdfwindow/PWL_ListCtrl.cpp", | 739 "fpdfsdk/src/pdfwindow/PWL_ListCtrl.cpp", |
| 731 "fpdfsdk/src/pdfwindow/PWL_Note.cpp", | 740 "fpdfsdk/src/pdfwindow/PWL_Note.cpp", |
| 732 "fpdfsdk/src/pdfwindow/PWL_ScrollBar.cpp", | 741 "fpdfsdk/src/pdfwindow/PWL_ScrollBar.cpp", |
| 733 "fpdfsdk/src/pdfwindow/PWL_Signature.cpp", | 742 "fpdfsdk/src/pdfwindow/PWL_Signature.cpp", |
| 734 "fpdfsdk/src/pdfwindow/PWL_SpecialButton.cpp", | 743 "fpdfsdk/src/pdfwindow/PWL_SpecialButton.cpp", |
| 735 "fpdfsdk/src/pdfwindow/PWL_Utils.cpp", | 744 "fpdfsdk/src/pdfwindow/PWL_Utils.cpp", |
| 736 "fpdfsdk/src/pdfwindow/PWL_Wnd.cpp", | 745 "fpdfsdk/src/pdfwindow/PWL_Wnd.cpp", |
| 737 ] | 746 ] |
| 738 configs -= [ "//build/config/compiler:chromium_code" ] | 747 configs -= [ "//build/config/compiler:chromium_code" ] |
| 739 configs -= [ "//build/config/compiler:no_exceptions" ] | 748 if (is_posix) { |
| 740 configs += [ "//build/config/compiler:exceptions" ] | 749 configs -= [ "//build/config/gcc:no_exceptions" ] |
| 750 } |
| 741 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 751 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
| 742 } | 752 } |
| 743 | 753 |
| 744 static_library("javascript") { | 754 static_library("javascript") { |
| 745 sources = [ | 755 sources = [ |
| 746 "fpdfsdk/include/javascript/app.h", | 756 "fpdfsdk/include/javascript/app.h", |
| 747 "fpdfsdk/include/javascript/color.h", | 757 "fpdfsdk/include/javascript/color.h", |
| 748 "fpdfsdk/include/javascript/console.h", | 758 "fpdfsdk/include/javascript/console.h", |
| 749 "fpdfsdk/include/javascript/Consts.h", | 759 "fpdfsdk/include/javascript/Consts.h", |
| 750 "fpdfsdk/include/javascript/Document.h", | 760 "fpdfsdk/include/javascript/Document.h", |
| (...skipping 30 matching lines...) Expand all Loading... |
| 781 "fpdfsdk/src/javascript/JS_GlobalData.cpp", | 791 "fpdfsdk/src/javascript/JS_GlobalData.cpp", |
| 782 "fpdfsdk/src/javascript/JS_Object.cpp", | 792 "fpdfsdk/src/javascript/JS_Object.cpp", |
| 783 "fpdfsdk/src/javascript/JS_Runtime.cpp", | 793 "fpdfsdk/src/javascript/JS_Runtime.cpp", |
| 784 "fpdfsdk/src/javascript/JS_Value.cpp", | 794 "fpdfsdk/src/javascript/JS_Value.cpp", |
| 785 "fpdfsdk/src/javascript/PublicMethods.cpp", | 795 "fpdfsdk/src/javascript/PublicMethods.cpp", |
| 786 "fpdfsdk/src/javascript/report.cpp", | 796 "fpdfsdk/src/javascript/report.cpp", |
| 787 "fpdfsdk/src/javascript/util.cpp", | 797 "fpdfsdk/src/javascript/util.cpp", |
| 788 ] | 798 ] |
| 789 | 799 |
| 790 configs -= [ "//build/config/compiler:chromium_code" ] | 800 configs -= [ "//build/config/compiler:chromium_code" ] |
| 791 configs -= [ "//build/config/compiler:no_exceptions" ] | 801 if (is_posix) { |
| 792 configs += [ "//build/config/compiler:exceptions" ] | 802 configs -= [ "//build/config/gcc:no_exceptions" ] |
| 803 } |
| 793 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 804 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
| 794 include_dirs = [ | 805 include_dirs = [ |
| 795 "//v8", | 806 "//v8", |
| 796 "//v8/include", | 807 "//v8/include", |
| 797 ] | 808 ] |
| 798 deps = [ | 809 deps = [ |
| 799 "//v8", | 810 "//v8", |
| 800 ] | 811 ] |
| 801 forward_dependent_configs_from = [ "//v8" ] | 812 forward_dependent_configs_from = [ "//v8" ] |
| 802 } | 813 } |
| 803 | 814 |
| 804 static_library("jsapi") { | 815 static_library("jsapi") { |
| 805 sources = [ | 816 sources = [ |
| 806 "fpdfsdk/include/jsapi/fxjs_v8.h", | 817 "fpdfsdk/include/jsapi/fxjs_v8.h", |
| 807 "fpdfsdk/src/jsapi/fxjs_v8.cpp", | 818 "fpdfsdk/src/jsapi/fxjs_v8.cpp", |
| 808 ] | 819 ] |
| 809 | 820 |
| 810 configs -= [ "//build/config/compiler:chromium_code" ] | 821 configs -= [ "//build/config/compiler:chromium_code" ] |
| 811 configs -= [ "//build/config/compiler:no_exceptions" ] | 822 if (is_posix) { |
| 812 configs += [ "//build/config/compiler:exceptions" ] | 823 configs -= [ "//build/config/gcc:no_exceptions" ] |
| 824 } |
| 813 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 825 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
| 814 include_dirs = [ | 826 include_dirs = [ |
| 815 "//v8", | 827 "//v8", |
| 816 "//v8/include", | 828 "//v8/include", |
| 817 ] | 829 ] |
| 818 deps = [ | 830 deps = [ |
| 819 "//v8", | 831 "//v8", |
| 820 ] | 832 ] |
| 821 forward_dependent_configs_from = [ "//v8" ] | 833 forward_dependent_configs_from = [ "//v8" ] |
| 822 } | 834 } |
| (...skipping 18 matching lines...) Expand all Loading... |
| 841 "fpdfsdk/src/formfiller/FFL_FormFiller.cpp", | 853 "fpdfsdk/src/formfiller/FFL_FormFiller.cpp", |
| 842 "fpdfsdk/src/formfiller/FFL_IFormFiller.cpp", | 854 "fpdfsdk/src/formfiller/FFL_IFormFiller.cpp", |
| 843 "fpdfsdk/src/formfiller/FFL_ListBox.cpp", | 855 "fpdfsdk/src/formfiller/FFL_ListBox.cpp", |
| 844 "fpdfsdk/src/formfiller/FFL_Notify.cpp", | 856 "fpdfsdk/src/formfiller/FFL_Notify.cpp", |
| 845 "fpdfsdk/src/formfiller/FFL_PushButton.cpp", | 857 "fpdfsdk/src/formfiller/FFL_PushButton.cpp", |
| 846 "fpdfsdk/src/formfiller/FFL_RadioButton.cpp", | 858 "fpdfsdk/src/formfiller/FFL_RadioButton.cpp", |
| 847 "fpdfsdk/src/formfiller/FFL_TextField.cpp", | 859 "fpdfsdk/src/formfiller/FFL_TextField.cpp", |
| 848 "fpdfsdk/src/formfiller/FFL_Utils.cpp", | 860 "fpdfsdk/src/formfiller/FFL_Utils.cpp", |
| 849 ] | 861 ] |
| 850 configs -= [ "//build/config/compiler:chromium_code" ] | 862 configs -= [ "//build/config/compiler:chromium_code" ] |
| 851 configs -= [ "//build/config/compiler:no_exceptions" ] | 863 if (is_posix) { |
| 852 configs += [ "//build/config/compiler:exceptions" ] | 864 configs -= [ "//build/config/gcc:no_exceptions" ] |
| 865 } |
| 853 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] | 866 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] |
| 854 } | 867 } |
| OLD | NEW |