blob: 940ab84361b18c36231d1868649ebade7e1d5239 [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',
scroggo@google.com09fd4d22013-03-20 14:20:18 +000029 'flags.gyp:flags',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000030 'images.gyp:images',
epoger@google.comee8a8e32012-12-18 19:13:49 +000031 'jsoncpp.gyp:jsoncpp',
epoger@google.comdcab3a12011-06-24 19:09:09 +000032 'pdf.gyp:pdf',
epoger@google.comee8a8e32012-12-18 19:13:49 +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 }],
bsalomon@google.comcf8fb1f2012-08-02 14:03:32 +000055 ['skia_gpu == 1', {
56 'include_dirs': [
57 '../src/gpu',
58 ],
bsalomon@google.comcf8fb1f2012-08-02 14:03:32 +000059 }],
60 ],
epoger@google.comccdbd2c2011-06-02 14:38:23 +000061 },
62 ],
63}
64
65# Local Variables:
66# tab-width:2
67# indent-tabs-mode:nil
68# End:
69# vim: set expandtab tabstop=2 shiftwidth=2: