blob: a0daf3da12688cc276720f11cabf8683d2036d12 [file] [log] [blame]
scroggo@google.com7d8013f2013-11-20 21:40:57 +00001# GYP file to build experimental directory.
epoger@google.comae85aea2011-05-31 13:50:51 +00002{
epoger@google.comae85aea2011-05-31 13:50:51 +00003 'targets': [
4 {
5 'target_name': 'experimental',
6 'type': 'static_library',
bungeman@google.com5a64e582012-03-29 14:51:56 +00007 'include_dirs': [
8 '../include/config',
9 '../include/core',
epoger@google.comae85aea2011-05-31 13:50:51 +000010 ],
11 'sources': [
epoger@google.comae85aea2011-05-31 13:50:51 +000012 '../experimental/SkSetPoly3To3.cpp',
13 '../experimental/SkSetPoly3To3_A.cpp',
14 '../experimental/SkSetPoly3To3_D.cpp',
15 ],
epoger@google.comae85aea2011-05-31 13:50:51 +000016 'direct_dependent_settings': {
17 'include_dirs': [
18 '../experimental',
19 ],
20 },
21 },
sglez@google.com43f2b2c2013-07-24 17:48:03 +000022 {
23 'target_name': 'SkiaExamples',
24 'type': 'executable',
25 'mac_bundle' : 1,
26 'include_dirs' : [
27 '../tools/flags',
28 ],
29 'includes': [],
30 'sources': [
31 '../experimental/SkiaExamples/SkExample.h',
32 '../experimental/SkiaExamples/SkExample.cpp',
33 '../experimental/SkiaExamples/HelloSkiaExample.cpp',
34 ],
35 'dependencies': [
36 'skia_lib.gyp:skia_lib',
37 'views.gyp:views',
38 'xml.gyp:xml',
39 'flags.gyp:flags'
40 ],
41 'conditions' : [
42 [ 'skia_gpu == 1', {
43 'include_dirs' : [
44 '../src/gpu', #gl/GrGLUtil.h
45 ]
46 }],
47 [ 'skia_os == "win"', {
48 'sources' : [
49 '../src/views/win/SkOSWindow_Win.cpp',
50 '../src/views/win/skia_win.cpp',
51 ],
52 },
53 ],
54
55 [ 'skia_os == "mac"', {
56 'sources': [
57
58# SkiaExamples specific files
59 '../experimental/SkiaExamples/SkiaExamples-Info.plist',
60 '../experimental/SkiaExamples/SkExampleNSView.h',
61 '../experimental/SkiaExamples/SkExampleNSView.mm',
62
63# Mac files
64 '../src/views/mac/SampleAppDelegate.h',
65 '../src/views/mac/SampleAppDelegate.mm',
66 '../src/views/mac/SkEventNotifier.mm',
67 '../src/views/mac/skia_mac.mm',
68 '../src/views/mac/SkNSView.h',
69 '../src/views/mac/SkNSView.mm',
70 '../src/views/mac/SkOptionsTableView.h',
71 '../src/views/mac/SkOptionsTableView.mm',
72 '../src/views/mac/SkOSWindow_Mac.mm',
73 '../src/views/mac/SkTextFieldCell.h',
74 '../src/views/mac/SkTextFieldCell.m',
75 ],
76 'include_dirs' : [
77 '../src/views/mac/'
78 ],
79 'link_settings': {
80 },
81 'xcode_settings' : {
82 'INFOPLIST_FILE' : '../experimental/SkiaExamples/SkiaExamples-Info.plist',
83 },
84 'mac_bundle_resources' : [
85 '../experimental/SkiaExamples/SkiaExamples.xib'
86 ],
87 }
88 ],
89 ],
90 }
epoger@google.comae85aea2011-05-31 13:50:51 +000091 ],
92}