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