diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2016-03-16 15:35:20 -0400 |
---|---|---|
committer | Dan Sinclair <dsinclair@chromium.org> | 2016-03-16 15:35:20 -0400 |
commit | a03c343b47938fcb1b562741ff05252b01a4e39d (patch) | |
tree | 8f4ea4f27285a6b3e1838685c1a7116d006ce1ee /skia/skia_pdfium.gypi | |
parent | 30410cecd0f2653556094a20c2564170be127127 (diff) | |
download | pdfium-a03c343b47938fcb1b562741ff05252b01a4e39d.tar.xz |
Enable building pdf_use_skia in the standalone build.
This CL adds the necessary pieces so you can add pdf_use_skia=1 to GYP_DEFINES
and do a standalone build.
R=caryclark@google.com
Review URL: https://codereview.chromium.org/1812563002 .
Diffstat (limited to 'skia/skia_pdfium.gypi')
-rw-r--r-- | skia/skia_pdfium.gypi | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/skia/skia_pdfium.gypi b/skia/skia_pdfium.gypi new file mode 100644 index 0000000000..0de3f84d72 --- /dev/null +++ b/skia/skia_pdfium.gypi @@ -0,0 +1,29 @@ +# Copyright 2013 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + + +# This gypi file contains all the Chrome-specific enhancements to Skia. +# In component mode (shared_lib) it is folded into a single shared library with +# the Skia files but in all other cases it is a separate library. +{ + 'dependencies': [ + 'skia_library', + ], + + 'direct_dependent_settings': { + 'include_dirs': [ + 'ext', + ], + }, + 'variables': { + # TODO(scottmg): http://crbug.com/177306 + 'clang_warning_flags_unset': [ + # Don't warn about string->bool used in asserts. + '-Wstring-conversion', + ], + }, + 'sources': [ + 'ext/google_logging.cc', + ], +} |