OLD | NEW |
1 # GYP file to build various tools. | 1 # GYP file to build various tools. |
2 # | 2 # |
3 # To build on Linux: | 3 # To build on Linux: |
4 # ./gyp_skia tools.gyp && make tools | 4 # ./gyp_skia tools.gyp && make tools |
5 # | 5 # |
6 { | 6 { |
7 'includes': [ | 7 'includes': [ |
8 'apptype_console.gypi', | 8 'apptype_console.gypi', |
9 ], | 9 ], |
10 'targets': [ | 10 'targets': [ |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 ], | 43 ], |
44 }, | 44 }, |
45 { | 45 { |
46 'target_name': 'crash_handler', | 46 'target_name': 'crash_handler', |
47 'type': 'static_library', | 47 'type': 'static_library', |
48 'sources': [ '../tools/CrashHandler.cpp' ], | 48 'sources': [ '../tools/CrashHandler.cpp' ], |
49 'dependencies': [ 'skia_lib.gyp:skia_lib' ], | 49 'dependencies': [ 'skia_lib.gyp:skia_lib' ], |
50 'direct_dependent_settings': { | 50 'direct_dependent_settings': { |
51 'include_dirs': [ '../tools' ], | 51 'include_dirs': [ '../tools' ], |
52 }, | 52 }, |
| 53 'conditions': [ |
| 54 [ 'skia_is_bot', { |
| 55 'defines': [ 'SK_CRASH_HANDLER' ], |
| 56 }], |
| 57 ], |
| 58 |
53 'all_dependent_settings': { | 59 'all_dependent_settings': { |
54 'msvs_settings': { | 60 'msvs_settings': { |
55 'VCLinkerTool': { | 61 'VCLinkerTool': { |
56 'AdditionalDependencies': [ 'Dbghelp.lib' ], | 62 'AdditionalDependencies': [ 'Dbghelp.lib' ], |
57 } | 63 } |
58 }, | 64 }, |
59 } | 65 } |
60 }, | 66 }, |
61 { | 67 { |
62 'target_name': 'resources', | 68 'target_name': 'resources', |
(...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
761 'flags.gyp:flags', | 767 'flags.gyp:flags', |
762 'skia_lib.gyp:skia_lib', | 768 'skia_lib.gyp:skia_lib', |
763 'resources', | 769 'resources', |
764 ], | 770 ], |
765 }, | 771 }, |
766 ], | 772 ], |
767 }, | 773 }, |
768 ], | 774 ], |
769 ], | 775 ], |
770 } | 776 } |
OLD | NEW |