Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(388)

Side by Side Diff: BUILD.gn

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

Powered by Google App Engine
This is Rietveld 408576698