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

Unified Diff: gyp/tools.gyp

Issue 407183003: add portable and canonical font support for DM (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: add atexit; rename to create_... Created 6 years, 5 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 | « gm/xfermodes3.cpp ('k') | samplecode/SampleApp.cpp » ('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 052130e06dd10eaf841c34be3e91ab175017463b..cb54fee9f5690ee7baf683361ed5e8966337ec4b 100644
--- a/gyp/tools.gyp
+++ b/gyp/tools.gyp
@@ -17,7 +17,6 @@
'bench_pictures',
'bench_record',
'bench_playback',
- 'create_test_font',
'dump_record',
'filter',
'gpuveto',
@@ -95,7 +94,11 @@
'../tools/sk_tool_utils.cpp',
'../tools/sk_tool_utils_font.cpp',
],
+ 'include_dirs': [
+ '../src/fonts',
+ ],
'dependencies': [
+ 'flags.gyp:flags',
'skia_lib.gyp:skia_lib',
],
'direct_dependent_settings': {
@@ -631,20 +634,6 @@
],
},
{
- 'target_name': 'create_test_font',
- 'type': 'executable',
- 'sources': [
- '../tools/create_test_font.cpp',
- ],
- 'include_dirs': [
- '../src/core',
- ],
- 'dependencies': [
- 'flags.gyp:flags',
- 'skia_lib.gyp:skia_lib',
- ],
- },
- {
'target_name': 'test_image_decoder',
'type': 'executable',
'sources': [
@@ -723,5 +712,26 @@
],
},
],
+ ['skia_os == "mac"',
+ {
+ 'targets': [
+ {
+ 'target_name': 'create_test_font',
+ 'type': 'executable',
+ 'sources': [
+ '../tools/create_test_font.cpp',
+ ],
+ 'include_dirs': [
+ '../src/core',
+ ],
+ 'dependencies': [
+ 'flags.gyp:flags',
+ 'skia_lib.gyp:skia_lib',
+ 'resources',
+ ],
+ },
+ ],
+ },
+ ],
],
}
« no previous file with comments | « gm/xfermodes3.cpp ('k') | samplecode/SampleApp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698