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

Side by Side Diff: BUILD.gn

Issue 1901183002: Remove CFWL_Note. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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 | xfa.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 958 matching lines...) Expand 10 before | Expand all | Expand 10 after
1016 "xfa/fwl/basewidget/ifwl_edit.h", 1014 "xfa/fwl/basewidget/ifwl_edit.h",
1017 "xfa/fwl/basewidget/ifwl_listbox.h", 1015 "xfa/fwl/basewidget/ifwl_listbox.h",
1018 "xfa/fwl/basewidget/ifwl_monthcalendar.h", 1016 "xfa/fwl/basewidget/ifwl_monthcalendar.h",
1019 "xfa/fwl/basewidget/ifwl_picturebox.h", 1017 "xfa/fwl/basewidget/ifwl_picturebox.h",
1020 "xfa/fwl/basewidget/ifwl_pushbutton.h", 1018 "xfa/fwl/basewidget/ifwl_pushbutton.h",
1021 "xfa/fwl/basewidget/ifwl_scrollbar.h", 1019 "xfa/fwl/basewidget/ifwl_scrollbar.h",
1022 "xfa/fwl/basewidget/ifwl_spinbutton.h", 1020 "xfa/fwl/basewidget/ifwl_spinbutton.h",
1023 "xfa/fwl/basewidget/ifwl_tooltip.h", 1021 "xfa/fwl/basewidget/ifwl_tooltip.h",
1024 "xfa/fwl/core/cfwl_event.h", 1022 "xfa/fwl/core/cfwl_event.h",
1025 "xfa/fwl/core/cfwl_message.h", 1023 "xfa/fwl/core/cfwl_message.h",
1026 "xfa/fwl/core/cfwl_note.h",
1027 "xfa/fwl/core/cfwl_themebackground.h", 1024 "xfa/fwl/core/cfwl_themebackground.h",
1028 "xfa/fwl/core/cfwl_themepart.h", 1025 "xfa/fwl/core/cfwl_themepart.h",
1029 "xfa/fwl/core/cfwl_themetext.h", 1026 "xfa/fwl/core/cfwl_themetext.h",
1030 "xfa/fwl/core/cfwl_widgetimpproperties.h", 1027 "xfa/fwl/core/cfwl_widgetimpproperties.h",
1031 "xfa/fwl/core/fwl_appimp.cpp", 1028 "xfa/fwl/core/fwl_appimp.cpp",
1032 "xfa/fwl/core/fwl_appimp.h", 1029 "xfa/fwl/core/fwl_appimp.h",
1033 "xfa/fwl/core/fwl_error.h", 1030 "xfa/fwl/core/fwl_error.h",
1034 "xfa/fwl/core/fwl_formimp.cpp", 1031 "xfa/fwl/core/fwl_formimp.cpp",
1035 "xfa/fwl/core/fwl_formimp.h", 1032 "xfa/fwl/core/fwl_formimp.h",
1036 "xfa/fwl/core/fwl_noteimp.cpp", 1033 "xfa/fwl/core/fwl_noteimp.cpp",
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after
1715 } 1712 }
1716 1713
1717 if (pdf_is_standalone) { 1714 if (pdf_is_standalone) {
1718 source_set("samples") { 1715 source_set("samples") {
1719 testonly = true 1716 testonly = true
1720 deps = [ 1717 deps = [
1721 "//samples", 1718 "//samples",
1722 ] 1719 ]
1723 } 1720 }
1724 } 1721 }
OLDNEW
« no previous file with comments | « no previous file | xfa.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698