OLD | NEW |
1 # GYP file to build the "gm" (golden master) executable. | 1 # GYP file to build the "gm" (golden master) executable. |
2 { | 2 { |
3 'includes': [ | 3 'includes': [ |
4 'apptype_console.gypi', | 4 'apptype_console.gypi', |
5 ], | 5 ], |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'gm_expectations', | 8 'target_name': 'gm_expectations', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'include_dirs' : [ | 10 'include_dirs' : [ |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 '../src/utils/debugger/SkObjectParser.cpp', | 53 '../src/utils/debugger/SkObjectParser.cpp', |
54 ], | 54 ], |
55 'dependencies': [ | 55 'dependencies': [ |
56 'skia_lib.gyp:skia_lib', | 56 'skia_lib.gyp:skia_lib', |
57 'flags.gyp:flags', | 57 'flags.gyp:flags', |
58 'gm.gyp:gm_expectations', | 58 'gm.gyp:gm_expectations', |
59 'jsoncpp.gyp:jsoncpp', | 59 'jsoncpp.gyp:jsoncpp', |
60 'pdf.gyp:pdf', | 60 'pdf.gyp:pdf', |
61 ], | 61 ], |
62 'conditions': [ | 62 'conditions': [ |
| 63 ['skia_os in ["linux", "mac", "win"]', { |
| 64 'dependencies': [ |
| 65 'poppler.gyp:libpoppler-cpp-gpl', |
| 66 ], |
| 67 'sources': [ |
| 68 '../src/utils/SkPDFRasterizer.cpp', |
| 69 ], |
| 70 'defines': [ |
| 71 'SK_BUILD_POPPLER', |
| 72 ], |
| 73 }], |
63 ['skia_os == "mac"', { | 74 ['skia_os == "mac"', { |
64 'sources!': [ | 75 'sources!': [ |
65 '../gm/system_preferences_default.cpp', | 76 '../gm/system_preferences_default.cpp', |
66 ], | 77 ], |
67 'sources': [ | 78 'sources': [ |
68 '../gm/system_preferences_mac.mm', | 79 '../gm/system_preferences_mac.mm', |
69 ], | 80 ], |
70 'link_settings': { | 81 'link_settings': { |
71 'libraries': [ | 82 'libraries': [ |
72 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', | 83 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', |
(...skipping 14 matching lines...) Expand all Loading... |
87 ], | 98 ], |
88 }, | 99 }, |
89 ], | 100 ], |
90 } | 101 } |
91 | 102 |
92 # Local Variables: | 103 # Local Variables: |
93 # tab-width:2 | 104 # tab-width:2 |
94 # indent-tabs-mode:nil | 105 # indent-tabs-mode:nil |
95 # End: | 106 # End: |
96 # vim: set expandtab tabstop=2 shiftwidth=2: | 107 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |