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

Side by Side Diff: BUILD.gn

Issue 2013163003: Change to disable a warning for GCC compilation (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 6 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 if (is_win) { 44 if (is_win) {
45 cflags += [ "/wd4267" ] 45 cflags += [ "/wd4267" ]
46 } 46 }
47 47
48 if (is_clang || is_posix) { 48 if (is_clang || is_posix) {
49 # TODO(thestig): Fix all instances, remove this, pdfium:29 49 # TODO(thestig): Fix all instances, remove this, pdfium:29
50 cflags += [ "-Wno-sign-compare" ] 50 cflags += [ "-Wno-sign-compare" ]
51 } 51 }
52 52
53 if (is_posix && !is_clang) { # When GCC. 53 if (is_posix && !is_clang) { # When GCC.
54 cflags += [ "-Wno-error=strict-overflow" ] 54 cflags += [ "-Wno-strict-overflow" ]
55 } 55 }
56 } 56 }
57 57
58 static_library("pdfium") { 58 static_library("pdfium") {
59 sources = [ 59 sources = [
60 "fpdfsdk/cfx_systemhandler.cpp", 60 "fpdfsdk/cfx_systemhandler.cpp",
61 "fpdfsdk/cfx_systemhandler.h", 61 "fpdfsdk/cfx_systemhandler.h",
62 "fpdfsdk/fpdf_dataavail.cpp", 62 "fpdfsdk/fpdf_dataavail.cpp",
63 "fpdfsdk/fpdf_ext.cpp", 63 "fpdfsdk/fpdf_ext.cpp",
64 "fpdfsdk/fpdf_flatten.cpp", 64 "fpdfsdk/fpdf_flatten.cpp",
(...skipping 1642 matching lines...) Expand 10 before | Expand all | Expand 10 after
1707 } 1707 }
1708 1708
1709 if (pdf_is_standalone) { 1709 if (pdf_is_standalone) {
1710 source_set("samples") { 1710 source_set("samples") {
1711 testonly = true 1711 testonly = true
1712 deps = [ 1712 deps = [
1713 "//samples", 1713 "//samples",
1714 ] 1714 ]
1715 } 1715 }
1716 } 1716 }
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