| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 import("//build_overrides/v8.gni") | 5 import("//build_overrides/v8.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 import("pdfium.gni") | 7 import("pdfium.gni") |
| 8 | 8 |
| 9 config("pdfium_config") { | 9 config("pdfium_config") { |
| 10 cflags = [] | 10 cflags = [] |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 if (is_linux) { | 35 if (is_linux) { |
| 36 if (current_cpu == "x64") { | 36 if (current_cpu == "x64") { |
| 37 defines += [ "_FX_CPU_=_FX_X64_" ] | 37 defines += [ "_FX_CPU_=_FX_X64_" ] |
| 38 cflags += [ "-fPIC" ] | 38 cflags += [ "-fPIC" ] |
| 39 } else if (current_cpu == "x86") { | 39 } else if (current_cpu == "x86") { |
| 40 defines += [ "_FX_CPU_=_FX_X86_" ] | 40 defines += [ "_FX_CPU_=_FX_X86_" ] |
| 41 } | 41 } |
| 42 } | 42 } |
| 43 | 43 |
| 44 if (is_win) { | 44 if (is_win) { |
| 45 cflags += [ | 45 cflags += [ "/wd4267" ] |
| 46 "/wd4267", | |
| 47 ] | |
| 48 } | 46 } |
| 49 | 47 |
| 50 if (is_clang || is_posix) { | 48 if (is_clang || is_posix) { |
| 51 # TODO(thestig): Fix all instances, remove this, pdfium:29 | 49 # TODO(thestig): Fix all instances, remove this, pdfium:29 |
| 52 cflags += [ "-Wno-sign-compare" ] | 50 cflags += [ "-Wno-sign-compare" ] |
| 53 } | 51 } |
| 54 | 52 |
| 55 if (is_posix && !is_clang) { # When GCC. | 53 if (is_posix && !is_clang) { # When GCC. |
| 56 cflags += [ "-Wno-error=strict-overflow" ] | 54 cflags += [ "-Wno-error=strict-overflow" ] |
| 57 } | 55 } |
| (...skipping 972 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1030 "xfa/fwl/basewidget/ifwl_tooltip.h", | 1028 "xfa/fwl/basewidget/ifwl_tooltip.h", |
| 1031 "xfa/fwl/core/cfwl_event.h", | 1029 "xfa/fwl/core/cfwl_event.h", |
| 1032 "xfa/fwl/core/cfwl_message.h", | 1030 "xfa/fwl/core/cfwl_message.h", |
| 1033 "xfa/fwl/core/cfwl_note.h", | 1031 "xfa/fwl/core/cfwl_note.h", |
| 1034 "xfa/fwl/core/cfwl_themebackground.h", | 1032 "xfa/fwl/core/cfwl_themebackground.h", |
| 1035 "xfa/fwl/core/cfwl_themepart.h", | 1033 "xfa/fwl/core/cfwl_themepart.h", |
| 1036 "xfa/fwl/core/cfwl_themetext.h", | 1034 "xfa/fwl/core/cfwl_themetext.h", |
| 1037 "xfa/fwl/core/cfwl_widgetimpproperties.h", | 1035 "xfa/fwl/core/cfwl_widgetimpproperties.h", |
| 1038 "xfa/fwl/core/fwl_appimp.cpp", | 1036 "xfa/fwl/core/fwl_appimp.cpp", |
| 1039 "xfa/fwl/core/fwl_appimp.h", | 1037 "xfa/fwl/core/fwl_appimp.h", |
| 1040 "xfa/fwl/core/fwl_contentimp.cpp", | |
| 1041 "xfa/fwl/core/fwl_contentimp.h", | |
| 1042 "xfa/fwl/core/fwl_error.h", | 1038 "xfa/fwl/core/fwl_error.h", |
| 1043 "xfa/fwl/core/fwl_formimp.cpp", | 1039 "xfa/fwl/core/fwl_formimp.cpp", |
| 1044 "xfa/fwl/core/fwl_formimp.h", | 1040 "xfa/fwl/core/fwl_formimp.h", |
| 1045 "xfa/fwl/core/fwl_noteimp.cpp", | 1041 "xfa/fwl/core/fwl_noteimp.cpp", |
| 1046 "xfa/fwl/core/fwl_noteimp.h", | 1042 "xfa/fwl/core/fwl_noteimp.h", |
| 1047 "xfa/fwl/core/fwl_panelimp.cpp", | 1043 "xfa/fwl/core/fwl_panelimp.cpp", |
| 1048 "xfa/fwl/core/fwl_panelimp.h", | 1044 "xfa/fwl/core/fwl_panelimp.h", |
| 1049 "xfa/fwl/core/fwl_sdadapterimp.cpp", | 1045 "xfa/fwl/core/fwl_sdadapterimp.cpp", |
| 1050 "xfa/fwl/core/fwl_sdadapterimp.h", | 1046 "xfa/fwl/core/fwl_sdadapterimp.h", |
| 1051 "xfa/fwl/core/fwl_targetimp.cpp", | 1047 "xfa/fwl/core/fwl_targetimp.cpp", |
| 1052 "xfa/fwl/core/fwl_targetimp.h", | 1048 "xfa/fwl/core/fwl_targetimp.h", |
| 1053 "xfa/fwl/core/fwl_threadimp.cpp", | 1049 "xfa/fwl/core/fwl_threadimp.cpp", |
| 1054 "xfa/fwl/core/fwl_threadimp.h", | 1050 "xfa/fwl/core/fwl_threadimp.h", |
| 1055 "xfa/fwl/core/fwl_timerimp.cpp", | 1051 "xfa/fwl/core/fwl_timerimp.cpp", |
| 1056 "xfa/fwl/core/fwl_widgetdef.h", | 1052 "xfa/fwl/core/fwl_widgetdef.h", |
| 1057 "xfa/fwl/core/fwl_widgetimp.cpp", | 1053 "xfa/fwl/core/fwl_widgetimp.cpp", |
| 1058 "xfa/fwl/core/fwl_widgetimp.h", | 1054 "xfa/fwl/core/fwl_widgetimp.h", |
| 1059 "xfa/fwl/core/fwl_widgetmgrimp.cpp", | 1055 "xfa/fwl/core/fwl_widgetmgrimp.cpp", |
| 1060 "xfa/fwl/core/fwl_widgetmgrimp.h", | 1056 "xfa/fwl/core/fwl_widgetmgrimp.h", |
| 1061 "xfa/fwl/core/ifwl_adapternative.h", | 1057 "xfa/fwl/core/ifwl_adapternative.h", |
| 1062 "xfa/fwl/core/ifwl_adapterthreadmgr.h", | 1058 "xfa/fwl/core/ifwl_adapterthreadmgr.h", |
| 1063 "xfa/fwl/core/ifwl_adapterwidgetmgr.h", | 1059 "xfa/fwl/core/ifwl_adapterwidgetmgr.h", |
| 1064 "xfa/fwl/core/ifwl_app.h", | 1060 "xfa/fwl/core/ifwl_app.h", |
| 1065 "xfa/fwl/core/ifwl_content.h", | |
| 1066 "xfa/fwl/core/ifwl_custom.h", | |
| 1067 "xfa/fwl/core/ifwl_custompanel.h", | |
| 1068 "xfa/fwl/core/ifwl_dataprovider.h", | 1061 "xfa/fwl/core/ifwl_dataprovider.h", |
| 1069 "xfa/fwl/core/ifwl_form.h", | 1062 "xfa/fwl/core/ifwl_form.h", |
| 1070 "xfa/fwl/core/ifwl_notedriver.h", | 1063 "xfa/fwl/core/ifwl_notedriver.h", |
| 1071 "xfa/fwl/core/ifwl_noteloop.h", | 1064 "xfa/fwl/core/ifwl_noteloop.h", |
| 1072 "xfa/fwl/core/ifwl_notethread.h", | 1065 "xfa/fwl/core/ifwl_notethread.h", |
| 1073 "xfa/fwl/core/ifwl_panel.h", | 1066 "xfa/fwl/core/ifwl_panel.h", |
| 1074 "xfa/fwl/core/ifwl_proxy.h", | |
| 1075 "xfa/fwl/core/ifwl_target.h", | 1067 "xfa/fwl/core/ifwl_target.h", |
| 1076 "xfa/fwl/core/ifwl_themeprovider.h", | 1068 "xfa/fwl/core/ifwl_themeprovider.h", |
| 1077 "xfa/fwl/core/ifwl_thread.h", | 1069 "xfa/fwl/core/ifwl_thread.h", |
| 1078 "xfa/fwl/core/ifwl_timer.h", | 1070 "xfa/fwl/core/ifwl_timer.h", |
| 1079 "xfa/fwl/core/ifwl_tooltiptarget.h", | 1071 "xfa/fwl/core/ifwl_tooltiptarget.h", |
| 1080 "xfa/fwl/core/ifwl_widget.h", | 1072 "xfa/fwl/core/ifwl_widget.h", |
| 1081 "xfa/fwl/core/ifwl_widgetdelegate.h", | 1073 "xfa/fwl/core/ifwl_widgetdelegate.h", |
| 1082 "xfa/fwl/core/ifwl_widgetmgr.h", | 1074 "xfa/fwl/core/ifwl_widgetmgr.h", |
| 1083 "xfa/fwl/core/ifwl_widgetmgrdelegate.h", | 1075 "xfa/fwl/core/ifwl_widgetmgrdelegate.h", |
| 1084 "xfa/fwl/core/include/ifwl_adaptertimermgr.h", | 1076 "xfa/fwl/core/include/ifwl_adaptertimermgr.h", |
| 1085 "xfa/fwl/lightwidget/cfwl_app.cpp", | |
| 1086 "xfa/fwl/lightwidget/cfwl_app.h", | |
| 1087 "xfa/fwl/lightwidget/cfwl_barcode.cpp", | 1077 "xfa/fwl/lightwidget/cfwl_barcode.cpp", |
| 1088 "xfa/fwl/lightwidget/cfwl_barcode.h", | 1078 "xfa/fwl/lightwidget/cfwl_barcode.h", |
| 1089 "xfa/fwl/lightwidget/cfwl_checkbox.cpp", | 1079 "xfa/fwl/lightwidget/cfwl_checkbox.cpp", |
| 1090 "xfa/fwl/lightwidget/cfwl_checkbox.h", | 1080 "xfa/fwl/lightwidget/cfwl_checkbox.h", |
| 1091 "xfa/fwl/lightwidget/cfwl_combobox.cpp", | 1081 "xfa/fwl/lightwidget/cfwl_combobox.cpp", |
| 1092 "xfa/fwl/lightwidget/cfwl_combobox.h", | 1082 "xfa/fwl/lightwidget/cfwl_combobox.h", |
| 1093 "xfa/fwl/lightwidget/cfwl_datetimepicker.cpp", | 1083 "xfa/fwl/lightwidget/cfwl_datetimepicker.cpp", |
| 1094 "xfa/fwl/lightwidget/cfwl_datetimepicker.h", | 1084 "xfa/fwl/lightwidget/cfwl_datetimepicker.h", |
| 1095 "xfa/fwl/lightwidget/cfwl_edit.cpp", | 1085 "xfa/fwl/lightwidget/cfwl_edit.cpp", |
| 1096 "xfa/fwl/lightwidget/cfwl_edit.h", | 1086 "xfa/fwl/lightwidget/cfwl_edit.h", |
| (...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1725 "//v8:v8_libplatform", | 1715 "//v8:v8_libplatform", |
| 1726 ] | 1716 ] |
| 1727 include_dirs += [ | 1717 include_dirs += [ |
| 1728 "//v8", | 1718 "//v8", |
| 1729 "//v8/include", | 1719 "//v8/include", |
| 1730 ] | 1720 ] |
| 1731 configs += [ "//v8:external_startup_data" ] | 1721 configs += [ "//v8:external_startup_data" ] |
| 1732 } | 1722 } |
| 1733 configs += [ ":pdfium_config" ] | 1723 configs += [ ":pdfium_config" ] |
| 1734 } | 1724 } |
| OLD | NEW |