skia2/gyp/example.gyp

43 lines
896 B
Python

# Copyright 2015 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# GYP file to build hello world example.
{
'includes': [
'apptype_console.gypi',
],
'targets': [
{
'target_name': 'HelloWorld',
'type': 'executable',
'include_dirs' : [
'../include/gpu',
],
'sources': [
'../example/HelloWorld.h',
'../example/HelloWorld.cpp',
],
'dependencies': [
'skia_lib.gyp:skia_lib',
'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',
],
},
],
}