1 # GYP file to build the "gm" (golden master) executable. 2 { 3 'includes': [ 4 'apptype_console.gypi', 5 ], 6 'targets': [ 7 { 8 'target_name': 'gm', 9 'type': 'executable', 10 'include_dirs' : [ 11 '../src/core', 12 '../src/effects', 13 '../src/pipe/utils/', 14 '../src/utils/', 15 ], 16 'includes': [ 17 'gmslides.gypi', 18 ], 19 'sources': [ 20 '../gm/gm.cpp', 21 '../gm/gmmain.cpp', 22 '../gm/system_preferences_default.cpp', 23 '../src/pipe/utils/SamplePipeControllers.h', 24 '../src/pipe/utils/SamplePipeControllers.cpp', 25 ], 26 'dependencies': [ 27 'skia_base_libs.gyp:skia_base_libs', 28 'effects.gyp:effects', 29 'images.gyp:images', 30 'jsoncpp.gyp:jsoncpp', 31 'pdf.gyp:pdf', 32 'utils.gyp:utils', 33 ], 34 'conditions': [ 35 ['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"', { 50 'dependencies': [ 51 'xps.gyp:xps', 52 ], 53 }], 54 ['skia_gpu == 1', { 55 'include_dirs': [ 56 '../src/gpu', 57 ], 58 }], 59 ], 60 }, 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: 69