| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 '../src/utils/debugger/SkObjectParser.cpp', | 55 '../src/utils/debugger/SkObjectParser.cpp', |
| 56 ], | 56 ], |
| 57 'dependencies': [ | 57 'dependencies': [ |
| 58 'skia_lib.gyp:skia_lib', | 58 'skia_lib.gyp:skia_lib', |
| 59 'flags.gyp:flags', | 59 'flags.gyp:flags', |
| 60 'gm.gyp:gm_expectations', | 60 'gm.gyp:gm_expectations', |
| 61 'jsoncpp.gyp:jsoncpp', | 61 'jsoncpp.gyp:jsoncpp', |
| 62 'pdf.gyp:pdf', | 62 'pdf.gyp:pdf', |
| 63 ], | 63 ], |
| 64 'conditions': [ | 64 'conditions': [ |
| 65 ['skia_run_pdfviewer_in_gm or skia_poppler_enabled', { |
| 66 'sources': [ |
| 67 '../src/utils/SkPDFRasterizer.cpp', |
| 68 ], |
| 69 }], |
| 65 ['skia_run_pdfviewer_in_gm', { | 70 ['skia_run_pdfviewer_in_gm', { |
| 66 'defines': [ | 71 'defines': [ |
| 67 'SK_BUILD_NATIVE_PDF_RENDERER', | 72 'SK_BUILD_NATIVE_PDF_RENDERER', |
| 68 ], | 73 ], |
| 69 'include_dirs' : [ | 74 'include_dirs' : [ |
| 70 '../experimental/PdfViewer/inc', | 75 '../experimental/PdfViewer/inc', |
| 71 ], | 76 ], |
| 72 'dependencies': [ | 77 'dependencies': [ |
| 73 'pdfviewer_lib.gyp:pdfviewer_lib', | 78 'pdfviewer_lib.gyp:pdfviewer_lib', |
| 74 ], | 79 ], |
| 75 }], | 80 }], |
| 76 ['skia_poppler_enabled', { | 81 ['skia_poppler_enabled', { |
| 77 'dependencies': [ | 82 'dependencies': [ |
| 78 'poppler.gyp:libpoppler-cpp-gpl', | 83 'poppler.gyp:libpoppler-cpp-gpl', |
| 79 ], | 84 ], |
| 80 'sources': [ | |
| 81 '../src/utils/SkPDFRasterizer.cpp', | |
| 82 ], | |
| 83 'defines': [ | 85 'defines': [ |
| 84 'SK_BUILD_POPPLER', | 86 'SK_BUILD_POPPLER', |
| 85 ], | 87 ], |
| 86 }], | 88 }], |
| 87 ['skia_os == "mac"', { | 89 ['skia_os == "mac"', { |
| 88 'sources!': [ | 90 'sources!': [ |
| 89 '../gm/system_preferences_default.cpp', | 91 '../gm/system_preferences_default.cpp', |
| 90 ], | 92 ], |
| 91 'sources': [ | 93 'sources': [ |
| 92 '../gm/system_preferences_mac.mm', | 94 '../gm/system_preferences_mac.mm', |
| (...skipping 15 matching lines...) Expand all Loading... |
| 108 '../src/gpu', | 110 '../src/gpu', |
| 109 ], | 111 ], |
| 110 'dependencies': [ | 112 'dependencies': [ |
| 111 'gputest.gyp:skgputest', | 113 'gputest.gyp:skgputest', |
| 112 ], | 114 ], |
| 113 }], | 115 }], |
| 114 ], | 116 ], |
| 115 }, | 117 }, |
| 116 ], | 118 ], |
| 117 } | 119 } |
| OLD | NEW |