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

Side by Side Diff: skia/BUILD.gn

Issue 1842473002: Use SkDocument_PDF_None if pdf support is not enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Use SkDoucment_PDF_None 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 | « no previous file | 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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 if (current_cpu == "arm") { 8 if (current_cpu == "arm") {
9 import("//build/config/arm.gni") 9 import("//build/config/arm.gni")
10 } 10 }
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 deps += [ 484 deps += [
485 "//third_party/android_tools:cpu_features", 485 "//third_party/android_tools:cpu_features",
486 "//third_party/expat", 486 "//third_party/expat",
487 "//third_party/freetype-android:freetype", 487 "//third_party/freetype-android:freetype",
488 ] 488 ]
489 } 489 }
490 490
491 if (skia_support_pdf) { 491 if (skia_support_pdf) {
492 deps += [ "//third_party/sfntly" ] 492 deps += [ "//third_party/sfntly" ]
493 sources += gypi_skia_pdf.sources 493 sources += gypi_skia_pdf.sources
494 } else {
495 sources += [ "//third_party/skia/src/pdf/SkDocument_PDF_None.cpp" ]
494 } 496 }
495 497
496 if (is_android && !is_debug) { 498 if (is_android && !is_debug) {
497 configs -= [ "//build/config/compiler:default_optimization" ] 499 configs -= [ "//build/config/compiler:default_optimization" ]
498 configs += [ "//build/config/compiler:optimize_max" ] 500 configs += [ "//build/config/compiler:optimize_max" ]
499 } 501 }
500 502
501 if (is_ios) { 503 if (is_ios) {
502 libs = [ "ImageIO.framework" ] 504 libs = [ "ImageIO.framework" ]
503 set_sources_assignment_filter([]) 505 set_sources_assignment_filter([])
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 ] 720 ]
719 721
720 deps = [ 722 deps = [
721 ":skia", 723 ":skia",
722 "//base", 724 "//base",
723 "//base/test:test_support", 725 "//base/test:test_support",
724 "//build/config/sanitizers:deps", 726 "//build/config/sanitizers:deps",
725 ] 727 ]
726 } 728 }
727 } 729 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698