blob: 0dc4d5512be3980301d03ab4a64f8bb4c1f412fb [file] [log] [blame]
epoger@google.comccdbd2c2011-06-02 14:38:23 +00001# GYP file to build the "gm" (golden master) executable.
epoger@google.comccdbd2c2011-06-02 14:38:23 +00002{
3 'includes': [
4 'apptype_console.gypi',
epoger@google.comccdbd2c2011-06-02 14:38:23 +00005 ],
6 'targets': [
7 {
8 'target_name': 'gm',
9 'type': 'executable',
robertphillips@google.com67febd92012-05-22 12:14:50 +000010 'include_dirs' : [
11 '../src/core',
scroggo93b43752012-06-06 21:26:31 +000012 '../src/pipe/utils/',
robertphillips@google.com67febd92012-05-22 12:14:50 +000013 ],
bsalomon@google.com48dd1a22011-10-31 14:18:20 +000014 'includes': [
15 'gmslides.gypi',
16 ],
epoger@google.comccdbd2c2011-06-02 14:38:23 +000017 'sources': [
bsalomon@google.com48dd1a22011-10-31 14:18:20 +000018 '../gm/gm.cpp',
reed@google.com30db5992011-08-29 17:41:02 +000019 '../gm/gmmain.cpp',
epoger@google.com7bc13a62012-02-14 14:53:59 +000020 '../gm/system_preferences_default.cpp',
scroggo@google.com72c96722012-06-06 21:07:10 +000021 '../src/pipe/utils/SamplePipeControllers.h',
22 '../src/pipe/utils/SamplePipeControllers.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000023 ],
24 'dependencies': [
25 'core.gyp:core',
26 'effects.gyp:effects',
27 'gpu.gyp:gr',
28 'gpu.gyp:skgr',
29 'images.gyp:images',
epoger@google.comdcab3a12011-06-24 19:09:09 +000030 'pdf.gyp:pdf',
scroggo@google.com5af9b202012-06-04 17:17:36 +000031 'ports.gyp:ports',
bungeman@google.com0f1541f2011-10-10 13:47:06 +000032 'utils.gyp:utils',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000033 ],
bungeman@google.com0f1541f2011-10-10 13:47:06 +000034 'conditions': [
epoger@google.com7bc13a62012-02-14 14:53:59 +000035 ['skia_os == "mac"', {
36 'sources!': [
37 '../gm/system_preferences_default.cpp',
38 ],
39 'sources': [
40 '../gm/system_preferences_mac.mm',
41 ],
42 'link_settings': {
43 'libraries': [
44 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
45 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
46 ],
47 },
48 }],
49 ['skia_os == "win"', {
bungeman@google.com0f1541f2011-10-10 13:47:06 +000050 'dependencies': [
51 'xps.gyp:xps',
52 ],
53 }],
54 ],
epoger@google.comccdbd2c2011-06-02 14:38:23 +000055 },
56 ],
57}
58
59# Local Variables:
60# tab-width:2
61# indent-tabs-mode:nil
62# End:
63# vim: set expandtab tabstop=2 shiftwidth=2: