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

Side by Side Diff: third_party/BUILD.gn

Issue 1763493002: Rename png_ functions conflicting with chrome. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Fix pngprefix.h comment Created 4 years, 9 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 | « testing/libfuzzer/fuzzers.gyp ('k') | third_party/libpng16/README.pdfium » ('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 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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 "libpng16/png.c", 291 "libpng16/png.c",
292 "libpng16/png.h", 292 "libpng16/png.h",
293 "libpng16/pngconf.h", 293 "libpng16/pngconf.h",
294 "libpng16/pngdebug.h", 294 "libpng16/pngdebug.h",
295 "libpng16/pngerror.c", 295 "libpng16/pngerror.c",
296 "libpng16/pngget.c", 296 "libpng16/pngget.c",
297 "libpng16/pnginfo.h", 297 "libpng16/pnginfo.h",
298 "libpng16/pnglibconf.h", 298 "libpng16/pnglibconf.h",
299 "libpng16/pngmem.c", 299 "libpng16/pngmem.c",
300 "libpng16/pngpread.c", 300 "libpng16/pngpread.c",
301 "libpng16/pngprefix.h",
301 "libpng16/pngpriv.h", 302 "libpng16/pngpriv.h",
302 "libpng16/pngread.c", 303 "libpng16/pngread.c",
303 "libpng16/pngrio.c", 304 "libpng16/pngrio.c",
304 "libpng16/pngrtran.c", 305 "libpng16/pngrtran.c",
305 "libpng16/pngrutil.c", 306 "libpng16/pngrutil.c",
306 "libpng16/pngset.c", 307 "libpng16/pngset.c",
307 "libpng16/pngstruct.h", 308 "libpng16/pngstruct.h",
308 "libpng16/pngtrans.c", 309 "libpng16/pngtrans.c",
309 "libpng16/pngwio.c", 310 "libpng16/pngwio.c",
310 "libpng16/pngwrite.c", 311 "libpng16/pngwrite.c",
311 "libpng16/pngwtran.c", 312 "libpng16/pngwtran.c",
312 "libpng16/pngwutil.c", 313 "libpng16/pngwutil.c",
313 ] 314 ]
314 } 315 }
315 316
316 if (pdf_enable_xfa) { 317 if (pdf_enable_xfa) {
317 source_set("fx_tiff") { 318 source_set("fx_tiff") {
318 configs -= [ "//build/config/compiler:chromium_code" ] 319 configs -= [ "//build/config/compiler:chromium_code" ]
319 configs += [ 320 configs += [
320 "//build/config/compiler:no_chromium_code", 321 "//build/config/compiler:no_chromium_code",
321 "//third_party/pdfium:pdfium_config", 322 "//third_party/pdfium:pdfium_config",
322 ] 323 ]
323 deps = [ "//third_party:jpeg" ] 324 deps = [
325 "//third_party:jpeg",
326 ]
324 sources = [ 327 sources = [
325 "libtiff/tiffiop.h",
326 "libtiff/tiffvers.h",
327 "libtiff/tif_aux.c", 328 "libtiff/tif_aux.c",
328 "libtiff/tif_close.c", 329 "libtiff/tif_close.c",
329 "libtiff/tif_codec.c", 330 "libtiff/tif_codec.c",
330 "libtiff/tif_color.c", 331 "libtiff/tif_color.c",
331 "libtiff/tif_compress.c", 332 "libtiff/tif_compress.c",
332 "libtiff/tif_dir.c", 333 "libtiff/tif_dir.c",
333 "libtiff/tif_dirinfo.c", 334 "libtiff/tif_dirinfo.c",
334 "libtiff/tif_dirread.c", 335 "libtiff/tif_dirread.c",
335 "libtiff/tif_dirwrite.c", 336 "libtiff/tif_dirwrite.c",
336 "libtiff/tif_dumpmode.c", 337 "libtiff/tif_dumpmode.c",
(...skipping 15 matching lines...) Expand all
352 "libtiff/tif_print.c", 353 "libtiff/tif_print.c",
353 "libtiff/tif_read.c", 354 "libtiff/tif_read.c",
354 "libtiff/tif_strip.c", 355 "libtiff/tif_strip.c",
355 "libtiff/tif_swab.c", 356 "libtiff/tif_swab.c",
356 "libtiff/tif_thunder.c", 357 "libtiff/tif_thunder.c",
357 "libtiff/tif_tile.c", 358 "libtiff/tif_tile.c",
358 "libtiff/tif_version.c", 359 "libtiff/tif_version.c",
359 "libtiff/tif_warning.c", 360 "libtiff/tif_warning.c",
360 "libtiff/tif_write.c", 361 "libtiff/tif_write.c",
361 "libtiff/tif_zip.c", 362 "libtiff/tif_zip.c",
363 "libtiff/tiffiop.h",
364 "libtiff/tiffvers.h",
362 ] 365 ]
363 } 366 }
364 } 367 }
365 368
366 # TODO(dsinclair): Remove if fixed upstream. https://crbug.com/507712 369 # TODO(dsinclair): Remove if fixed upstream. https://crbug.com/507712
367 config("fx_zlib_warnings") { 370 config("fx_zlib_warnings") {
368 visibility = [ ":*" ] 371 visibility = [ ":*" ]
369 if (is_clang) { 372 if (is_clang) {
370 cflags = [ "-Wno-shift-negative-value" ] 373 cflags = [ "-Wno-shift-negative-value" ]
371 } 374 }
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 sources = [ 411 sources = [
409 "base/logging.h", 412 "base/logging.h",
410 "base/macros.h", 413 "base/macros.h",
411 "base/numerics/safe_conversions.h", 414 "base/numerics/safe_conversions.h",
412 "base/numerics/safe_conversions_impl.h", 415 "base/numerics/safe_conversions_impl.h",
413 "base/numerics/safe_math.h", 416 "base/numerics/safe_math.h",
414 "base/numerics/safe_math_impl.h", 417 "base/numerics/safe_math_impl.h",
415 "base/stl_util.h", 418 "base/stl_util.h",
416 ] 419 ]
417 } 420 }
OLDNEW
« no previous file with comments | « testing/libfuzzer/fuzzers.gyp ('k') | third_party/libpng16/README.pdfium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698