blob: c3789fad573bc1374d69255ea40ceadedd3c1ac8 [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,
tfarina1c4d5782014-06-22 16:13:00 -070026 'sources': [
27 '../experimental/SkiaExamples/SkExample.h',
28 '../experimental/SkiaExamples/SkExample.cpp',
29 '../experimental/SkiaExamples/HelloSkiaExample.cpp',
30 ],
31 'dependencies': [
32 'flags.gyp:flags',
33 'skia_lib.gyp:skia_lib',
34 'views.gyp:views',
35 'xml.gyp:xml',
36 ],
37 'conditions' : [
38 [ 'skia_gpu == 1', {
39 'include_dirs' : [
40 '../src/gpu',
41 ],
42 }],
sglez@google.com43f2b2c2013-07-24 17:48:03 +000043 [ 'skia_os == "win"', {
tfarina1c4d5782014-06-22 16:13:00 -070044 'sources' : [
45 '../src/views/win/SkOSWindow_Win.cpp',
46 '../src/views/win/skia_win.cpp',
47 ],
48 }],
sglez@google.com43f2b2c2013-07-24 17:48:03 +000049 [ 'skia_os == "mac"', {
50 'sources': [
tfarina1c4d5782014-06-22 16:13:00 -070051 '../experimental/SkiaExamples/SkiaExamples-Info.plist',
52 '../experimental/SkiaExamples/SkExampleNSView.h',
53 '../experimental/SkiaExamples/SkExampleNSView.mm',
54 '../src/views/mac/SampleAppDelegate.h',
55 '../src/views/mac/SampleAppDelegate.mm',
56 '../src/views/mac/SkEventNotifier.mm',
57 '../src/views/mac/skia_mac.mm',
58 '../src/views/mac/SkNSView.h',
59 '../src/views/mac/SkNSView.mm',
60 '../src/views/mac/SkOptionsTableView.h',
61 '../src/views/mac/SkOptionsTableView.mm',
62 '../src/views/mac/SkOSWindow_Mac.mm',
63 '../src/views/mac/SkTextFieldCell.h',
64 '../src/views/mac/SkTextFieldCell.m',
sglez@google.com43f2b2c2013-07-24 17:48:03 +000065 ],
tfarina1c4d5782014-06-22 16:13:00 -070066 'include_dirs' : [
67 '../src/views/mac/'
sglez@google.com43f2b2c2013-07-24 17:48:03 +000068 ],
tfarina1c4d5782014-06-22 16:13:00 -070069 'xcode_settings' : {
70 'INFOPLIST_FILE' : '../experimental/SkiaExamples/SkiaExamples-Info.plist',
71 },
72 'mac_bundle_resources' : [
73 '../experimental/SkiaExamples/SkiaExamples.xib'
sglez@google.com43f2b2c2013-07-24 17:48:03 +000074 ],
tfarina1c4d5782014-06-22 16:13:00 -070075 }],
sglez@google.com43f2b2c2013-07-24 17:48:03 +000076 ],
sglez@google.com43f2b2c2013-07-24 17:48:03 +000077 }
epoger@google.comae85aea2011-05-31 13:50:51 +000078 ],
79}