| OLD | NEW |
| 1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 # GYP file to build hello world example. | 5 # GYP file to build hello world example. |
| 6 { | 6 { |
| 7 'includes': [ | 7 'includes': [ |
| 8 'apptype_console.gypi', | 8 'apptype_console.gypi', |
| 9 ], | 9 ], |
| 10 'targets': [ | 10 'targets': [ |
| 11 { | 11 { |
| 12 'target_name': 'HelloWorld', | 12 'target_name': 'HelloWorld', |
| 13 'type': 'executable', | 13 'type': 'executable', |
| 14 'include_dirs' : [ | 14 'include_dirs' : [ |
| 15 '../include/gpu', | 15 '../include/gpu', |
| 16 ], | 16 ], |
| 17 'sources': [ | 17 'sources': [ |
| 18 '../example/HelloWorld.h', | 18 '../example/HelloWorld.h', |
| 19 '../example/HelloWorld.cpp', | 19 '../example/HelloWorld.cpp', |
| 20 ], | 20 ], |
| 21 'dependencies': [ | 21 'dependencies': [ |
| 22 'skia_lib.gyp:skia_lib', | 22 'skia_lib.gyp:skia_lib', |
| 23 'views.gyp:views', | 23 'views.gyp:views', |
| 24 ], | 24 ], |
| 25 }, | 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 }, |
| 26 ], | 41 ], |
| 27 } | 42 } |
| OLD | NEW |