| 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' : [ |
| 11 '../src/utils/', | 11 '../src/utils/', |
| 12 ], | 12 ], |
| 13 'sources': [ | 13 'sources': [ |
| 14 '../gm/gm_expectations.h', | 14 '../gm/gm_expectations.h', |
| 15 '../gm/gm_expectations.cpp', | 15 '../gm/gm_expectations.cpp', |
| 16 ], | 16 ], |
| 17 'dependencies': [ | 17 'dependencies': [ |
| 18 'skia_lib.gyp:skia_lib', | 18 'skia_lib.gyp:skia_lib', |
| 19 'jsoncpp.gyp:jsoncpp', | 19 'jsoncpp.gyp:jsoncpp', |
| 20 ], | 20 ], |
| 21 'direct_dependent_settings': { | 21 'direct_dependent_settings': { |
| 22 'include_dirs': [ | 22 'include_dirs': [ |
| 23 '../gm/', | 23 '../gm/', |
| 24 ], | 24 ], |
| 25 }, | 25 }, |
| 26 'conditions': [ |
| 27 ['skia_android_framework', { |
| 28 'dependencies!': [ |
| 29 'jsoncpp.gyp:jsoncpp', |
| 30 ], |
| 31 }], |
| 32 ], |
| 26 }, | 33 }, |
| 27 { | 34 { |
| 28 'target_name': 'gm', | 35 'target_name': 'gm', |
| 29 'type': 'executable', | 36 'type': 'executable', |
| 30 'include_dirs' : [ | 37 'include_dirs' : [ |
| 31 '../src/core', | 38 '../src/core', |
| 32 '../src/images', | 39 '../src/images', |
| 33 '../src/effects', | 40 '../src/effects', |
| 34 '../src/pipe/utils/', | 41 '../src/pipe/utils/', |
| 35 '../src/utils/', | 42 '../src/utils/', |
| 36 ], | 43 ], |
| 37 'includes': [ | 44 'includes': [ |
| 38 'gmslides.gypi', | 45 'gmslides.gypi', |
| 39 ], | 46 ], |
| 40 'sources': [ | 47 'sources': [ |
| 41 '../gm/gmmain.cpp', | 48 '../gm/gmmain.cpp', |
| 42 '../gm/system_preferences_default.cpp', | 49 '../gm/system_preferences_default.cpp', |
| 43 | 50 |
| 44 '../src/pipe/utils/SamplePipeControllers.h', | 51 '../src/pipe/utils/SamplePipeControllers.h', |
| 45 '../src/pipe/utils/SamplePipeControllers.cpp', | 52 '../src/pipe/utils/SamplePipeControllers.cpp', |
| 46 ], | 53 ], |
| 47 'dependencies': [ | 54 'dependencies': [ |
| 48 'skia_lib.gyp:skia_lib', | 55 'skia_lib.gyp:skia_lib', |
| 49 'flags.gyp:flags', | 56 'flags.gyp:flags', |
| 50 'gm.gyp:gm_expectations', | 57 'gm.gyp:gm_expectations', |
| 51 'jsoncpp.gyp:jsoncpp', | 58 'jsoncpp.gyp:jsoncpp', |
| 52 'pdf.gyp:pdf', | 59 'pdf.gyp:pdf', |
| 53 ], | 60 ], |
| 54 'conditions': [ | 61 'conditions': [ |
| 62 ['skia_android_framework', { |
| 63 'libraries': [ |
| 64 '-lskia', |
| 65 '-lcutils', |
| 66 ], |
| 67 'dependencies!': [ |
| 68 'jsoncpp.gyp:jsoncpp', |
| 69 ], |
| 70 }], |
| 55 ['skia_run_pdfviewer_in_gm or skia_poppler_enabled', { | 71 ['skia_run_pdfviewer_in_gm or skia_poppler_enabled', { |
| 56 'sources': [ | 72 'sources': [ |
| 57 '../src/utils/SkPDFRasterizer.cpp', | 73 '../src/utils/SkPDFRasterizer.cpp', |
| 58 ], | 74 ], |
| 59 }], | 75 }], |
| 60 ['skia_run_pdfviewer_in_gm', { | 76 ['skia_run_pdfviewer_in_gm', { |
| 61 'defines': [ | 77 'defines': [ |
| 62 'SK_BUILD_NATIVE_PDF_RENDERER', | 78 'SK_BUILD_NATIVE_PDF_RENDERER', |
| 63 ], | 79 ], |
| 64 'include_dirs' : [ | 80 'include_dirs' : [ |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 '../src/gpu', | 116 '../src/gpu', |
| 101 ], | 117 ], |
| 102 'dependencies': [ | 118 'dependencies': [ |
| 103 'gputest.gyp:skgputest', | 119 'gputest.gyp:skgputest', |
| 104 ], | 120 ], |
| 105 }], | 121 }], |
| 106 ], | 122 ], |
| 107 }, | 123 }, |
| 108 ], | 124 ], |
| 109 } | 125 } |
| OLD | NEW |