From 893f78d19eb3f1087c013c8d4ee00df053945668 Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Mon, 21 Jul 2014 21:47:22 +0000 Subject: GN chrome/common build, rename enable_printing. This adds the missing conditions to the chrome/common GN build file (previously only the basic files were there). Some refactoring of the GYP file to make this possible. Renames the enable_printing flag to printing_mode since this is an integer tri-state. Minor improvements to chrome/renderer R=jamesr@chromium.org Review URL: https://codereview.chromium.org/400243003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284508 0039d316-1c4b-4281-b951-d872f2087c98 --- skia/BUILD.gn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'skia') diff --git a/skia/BUILD.gn b/skia/BUILD.gn index b626d3e..ade214d 100644 --- a/skia/BUILD.gn +++ b/skia/BUILD.gn @@ -9,7 +9,7 @@ if (cpu_arch == "arm") { } skia_support_gpu = !is_ios -skia_support_pdf = !is_ios && enable_printing != 0 +skia_support_pdf = !is_ios && printing_mode != 0 # The list of Skia defines that are to be set for chromium. gypi_skia_defines = exec_script( @@ -415,7 +415,7 @@ component("skia") { if (is_win) { sources -= [ "ext/SkThread_chrome.cc" ] } - if (is_android && enable_printing == 0) { + if (is_android && printing_mode == 0) { sources -= [ "ext/skia_utils_base.cc", "ext/vector_platform_device_skia.cc" -- cgit v1.1