blob: 20fe09edfd8d2f0109171eaf57deaf8884432b53 [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/',
bsalomon@google.com1c31f632012-07-26 19:39:06 +000013 '../src/gpu',
robertphillips@google.com67febd92012-05-22 12:14:50 +000014 ],
bsalomon@google.com48dd1a22011-10-31 14:18:20 +000015 'includes': [
16 'gmslides.gypi',
17 ],
epoger@google.comccdbd2c2011-06-02 14:38:23 +000018 'sources': [
bsalomon@google.com48dd1a22011-10-31 14:18:20 +000019 '../gm/gm.cpp',
reed@google.com30db5992011-08-29 17:41:02 +000020 '../gm/gmmain.cpp',
epoger@google.com7bc13a62012-02-14 14:53:59 +000021 '../gm/system_preferences_default.cpp',
scroggo@google.com72c96722012-06-06 21:07:10 +000022 '../src/pipe/utils/SamplePipeControllers.h',
23 '../src/pipe/utils/SamplePipeControllers.cpp',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000024 ],
25 'dependencies': [
26 'core.gyp:core',
27 'effects.gyp:effects',
28 'gpu.gyp:gr',
29 'gpu.gyp:skgr',
30 'images.gyp:images',
epoger@google.comdcab3a12011-06-24 19:09:09 +000031 'pdf.gyp:pdf',
scroggo@google.com5af9b202012-06-04 17:17:36 +000032 'ports.gyp:ports',
bungeman@google.com0f1541f2011-10-10 13:47:06 +000033 'utils.gyp:utils',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000034 ],
bungeman@google.com0f1541f2011-10-10 13:47:06 +000035 'conditions': [
epoger@google.com7bc13a62012-02-14 14:53:59 +000036 ['skia_os == "mac"', {
37 'sources!': [
38 '../gm/system_preferences_default.cpp',
39 ],
40 'sources': [
41 '../gm/system_preferences_mac.mm',
42 ],
43 'link_settings': {
44 'libraries': [
45 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
46 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
47 ],
48 },
49 }],
50 ['skia_os == "win"', {
bungeman@google.com0f1541f2011-10-10 13:47:06 +000051 'dependencies': [
52 'xps.gyp:xps',
53 ],
54 }],
55 ],
epoger@google.comccdbd2c2011-06-02 14:38:23 +000056 },
57 ],
58}
59
60# Local Variables:
61# tab-width:2
62# indent-tabs-mode:nil
63# End:
64# vim: set expandtab tabstop=2 shiftwidth=2: