diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-21 21:47:22 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-21 21:47:22 +0000 |
commit | 893f78d19eb3f1087c013c8d4ee00df053945668 (patch) | |
tree | bd3063b970da3e1352f501949ca7ab272bd6859f /skia | |
parent | 78e910bc1f1c99a7d9d3a7671f4a54a52e3cbcf3 (diff) | |
download | chromium_src-893f78d19eb3f1087c013c8d4ee00df053945668.zip chromium_src-893f78d19eb3f1087c013c8d4ee00df053945668.tar.gz chromium_src-893f78d19eb3f1087c013c8d4ee00df053945668.tar.bz2 |
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
Diffstat (limited to 'skia')
-rw-r--r-- | skia/BUILD.gn | 4 |
1 files changed, 2 insertions, 2 deletions
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" |