blob: 4b2b1c4b64a6f4ebfc681db5e65a803bb6c1aa27 [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',
humper@google.com7c7292c2013-01-04 20:29:03 +000012 '../src/effects',
scroggo93b43752012-06-06 21:26:31 +000013 '../src/pipe/utils/',
epoger@google.comee8a8e32012-12-18 19:13:49 +000014 '../src/utils/',
robertphillips@google.com67febd92012-05-22 12:14:50 +000015 ],
bsalomon@google.com48dd1a22011-10-31 14:18:20 +000016 'includes': [
17 'gmslides.gypi',
18 ],
epoger@google.comccdbd2c2011-06-02 14:38:23 +000019 'sources': [
bsalomon@google.com48dd1a22011-10-31 14:18:20 +000020 '../gm/gm.cpp',
reed@google.com30db5992011-08-29 17:41:02 +000021 '../gm/gmmain.cpp',
epoger@google.com7bc13a62012-02-14 14:53:59 +000022 '../gm/system_preferences_default.cpp',
scroggo@google.com72c96722012-06-06 21:07:10 +000023 '../src/pipe/utils/SamplePipeControllers.h',
24 '../src/pipe/utils/SamplePipeControllers.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000025 ],
26 'dependencies': [
borenet@google.comefb1d772012-10-10 19:45:51 +000027 'skia_base_libs.gyp:skia_base_libs',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000028 'effects.gyp:effects',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000029 'images.gyp:images',
epoger@google.comee8a8e32012-12-18 19:13:49 +000030 'jsoncpp.gyp:jsoncpp',
epoger@google.comdcab3a12011-06-24 19:09:09 +000031 'pdf.gyp:pdf',
epoger@google.comee8a8e32012-12-18 19:13:49 +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 }],
bsalomon@google.comcf8fb1f2012-08-02 14:03:32 +000054 ['skia_gpu == 1', {
55 'include_dirs': [
56 '../src/gpu',
57 ],
bsalomon@google.comcf8fb1f2012-08-02 14:03:32 +000058 }],
59 ],
epoger@google.comccdbd2c2011-06-02 14:38:23 +000060 },
61 ],
62}
63
64# Local Variables:
65# tab-width:2
66# indent-tabs-mode:nil
67# End:
68# vim: set expandtab tabstop=2 shiftwidth=2: