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

Side by Side Diff: BUILD.gn

Issue 567393004: gn: don't remove -fno-exceptions to match gyp (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 6 years, 3 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) {
89 configs -= [ "//build/config/gcc:no_exceptions" ]
90 }
91 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] 88 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
92 89
93 deps = [ 90 deps = [
94 ":safemath", 91 ":safemath",
95 ":fdrm", 92 ":fdrm",
96 ":formfiller", 93 ":formfiller",
97 ":fpdfapi", 94 ":fpdfapi",
98 ":fpdfdoc", 95 ":fpdfdoc",
99 ":fpdftext", 96 ":fpdftext",
100 ":fxcodec", 97 ":fxcodec",
(...skipping 30 matching lines...) Expand all
131 } 128 }
132 129
133 static_library("fdrm") { 130 static_library("fdrm") {
134 sources = [ 131 sources = [
135 "core/include/fdrm/fx_crypt.h", 132 "core/include/fdrm/fx_crypt.h",
136 "core/src/fdrm/crypto/fx_crypt.cpp", 133 "core/src/fdrm/crypto/fx_crypt.cpp",
137 "core/src/fdrm/crypto/fx_crypt_aes.cpp", 134 "core/src/fdrm/crypto/fx_crypt_aes.cpp",
138 "core/src/fdrm/crypto/fx_crypt_sha.cpp", 135 "core/src/fdrm/crypto/fx_crypt_sha.cpp",
139 ] 136 ]
140 configs -= [ "//build/config/compiler:chromium_code" ] 137 configs -= [ "//build/config/compiler:chromium_code" ]
141 if (is_posix) {
142 configs -= [ "//build/config/gcc:no_exceptions" ]
143 }
144 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] 138 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
145 } 139 }
146 140
147 static_library("fpdfdoc") { 141 static_library("fpdfdoc") {
148 sources = [ 142 sources = [
149 "core/include/fpdfdoc/fpdf_ap.h", 143 "core/include/fpdfdoc/fpdf_ap.h",
150 "core/include/fpdfdoc/fpdf_doc.h", 144 "core/include/fpdfdoc/fpdf_doc.h",
151 "core/include/fpdfdoc/fpdf_tagged.h", 145 "core/include/fpdfdoc/fpdf_tagged.h",
152 "core/include/fpdfdoc/fpdf_vt.h", 146 "core/include/fpdfdoc/fpdf_vt.h",
153 "core/src/fpdfdoc/doc_action.cpp", 147 "core/src/fpdfdoc/doc_action.cpp",
154 "core/src/fpdfdoc/doc_annot.cpp", 148 "core/src/fpdfdoc/doc_annot.cpp",
155 "core/src/fpdfdoc/doc_ap.cpp", 149 "core/src/fpdfdoc/doc_ap.cpp",
156 "core/src/fpdfdoc/doc_basic.cpp", 150 "core/src/fpdfdoc/doc_basic.cpp",
157 "core/src/fpdfdoc/doc_bookmark.cpp", 151 "core/src/fpdfdoc/doc_bookmark.cpp",
158 "core/src/fpdfdoc/doc_form.cpp", 152 "core/src/fpdfdoc/doc_form.cpp",
159 "core/src/fpdfdoc/doc_formcontrol.cpp", 153 "core/src/fpdfdoc/doc_formcontrol.cpp",
160 "core/src/fpdfdoc/doc_formfield.cpp", 154 "core/src/fpdfdoc/doc_formfield.cpp",
161 "core/src/fpdfdoc/doc_link.cpp", 155 "core/src/fpdfdoc/doc_link.cpp",
162 "core/src/fpdfdoc/doc_metadata.cpp", 156 "core/src/fpdfdoc/doc_metadata.cpp",
163 "core/src/fpdfdoc/doc_ocg.cpp", 157 "core/src/fpdfdoc/doc_ocg.cpp",
164 "core/src/fpdfdoc/doc_tagged.cpp", 158 "core/src/fpdfdoc/doc_tagged.cpp",
165 "core/src/fpdfdoc/doc_utils.cpp", 159 "core/src/fpdfdoc/doc_utils.cpp",
166 "core/src/fpdfdoc/doc_viewerPreferences.cpp", 160 "core/src/fpdfdoc/doc_viewerPreferences.cpp",
167 "core/src/fpdfdoc/doc_vt.cpp", 161 "core/src/fpdfdoc/doc_vt.cpp",
168 "core/src/fpdfdoc/doc_vtmodule.cpp", 162 "core/src/fpdfdoc/doc_vtmodule.cpp",
169 "core/src/fpdfdoc/pdf_vt.h", 163 "core/src/fpdfdoc/pdf_vt.h",
170 "core/src/fpdfdoc/tagged_int.h", 164 "core/src/fpdfdoc/tagged_int.h",
171 ] 165 ]
172 configs -= [ "//build/config/compiler:chromium_code" ] 166 configs -= [ "//build/config/compiler:chromium_code" ]
173 if (is_posix) {
174 configs -= [ "//build/config/gcc:no_exceptions" ]
175 }
176 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] 167 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
177 } 168 }
178 169
179 170
180 static_library("fpdfapi") { 171 static_library("fpdfapi") {
181 sources = [ 172 sources = [
182 "core/include/fpdfapi/fpdfapi.h", 173 "core/include/fpdfapi/fpdfapi.h",
183 "core/include/fpdfapi/fpdf_module.h", 174 "core/include/fpdfapi/fpdf_module.h",
184 "core/include/fpdfapi/fpdf_objects.h", 175 "core/include/fpdfapi/fpdf_objects.h",
185 "core/include/fpdfapi/fpdf_page.h", 176 "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", 281 "core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp",
291 "core/src/fpdfapi/fpdf_render/fpdf_render.cpp", 282 "core/src/fpdfapi/fpdf_render/fpdf_render.cpp",
292 "core/src/fpdfapi/fpdf_render/fpdf_render_cache.cpp", 283 "core/src/fpdfapi/fpdf_render/fpdf_render_cache.cpp",
293 "core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp", 284 "core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp",
294 "core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp", 285 "core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp",
295 "core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp", 286 "core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp",
296 "core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp", 287 "core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp",
297 "core/src/fpdfapi/fpdf_render/render_int.h", 288 "core/src/fpdfapi/fpdf_render/render_int.h",
298 ] 289 ]
299 configs -= [ "//build/config/compiler:chromium_code" ] 290 configs -= [ "//build/config/compiler:chromium_code" ]
300 if (is_posix) {
301 configs -= [ "//build/config/gcc:no_exceptions" ]
302 }
303 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] 291 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
304 } 292 }
305 293
306 static_library("fpdftext") { 294 static_library("fpdftext") {
307 sources = [ 295 sources = [
308 "core/include/fpdftext/fpdf_text.h", 296 "core/include/fpdftext/fpdf_text.h",
309 "core/src/fpdftext/fpdf_text.cpp", 297 "core/src/fpdftext/fpdf_text.cpp",
310 "core/src/fpdftext/fpdf_text_int.cpp", 298 "core/src/fpdftext/fpdf_text_int.cpp",
311 "core/src/fpdftext/fpdf_text_search.cpp", 299 "core/src/fpdftext/fpdf_text_search.cpp",
312 "core/src/fpdftext/text_int.h", 300 "core/src/fpdftext/text_int.h",
313 "core/src/fpdftext/txtproc.h", 301 "core/src/fpdftext/txtproc.h",
314 "core/src/fpdftext/unicodenormalization.cpp", 302 "core/src/fpdftext/unicodenormalization.cpp",
315 "core/src/fpdftext/unicodenormalizationdata.cpp", 303 "core/src/fpdftext/unicodenormalizationdata.cpp",
316 ] 304 ]
317 configs -= [ "//build/config/compiler:chromium_code" ] 305 configs -= [ "//build/config/compiler:chromium_code" ]
318 if (is_posix) {
319 configs -= [ "//build/config/gcc:no_exceptions" ]
320 }
321 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] 306 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
322 } 307 }
323 308
324 static_library("fxcodec") { 309 static_library("fxcodec") {
325 sources = [ 310 sources = [
326 "core/include/fxcodec/fx_codec.h", 311 "core/include/fxcodec/fx_codec.h",
327 "core/include/fxcodec/fx_codec_def.h", 312 "core/include/fxcodec/fx_codec_def.h",
328 "core/include/fxcodec/fx_codec_provider.h", 313 "core/include/fxcodec/fx_codec_provider.h",
329 "core/src/fxcodec/codec/codec_int.h", 314 "core/src/fxcodec/codec/codec_int.h",
330 "core/src/fxcodec/codec/fx_codec.cpp", 315 "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", 462 "core/src/fxcodec/libjpeg/jinclude.h",
478 "core/src/fxcodec/libjpeg/jmemsys.h", 463 "core/src/fxcodec/libjpeg/jmemsys.h",
479 "core/src/fxcodec/libjpeg/jmorecfg.h", 464 "core/src/fxcodec/libjpeg/jmorecfg.h",
480 "core/src/fxcodec/libjpeg/jpegint.h", 465 "core/src/fxcodec/libjpeg/jpegint.h",
481 "core/src/fxcodec/libjpeg/jpeglib.h", 466 "core/src/fxcodec/libjpeg/jpeglib.h",
482 "core/src/fxcodec/libjpeg/jversion.h", 467 "core/src/fxcodec/libjpeg/jversion.h",
483 "core/src/fxcodec/libjpeg/makefile", 468 "core/src/fxcodec/libjpeg/makefile",
484 "core/src/fxcodec/libjpeg/transupp.h", 469 "core/src/fxcodec/libjpeg/transupp.h",
485 ] 470 ]
486 configs -= [ "//build/config/compiler:chromium_code" ] 471 configs -= [ "//build/config/compiler:chromium_code" ]
487 if (is_posix) {
488 configs -= [ "//build/config/gcc:no_exceptions" ]
489 }
490 472
491 if (is_posix) { 473 if (is_posix) {
492 # core/src/fxcodec/fx_libopenjpeg/src/fx_mct.c does an pointer-to-int 474 # 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). 475 # conversion to check that an address is 16-bit aligned (benign).
494 cflags_c = [ "-Wno-pointer-to-int-cast" ] 476 cflags_c = [ "-Wno-pointer-to-int-cast" ]
495 } 477 }
496 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] 478 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
497 } 479 }
498 480
499 static_library("fxcrt") { 481 static_library("fxcrt") {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 "core/src/fxcrt/fx_basic_wstring.cpp", 513 "core/src/fxcrt/fx_basic_wstring.cpp",
532 "core/src/fxcrt/fx_extension.cpp", 514 "core/src/fxcrt/fx_extension.cpp",
533 "core/src/fxcrt/fx_ucddata.cpp", 515 "core/src/fxcrt/fx_ucddata.cpp",
534 "core/src/fxcrt/fx_unicode.cpp", 516 "core/src/fxcrt/fx_unicode.cpp",
535 "core/src/fxcrt/fx_xml_composer.cpp", 517 "core/src/fxcrt/fx_xml_composer.cpp",
536 "core/src/fxcrt/fx_xml_parser.cpp", 518 "core/src/fxcrt/fx_xml_parser.cpp",
537 "core/src/fxcrt/plex.h", 519 "core/src/fxcrt/plex.h",
538 "core/src/fxcrt/xml_int.h", 520 "core/src/fxcrt/xml_int.h",
539 ] 521 ]
540 configs -= [ "//build/config/compiler:chromium_code" ] 522 configs -= [ "//build/config/compiler:chromium_code" ]
541 if (is_posix) {
542 configs -= [ "//build/config/gcc:no_exceptions" ]
543 }
544 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] 523 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
545 } 524 }
546 525
547 static_library("fxge") { 526 static_library("fxge") {
548 sources = [ 527 sources = [
549 "core/include/fxge/fpf.h", 528 "core/include/fxge/fpf.h",
550 "core/include/fxge/fx_dib.h", 529 "core/include/fxge/fx_dib.h",
551 "core/include/fxge/fx_font.h", 530 "core/include/fxge/fx_font.h",
552 "core/include/fxge/fx_freetype.h", 531 "core/include/fxge/fx_freetype.h",
553 "core/include/fxge/fx_ge.h", 532 "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", 618 "core/src/fxge/ge/fx_ge_font.cpp",
640 "core/src/fxge/ge/fx_ge_fontmap.cpp", 619 "core/src/fxge/ge/fx_ge_fontmap.cpp",
641 "core/src/fxge/ge/fx_ge_linux.cpp", 620 "core/src/fxge/ge/fx_ge_linux.cpp",
642 "core/src/fxge/ge/fx_ge_path.cpp", 621 "core/src/fxge/ge/fx_ge_path.cpp",
643 "core/src/fxge/ge/fx_ge_ps.cpp", 622 "core/src/fxge/ge/fx_ge_ps.cpp",
644 "core/src/fxge/ge/fx_ge_text.cpp", 623 "core/src/fxge/ge/fx_ge_text.cpp",
645 "core/src/fxge/ge/text_int.h", 624 "core/src/fxge/ge/text_int.h",
646 ] 625 ]
647 626
648 configs -= [ "//build/config/compiler:chromium_code" ] 627 configs -= [ "//build/config/compiler:chromium_code" ]
649 if (is_posix) {
650 configs -= [ "//build/config/gcc:no_exceptions" ]
651 }
652 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] 628 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
653 629
654 if (pdf_use_skia) { 630 if (pdf_use_skia) {
655 sources = [ 631 sources = [
656 "core/src/fxge/skia/fx_skia_blitter_new.cpp", 632 "core/src/fxge/skia/fx_skia_blitter_new.cpp",
657 "core/src/fxge/skia/fx_skia_device.cpp", 633 "core/src/fxge/skia/fx_skia_device.cpp",
658 ] 634 ]
659 include_dirs = [ 635 include_dirs = [
660 "//third_party/skia/include/config", 636 "//third_party/skia/include/config",
661 "//third_party/skia/include/core", 637 "//third_party/skia/include/core",
(...skipping 30 matching lines...) Expand all
692 "fpdfsdk/include/fxedit/fxet_edit.h", 668 "fpdfsdk/include/fxedit/fxet_edit.h",
693 "fpdfsdk/include/fxedit/fxet_list.h", 669 "fpdfsdk/include/fxedit/fxet_list.h",
694 "fpdfsdk/include/fxedit/fxet_stub.h", 670 "fpdfsdk/include/fxedit/fxet_stub.h",
695 "fpdfsdk/src/fxedit/fxet_ap.cpp", 671 "fpdfsdk/src/fxedit/fxet_ap.cpp",
696 "fpdfsdk/src/fxedit/fxet_edit.cpp", 672 "fpdfsdk/src/fxedit/fxet_edit.cpp",
697 "fpdfsdk/src/fxedit/fxet_list.cpp", 673 "fpdfsdk/src/fxedit/fxet_list.cpp",
698 "fpdfsdk/src/fxedit/fxet_module.cpp", 674 "fpdfsdk/src/fxedit/fxet_module.cpp",
699 "fpdfsdk/src/fxedit/fxet_pageobjs.cpp", 675 "fpdfsdk/src/fxedit/fxet_pageobjs.cpp",
700 ] 676 ]
701 configs -= [ "//build/config/compiler:chromium_code" ] 677 configs -= [ "//build/config/compiler:chromium_code" ]
702 if (is_posix) {
703 configs -= [ "//build/config/gcc:no_exceptions" ]
704 }
705 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] 678 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
706 } 679 }
707 680
708 static_library("pdfwindow") { 681 static_library("pdfwindow") {
709 sources = [ 682 sources = [
710 "fpdfsdk/include/pdfwindow/IPDFWindow.h", 683 "fpdfsdk/include/pdfwindow/IPDFWindow.h",
711 "fpdfsdk/include/pdfwindow/PDFWindow.h", 684 "fpdfsdk/include/pdfwindow/PDFWindow.h",
712 "fpdfsdk/include/pdfwindow/PWL_Button.h", 685 "fpdfsdk/include/pdfwindow/PWL_Button.h",
713 "fpdfsdk/include/pdfwindow/PWL_Caret.h", 686 "fpdfsdk/include/pdfwindow/PWL_Caret.h",
714 "fpdfsdk/include/pdfwindow/PWL_ComboBox.h", 687 "fpdfsdk/include/pdfwindow/PWL_ComboBox.h",
(...skipping 23 matching lines...) Expand all
738 "fpdfsdk/src/pdfwindow/PWL_ListBox.cpp", 711 "fpdfsdk/src/pdfwindow/PWL_ListBox.cpp",
739 "fpdfsdk/src/pdfwindow/PWL_ListCtrl.cpp", 712 "fpdfsdk/src/pdfwindow/PWL_ListCtrl.cpp",
740 "fpdfsdk/src/pdfwindow/PWL_Note.cpp", 713 "fpdfsdk/src/pdfwindow/PWL_Note.cpp",
741 "fpdfsdk/src/pdfwindow/PWL_ScrollBar.cpp", 714 "fpdfsdk/src/pdfwindow/PWL_ScrollBar.cpp",
742 "fpdfsdk/src/pdfwindow/PWL_Signature.cpp", 715 "fpdfsdk/src/pdfwindow/PWL_Signature.cpp",
743 "fpdfsdk/src/pdfwindow/PWL_SpecialButton.cpp", 716 "fpdfsdk/src/pdfwindow/PWL_SpecialButton.cpp",
744 "fpdfsdk/src/pdfwindow/PWL_Utils.cpp", 717 "fpdfsdk/src/pdfwindow/PWL_Utils.cpp",
745 "fpdfsdk/src/pdfwindow/PWL_Wnd.cpp", 718 "fpdfsdk/src/pdfwindow/PWL_Wnd.cpp",
746 ] 719 ]
747 configs -= [ "//build/config/compiler:chromium_code" ] 720 configs -= [ "//build/config/compiler:chromium_code" ]
748 if (is_posix) {
749 configs -= [ "//build/config/gcc:no_exceptions" ]
750 }
751 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] 721 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
752 } 722 }
753 723
754 static_library("javascript") { 724 static_library("javascript") {
755 sources = [ 725 sources = [
756 "fpdfsdk/include/javascript/app.h", 726 "fpdfsdk/include/javascript/app.h",
757 "fpdfsdk/include/javascript/color.h", 727 "fpdfsdk/include/javascript/color.h",
758 "fpdfsdk/include/javascript/console.h", 728 "fpdfsdk/include/javascript/console.h",
759 "fpdfsdk/include/javascript/Consts.h", 729 "fpdfsdk/include/javascript/Consts.h",
760 "fpdfsdk/include/javascript/Document.h", 730 "fpdfsdk/include/javascript/Document.h",
(...skipping 30 matching lines...) Expand all
791 "fpdfsdk/src/javascript/JS_GlobalData.cpp", 761 "fpdfsdk/src/javascript/JS_GlobalData.cpp",
792 "fpdfsdk/src/javascript/JS_Object.cpp", 762 "fpdfsdk/src/javascript/JS_Object.cpp",
793 "fpdfsdk/src/javascript/JS_Runtime.cpp", 763 "fpdfsdk/src/javascript/JS_Runtime.cpp",
794 "fpdfsdk/src/javascript/JS_Value.cpp", 764 "fpdfsdk/src/javascript/JS_Value.cpp",
795 "fpdfsdk/src/javascript/PublicMethods.cpp", 765 "fpdfsdk/src/javascript/PublicMethods.cpp",
796 "fpdfsdk/src/javascript/report.cpp", 766 "fpdfsdk/src/javascript/report.cpp",
797 "fpdfsdk/src/javascript/util.cpp", 767 "fpdfsdk/src/javascript/util.cpp",
798 ] 768 ]
799 769
800 configs -= [ "//build/config/compiler:chromium_code" ] 770 configs -= [ "//build/config/compiler:chromium_code" ]
801 if (is_posix) {
802 configs -= [ "//build/config/gcc:no_exceptions" ]
803 }
804 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] 771 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
805 include_dirs = [ 772 include_dirs = [
806 "//v8", 773 "//v8",
807 "//v8/include", 774 "//v8/include",
808 ] 775 ]
809 deps = [ 776 deps = [
810 "//v8", 777 "//v8",
811 "//v8:v8_libplatform", 778 "//v8:v8_libplatform",
812 ] 779 ]
813 forward_dependent_configs_from = [ "//v8" ] 780 forward_dependent_configs_from = [ "//v8" ]
814 } 781 }
815 782
816 static_library("jsapi") { 783 static_library("jsapi") {
817 sources = [ 784 sources = [
818 "fpdfsdk/include/jsapi/fxjs_v8.h", 785 "fpdfsdk/include/jsapi/fxjs_v8.h",
819 "fpdfsdk/src/jsapi/fxjs_v8.cpp", 786 "fpdfsdk/src/jsapi/fxjs_v8.cpp",
820 ] 787 ]
821 788
822 configs -= [ "//build/config/compiler:chromium_code" ] 789 configs -= [ "//build/config/compiler:chromium_code" ]
823 if (is_posix) {
824 configs -= [ "//build/config/gcc:no_exceptions" ]
825 }
826 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] 790 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
827 include_dirs = [ 791 include_dirs = [
828 "//v8", 792 "//v8",
829 "//v8/include", 793 "//v8/include",
830 ] 794 ]
831 deps = [ 795 deps = [
832 "//v8", 796 "//v8",
833 ] 797 ]
834 forward_dependent_configs_from = [ "//v8" ] 798 forward_dependent_configs_from = [ "//v8" ]
835 } 799 }
(...skipping 18 matching lines...) Expand all
854 "fpdfsdk/src/formfiller/FFL_FormFiller.cpp", 818 "fpdfsdk/src/formfiller/FFL_FormFiller.cpp",
855 "fpdfsdk/src/formfiller/FFL_IFormFiller.cpp", 819 "fpdfsdk/src/formfiller/FFL_IFormFiller.cpp",
856 "fpdfsdk/src/formfiller/FFL_ListBox.cpp", 820 "fpdfsdk/src/formfiller/FFL_ListBox.cpp",
857 "fpdfsdk/src/formfiller/FFL_Notify.cpp", 821 "fpdfsdk/src/formfiller/FFL_Notify.cpp",
858 "fpdfsdk/src/formfiller/FFL_PushButton.cpp", 822 "fpdfsdk/src/formfiller/FFL_PushButton.cpp",
859 "fpdfsdk/src/formfiller/FFL_RadioButton.cpp", 823 "fpdfsdk/src/formfiller/FFL_RadioButton.cpp",
860 "fpdfsdk/src/formfiller/FFL_TextField.cpp", 824 "fpdfsdk/src/formfiller/FFL_TextField.cpp",
861 "fpdfsdk/src/formfiller/FFL_Utils.cpp", 825 "fpdfsdk/src/formfiller/FFL_Utils.cpp",
862 ] 826 ]
863 configs -= [ "//build/config/compiler:chromium_code" ] 827 configs -= [ "//build/config/compiler:chromium_code" ]
864 if (is_posix) {
865 configs -= [ "//build/config/gcc:no_exceptions" ]
866 }
867 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] 828 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
868 } 829 }
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