blob: 6f0fc3d3779674ce5de93c5aae73857a1c2c0cb5 [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': [
borenet@google.comefb1d772012-10-10 19:45:51 +000025 'skia_base_libs.gyp:skia_base_libs',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000026 'effects.gyp:effects',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000027 'images.gyp:images',
epoger@google.comdcab3a12011-06-24 19:09:09 +000028 'pdf.gyp:pdf',
epoger@google.comccdbd2c2011-06-02 14:38:23 +000029 ],
bungeman@google.com0f1541f2011-10-10 13:47:06 +000030 'conditions': [
epoger@google.com7bc13a62012-02-14 14:53:59 +000031 ['skia_os == "mac"', {
32 'sources!': [
33 '../gm/system_preferences_default.cpp',
34 ],
35 'sources': [
36 '../gm/system_preferences_mac.mm',
37 ],
38 'link_settings': {
39 'libraries': [
40 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework',
41 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
42 ],
43 },
44 }],
45 ['skia_os == "win"', {
bungeman@google.com0f1541f2011-10-10 13:47:06 +000046 'dependencies': [
47 'xps.gyp:xps',
48 ],
49 }],
bsalomon@google.comcf8fb1f2012-08-02 14:03:32 +000050 ['skia_gpu == 1', {
51 'include_dirs': [
52 '../src/gpu',
53 ],
bsalomon@google.comcf8fb1f2012-08-02 14:03:32 +000054 }],
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: