Create a standalone example for using Skia with SDL
BUG=skia:
Review URL: https://codereview.chromium.org/1442573003
diff --git a/gyp/example.gyp b/gyp/example.gyp
index a01717e..75d53b3 100644
--- a/gyp/example.gyp
+++ b/gyp/example.gyp
@@ -23,5 +23,20 @@
'views.gyp:views',
],
},
+ {
+ 'target_name': 'SkiaSDLExample',
+ 'type': 'executable',
+ 'include_dirs' : [
+ '../include/gpu',
+ '../src/gpu',
+ ],
+ 'sources': [
+ '../example/SkiaSDLExample.cpp',
+ ],
+ 'dependencies': [
+ 'skia_lib.gyp:skia_lib',
+ 'sdl.gyp:sdl',
+ ],
+ },
],
}