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

Unified Diff: gyp/tools.gyp

Issue 2201153002: SkShaper: optionally disable harfbuzz (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-08-02 (Tuesday) 18:27:47 EDT Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/SkShaper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/tools.gyp
diff --git a/gyp/tools.gyp b/gyp/tools.gyp
index b5ec80473ef7846329b11667e0fc46c5bdf446fa..b41ecc484752f86326caeb27547370aa74c44107 100644
--- a/gyp/tools.gyp
+++ b/gyp/tools.gyp
@@ -463,18 +463,22 @@
{
'target_name': 'using_skia_and_harfbuzz',
'type': 'executable',
- 'sources': [
- '../tools/using_skia_and_harfbuzz.cpp',
- '../tools/SkShaper.cpp',
+ 'sources': [ '../tools/using_skia_and_harfbuzz.cpp', ],
+ 'variables': { 'skia_example_use_harfbuzz%': 1, },
+ 'conditions': [
+ [ 'skia_example_use_harfbuzz',
+ {
+ 'dependencies': [ 'harfbuzz.gyp:harfbuzz', ],
+ 'sources' : [ '../tools/SkShaper_harfbuzz.cpp', ],
+ }, {
+ 'sources' : [ '../tools/SkShaper_primitive.cpp', ],
+ },
+ ]
],
'dependencies': [
'skia_lib.gyp:skia_lib',
'pdf.gyp:pdf',
- 'harfbuzz.gyp:harfbuzz',
],
- 'cflags': [ '-w', ],
- 'msvs_settings': { 'VCCLCompilerTool': { 'WarningLevel': '0', }, },
- 'xcode_settings': { 'WARNING_CFLAGS': [ '-w', ], },
},
{
'target_name': 'visualize_color_gamut',
« no previous file with comments | « no previous file | tools/SkShaper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698