Index: gyp/tools.gyp |
diff --git a/gyp/tools.gyp b/gyp/tools.gyp |
index 7bf8f7f78660f6ce1ed2366102a5171cd5fd0f22..4b58ab45f76155953dfb53d51306db5d4a753051 100644 |
--- a/gyp/tools.gyp |
+++ b/gyp/tools.gyp |
@@ -34,6 +34,7 @@ |
'whitelist_typefaces', |
], |
'conditions': [ |
+ ['skia_os == "linux"', { 'dependencies': [ 'fiddle_build_test' ] } ], |
['skia_shared_lib', |
{ |
'dependencies': [ |
@@ -588,5 +589,26 @@ |
], |
}, |
], |
+ ['skia_os == "linux"', |
+ { |
+ 'targets': [ |
+ { |
+ 'target_name': 'fiddle_build_test', |
+ 'type': 'executable', |
+ 'sources': [ |
+ '../tools/fiddle/draw.cpp', |
+ '../tools/fiddle/fiddle_main.cpp', |
+ '../tools/fiddle/fiddle_main.h', |
+ ], |
+ 'dependencies': [ |
+ 'skia_lib.gyp:skia_lib', |
+ 'pdf.gyp:pdf', |
+ ], |
+ 'defines': [ 'FIDDLE_BUILD_TEST' ], |
+ 'link_settings': { 'libraries': [ '-lOSMesa' ], }, |
+ }, |
+ ], |
+ }, |
+ ], |
], |
} |