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

Side by Side Diff: BUILD.gn

Issue 1301073003: Merge to XFA: Extern in .cpp files is a code smell, part 1. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 4 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 | core/include/fpdfapi/fpdf_parser.h » ('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 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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("//testing/test.gni") 5 import("//testing/test.gni")
6 6
7 pdf_use_skia = false 7 pdf_use_skia = false
8 8
9 declare_args() { 9 declare_args() {
10 # On Android there's no system FreeType. On Windows and Mac, only a few 10 # On Android there's no system FreeType. On Windows and Mac, only a few
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 static_library("fpdftext") { 301 static_library("fpdftext") {
302 sources = [ 302 sources = [
303 "core/include/fpdftext/fpdf_text.h", 303 "core/include/fpdftext/fpdf_text.h",
304 "core/src/fpdftext/fpdf_text.cpp", 304 "core/src/fpdftext/fpdf_text.cpp",
305 "core/src/fpdftext/fpdf_text_int.cpp", 305 "core/src/fpdftext/fpdf_text_int.cpp",
306 "core/src/fpdftext/fpdf_text_search.cpp", 306 "core/src/fpdftext/fpdf_text_search.cpp",
307 "core/src/fpdftext/text_int.h", 307 "core/src/fpdftext/text_int.h",
308 "core/src/fpdftext/txtproc.h", 308 "core/src/fpdftext/txtproc.h",
309 "core/src/fpdftext/unicodenormalization.cpp", 309 "core/src/fpdftext/unicodenormalization.cpp",
310 "core/src/fpdftext/unicodenormalizationdata.cpp", 310 "core/src/fpdftext/unicodenormalizationdata.cpp",
311 "core/src/fpdftext/unicodenormalizationdata.h",
311 ] 312 ]
312 configs -= [ "//build/config/compiler:chromium_code" ] 313 configs -= [ "//build/config/compiler:chromium_code" ]
313 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] 314 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
314 } 315 }
315 316
316 static_library("fxcodec") { 317 static_library("fxcodec") {
317 deps = [ 318 deps = [
318 "third_party:fx_lcms2", 319 "third_party:fx_lcms2",
319 "third_party:fx_libjpeg", 320 "third_party:fx_libjpeg",
320 "third_party:fx_libopenjpeg", 321 "third_party:fx_libopenjpeg",
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 "core/src/fxge/apple/apple_int.h", 508 "core/src/fxge/apple/apple_int.h",
508 "core/src/fxge/apple/fx_apple_platform.cpp", 509 "core/src/fxge/apple/fx_apple_platform.cpp",
509 "core/src/fxge/apple/fx_mac_imp.cpp", 510 "core/src/fxge/apple/fx_mac_imp.cpp",
510 "core/src/fxge/apple/fx_quartz_device.cpp", 511 "core/src/fxge/apple/fx_quartz_device.cpp",
511 "core/src/fxge/dib/dib_int.h", 512 "core/src/fxge/dib/dib_int.h",
512 "core/src/fxge/dib/fx_dib_composite.cpp", 513 "core/src/fxge/dib/fx_dib_composite.cpp",
513 "core/src/fxge/dib/fx_dib_convert.cpp", 514 "core/src/fxge/dib/fx_dib_convert.cpp",
514 "core/src/fxge/dib/fx_dib_engine.cpp", 515 "core/src/fxge/dib/fx_dib_engine.cpp",
515 "core/src/fxge/dib/fx_dib_main.cpp", 516 "core/src/fxge/dib/fx_dib_main.cpp",
516 "core/src/fxge/dib/fx_dib_transform.cpp", 517 "core/src/fxge/dib/fx_dib_transform.cpp",
518 "core/src/fxge/fontdata/chromefontdata/chromefontdata.h",
517 "core/src/fxge/fontdata/chromefontdata/FoxitDingbats.c", 519 "core/src/fxge/fontdata/chromefontdata/FoxitDingbats.c",
518 "core/src/fxge/fontdata/chromefontdata/FoxitFixed.c", 520 "core/src/fxge/fontdata/chromefontdata/FoxitFixed.c",
519 "core/src/fxge/fontdata/chromefontdata/FoxitFixedBold.c", 521 "core/src/fxge/fontdata/chromefontdata/FoxitFixedBold.c",
520 "core/src/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.c", 522 "core/src/fxge/fontdata/chromefontdata/FoxitFixedBoldItalic.c",
521 "core/src/fxge/fontdata/chromefontdata/FoxitFixedItalic.c", 523 "core/src/fxge/fontdata/chromefontdata/FoxitFixedItalic.c",
522 "core/src/fxge/fontdata/chromefontdata/FoxitSans.c", 524 "core/src/fxge/fontdata/chromefontdata/FoxitSans.c",
523 "core/src/fxge/fontdata/chromefontdata/FoxitSansBold.c", 525 "core/src/fxge/fontdata/chromefontdata/FoxitSansBold.c",
524 "core/src/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.c", 526 "core/src/fxge/fontdata/chromefontdata/FoxitSansBoldItalic.c",
525 "core/src/fxge/fontdata/chromefontdata/FoxitSansItalic.c", 527 "core/src/fxge/fontdata/chromefontdata/FoxitSansItalic.c",
526 "core/src/fxge/fontdata/chromefontdata/FoxitSansMM.c", 528 "core/src/fxge/fontdata/chromefontdata/FoxitSansMM.c",
(...skipping 949 matching lines...) Expand 10 before | Expand all | Expand 10 after
1476 ":pdfium" 1478 ":pdfium"
1477 ] 1479 ]
1478 include_dirs = [ 1480 include_dirs = [
1479 ".", 1481 ".",
1480 "//v8", 1482 "//v8",
1481 "//v8/include", 1483 "//v8/include",
1482 ] 1484 ]
1483 configs -= [ "//build/config/compiler:chromium_code" ] 1485 configs -= [ "//build/config/compiler:chromium_code" ]
1484 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ] 1486 configs += [ ":pdfium_config", "//build/config/compiler:no_chromium_code" ]
1485 } 1487 }
OLDNEW
« no previous file with comments | « no previous file | core/include/fpdfapi/fpdf_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698