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 }], | |
74 ['skia_os == "mac"', { | 63 ['skia_os == "mac"', { |
75 'sources!': [ | 64 'sources!': [ |
76 '../gm/system_preferences_default.cpp', | 65 '../gm/system_preferences_default.cpp', |
77 ], | 66 ], |
78 'sources': [ | 67 'sources': [ |
79 '../gm/system_preferences_mac.mm', | 68 '../gm/system_preferences_mac.mm', |
80 ], | 69 ], |
81 'link_settings': { | 70 'link_settings': { |
82 'libraries': [ | 71 'libraries': [ |
83 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', | 72 '$(SDKROOT)/System/Library/Frameworks/Cocoa.framework', |
(...skipping 14 matching lines...) Expand all Loading... |
98 ], | 87 ], |
99 }, | 88 }, |
100 ], | 89 ], |
101 } | 90 } |
102 | 91 |
103 # Local Variables: | 92 # Local Variables: |
104 # tab-width:2 | 93 # tab-width:2 |
105 # indent-tabs-mode:nil | 94 # indent-tabs-mode:nil |
106 # End: | 95 # End: |
107 # vim: set expandtab tabstop=2 shiftwidth=2: | 96 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |