scroggo | 3e56227 | 2015-03-25 10:22:41 -0700 | [diff] [blame] | 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. |
caryclark | 52edc4d | 2015-02-02 12:55:14 -0800 | [diff] [blame] | 5 | # GYP file to build hello world example. |
| 6 | { |
bsalomon | 241b56d | 2015-06-18 11:49:42 -0700 | [diff] [blame] | 7 | 'includes': [ |
| 8 | 'apptype_console.gypi', |
| 9 | ], |
caryclark | 52edc4d | 2015-02-02 12:55:14 -0800 | [diff] [blame] | 10 | 'targets': [ |
| 11 | { |
| 12 | 'target_name': 'HelloWorld', |
| 13 | 'type': 'executable', |
caryclark | 52edc4d | 2015-02-02 12:55:14 -0800 | [diff] [blame] | 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 | ], |
caryclark | 52edc4d | 2015-02-02 12:55:14 -0800 | [diff] [blame] | 25 | }, |
joshualitt | 04d52f3 | 2015-11-13 11:22:19 -0800 | [diff] [blame] | 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 | }, |
caryclark | 52edc4d | 2015-02-02 12:55:14 -0800 | [diff] [blame] | 41 | ], |
| 42 | } |