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

Side by Side Diff: BUILD.gn

Issue 1415573006: Merge to XFA: Add standard "Must be after no_chromium_code" comment in GN files. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 1 month 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 | third_party/BUILD.gn » ('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 import("pdfium.gni") 6 import("pdfium.gni")
7 7
8 config("pdfium_config") { 8 config("pdfium_config") {
9 cflags = [] 9 cflags = []
10 include_dirs = [ "third_party/freetype/include" ] 10 include_dirs = [ "third_party/freetype/include" ]
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 "core/src/fxge/ge/fx_ge_path.cpp", 574 "core/src/fxge/ge/fx_ge_path.cpp",
575 "core/src/fxge/ge/fx_ge_ps.cpp", 575 "core/src/fxge/ge/fx_ge_ps.cpp",
576 "core/src/fxge/ge/fx_ge_text.cpp", 576 "core/src/fxge/ge/fx_ge_text.cpp",
577 "core/src/fxge/ge/text_int.h", 577 "core/src/fxge/ge/text_int.h",
578 ] 578 ]
579 579
580 configs -= [ "//build/config/compiler:chromium_code" ] 580 configs -= [ "//build/config/compiler:chromium_code" ]
581 configs += [ 581 configs += [
582 ":pdfium_config", 582 ":pdfium_config",
583 "//build/config/compiler:no_chromium_code", 583 "//build/config/compiler:no_chromium_code",
584 # As of this writing, this needs to be last to suppress a -Wswitch warning. 584 # Must be after no_chromium_code for warning flags to be ordered correctly.
585 # https://crbug.com/547906
586 ":fxge_warnings", 585 ":fxge_warnings",
587 ] 586 ]
588 587
589 if (pdf_use_skia) { 588 if (pdf_use_skia) {
590 sources = [ 589 sources = [
591 "core/src/fxge/skia/fx_skia_blitter_new.cpp", 590 "core/src/fxge/skia/fx_skia_blitter_new.cpp",
592 "core/src/fxge/skia/fx_skia_device.cpp", 591 "core/src/fxge/skia/fx_skia_device.cpp",
593 ] 592 ]
594 include_dirs = [ 593 include_dirs = [
595 "//third_party/skia/include/config", 594 "//third_party/skia/include/config",
(...skipping 942 matching lines...) Expand 10 before | Expand all | Expand 10 after
1538 "//v8", 1537 "//v8",
1539 "//v8/include", 1538 "//v8/include",
1540 ] 1539 ]
1541 } 1540 }
1542 configs -= [ "//build/config/compiler:chromium_code" ] 1541 configs -= [ "//build/config/compiler:chromium_code" ]
1543 configs += [ 1542 configs += [
1544 ":pdfium_config", 1543 ":pdfium_config",
1545 "//build/config/compiler:no_chromium_code", 1544 "//build/config/compiler:no_chromium_code",
1546 ] 1545 ]
1547 } 1546 }
OLDNEW
« no previous file with comments | « no previous file | third_party/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698