1 # Copyright 2015 Google Inc. 2 # 3 # Use of this source code is governed by a BSD-style license that can be 4 # found in the LICENSE file. 5 # GYP file to build hello world example. 6 { 7 'includes': [ 8 'apptype_console.gypi', 9 ], 10 'targets': [ 11 { 12 'target_name': 'HelloWorld', 13 'type': 'executable', 14 'include_dirs' : [ 15 '../include/gpu', 16 ], 17 'sources': [ 18 '../example/HelloWorld.h', 19 '../example/HelloWorld.cpp', 20 ], 21 'dependencies': [ 22 'skia_lib.gyp:skia_lib', 23 'views.gyp:views', 24 ], 25 }, 26 { 27 'target_name': 'SkiaSDLExample', 28 'type': 'executable', 29 'include_dirs' : [ 30 '../include/gpu', 31 '../src/gpu', 32 ], 33 'sources': [ 34 '../example/SkiaSDLExample.cpp', 35 ], 36 'dependencies': [ 37 'skia_lib.gyp:skia_lib', 38 'sdl.gyp:sdl', 39 ], 40 }, 41 ], 42 } 43