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', |
| 9 'type': 'static_library', |
| 10 'include_dirs' : [ |
| 11 '../src/utils/', |
| 12 ], |
| 13 'sources': [ |
| 14 '../gm/gm_expectations.h', |
| 15 '../gm/gm_expectations.cpp', |
| 16 '../tools/sk_tool_utils.cpp', |
| 17 ], |
| 18 'dependencies': [ |
| 19 'crash_handler.gyp:CrashHandler', |
| 20 'jsoncpp.gyp:jsoncpp', |
| 21 'skia_lib.gyp:skia_lib', |
| 22 ], |
| 23 'direct_dependent_settings': { |
| 24 'include_dirs': [ |
| 25 '../gm/', |
| 26 ], |
| 27 }, |
| 28 }, |
| 29 { |
8 'target_name': 'gm', | 30 'target_name': 'gm', |
9 'type': 'executable', | 31 'type': 'executable', |
10 'include_dirs' : [ | 32 'include_dirs' : [ |
11 '../src/core', | 33 '../src/core', |
12 '../src/effects', | 34 '../src/effects', |
13 '../src/images', | 35 '../src/images', |
14 '../src/pipe/utils', | 36 '../src/pipe/utils', |
15 '../src/utils', | 37 '../src/utils', |
16 ], | 38 ], |
17 'includes': [ | 39 'includes': [ |
18 'gmslides.gypi', | 40 'gmslides.gypi', |
19 ], | 41 ], |
20 'sources': [ | 42 'sources': [ |
21 '../gm/gmmain.cpp', | 43 '../gm/gmmain.cpp', |
22 '../gm/system_preferences_default.cpp', | 44 '../gm/system_preferences_default.cpp', |
23 | 45 |
24 '../src/pipe/utils/SamplePipeControllers.h', | 46 '../src/pipe/utils/SamplePipeControllers.h', |
25 '../src/pipe/utils/SamplePipeControllers.cpp', | 47 '../src/pipe/utils/SamplePipeControllers.cpp', |
26 ], | 48 ], |
27 'dependencies': [ | 49 'dependencies': [ |
28 'etc1.gyp:libetc1', | 50 'etc1.gyp:libetc1', |
29 'flags.gyp:flags', | 51 'flags.gyp:flags', |
| 52 'gm.gyp:gm_expectations', |
30 'jsoncpp.gyp:jsoncpp', | 53 'jsoncpp.gyp:jsoncpp', |
31 'pdf.gyp:pdf', | 54 'pdf.gyp:pdf', |
| 55 'resources.gyp:resources', |
32 'skia_lib.gyp:skia_lib', | 56 'skia_lib.gyp:skia_lib', |
33 'tools.gyp:crash_handler', | |
34 'tools.gyp:gm_expectations', | |
35 'tools.gyp:resources', | |
36 ], | 57 ], |
37 'conditions': [ | 58 'conditions': [ |
38 ['skia_android_framework', { | 59 ['skia_android_framework', { |
39 'libraries': [ | 60 'libraries': [ |
40 '-lskia', | 61 '-lskia', |
41 ], | 62 ], |
42 }], | 63 }], |
43 ['skia_run_pdfviewer_in_gm or skia_poppler_enabled', { | 64 ['skia_run_pdfviewer_in_gm or skia_poppler_enabled', { |
44 'sources': [ | 65 'sources': [ |
45 '../src/utils/SkPDFRasterizer.cpp', | 66 '../src/utils/SkPDFRasterizer.cpp', |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 '../src/gpu', | 109 '../src/gpu', |
89 ], | 110 ], |
90 'dependencies': [ | 111 'dependencies': [ |
91 'gputest.gyp:skgputest', | 112 'gputest.gyp:skgputest', |
92 ], | 113 ], |
93 }], | 114 }], |
94 ], | 115 ], |
95 }, | 116 }, |
96 ], | 117 ], |
97 } | 118 } |
OLD | NEW |