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

Side by Side Diff: third_party/BUILD.gn

Issue 1862773002: Suppress some additional msvs warnings (GN). (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: ordering nit 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 | « BUILD.gn ('k') | 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 PDFium Authors. All rights reserved. 1 # Copyright 2014 PDFium 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("../pdfium.gni") 5 import("../pdfium.gni")
6 6
7 group("third_party") { 7 group("third_party") {
8 deps = [ 8 deps = [
9 ":bigint", 9 ":bigint",
10 ":fx_freetype", 10 ":fx_freetype",
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 "libjpeg/jmemsys.h", 245 "libjpeg/jmemsys.h",
246 "libjpeg/jmorecfg.h", 246 "libjpeg/jmorecfg.h",
247 "libjpeg/jpegint.h", 247 "libjpeg/jpegint.h",
248 "libjpeg/jpeglib.h", 248 "libjpeg/jpeglib.h",
249 "libjpeg/jversion.h", 249 "libjpeg/jversion.h",
250 "libjpeg/makefile", 250 "libjpeg/makefile",
251 "libjpeg/transupp.h", 251 "libjpeg/transupp.h",
252 ] 252 ]
253 } 253 }
254 254
255 config("fx_libopenjpeg_warnings") {
256 visibility = [ ":*" ]
257 if (is_win) {
258 cflags = [
259 # Signed/unsigned comparisons.
260 "/wd4018",
261 ]
262 }
263 }
264
255 source_set("fx_libopenjpeg") { 265 source_set("fx_libopenjpeg") {
256 configs -= [ "//build/config/compiler:chromium_code" ] 266 configs -= [ "//build/config/compiler:chromium_code" ]
257 configs += [ 267 configs += [
258 "//build/config/compiler:no_chromium_code", 268 "//build/config/compiler:no_chromium_code",
259 "//third_party/pdfium:pdfium_config", 269 "//third_party/pdfium:pdfium_config",
270
271 # Must be after no_chromium_code for warning flags to be ordered correctly.
272 ":fx_libopenjpeg_warnings",
260 ] 273 ]
261 sources = [ 274 sources = [
262 "libopenjpeg20/bio.c", 275 "libopenjpeg20/bio.c",
263 "libopenjpeg20/cio.c", 276 "libopenjpeg20/cio.c",
264 "libopenjpeg20/dwt.c", 277 "libopenjpeg20/dwt.c",
265 "libopenjpeg20/event.c", 278 "libopenjpeg20/event.c",
266 "libopenjpeg20/function_list.c", 279 "libopenjpeg20/function_list.c",
267 "libopenjpeg20/image.c", 280 "libopenjpeg20/image.c",
268 "libopenjpeg20/invert.c", 281 "libopenjpeg20/invert.c",
269 "libopenjpeg20/j2k.c", 282 "libopenjpeg20/j2k.c",
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 sources = [ 424 sources = [
412 "base/logging.h", 425 "base/logging.h",
413 "base/macros.h", 426 "base/macros.h",
414 "base/numerics/safe_conversions.h", 427 "base/numerics/safe_conversions.h",
415 "base/numerics/safe_conversions_impl.h", 428 "base/numerics/safe_conversions_impl.h",
416 "base/numerics/safe_math.h", 429 "base/numerics/safe_math.h",
417 "base/numerics/safe_math_impl.h", 430 "base/numerics/safe_math_impl.h",
418 "base/stl_util.h", 431 "base/stl_util.h",
419 ] 432 ]
420 } 433 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698