| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| 11 'target_name': 'gfx_unittests', | 11 'target_name': 'gfx_unittests', |
| 12 'type': 'executable', | 12 'type': 'executable', |
| 13 'msvs_guid': 'C8BD2821-EAE5-4AC6-A0E4-F82CAC2956CC', | 13 'msvs_guid': 'C8BD2821-EAE5-4AC6-A0E4-F82CAC2956CC', |
| 14 'dependencies': [ | 14 'dependencies': [ |
| 15 'gfx', | 15 'gfx', |
| 16 '../skia/skia.gyp:skia', | 16 '../skia/skia.gyp:skia', |
| 17 '../testing/gtest.gyp:gtest', | 17 '../testing/gtest.gyp:gtest', |
| 18 ], | 18 ], |
| 19 'sources': [ | 19 'sources': [ |
| 20 'codec/jpeg_codec_unittest.cc', | 20 'codec/jpeg_codec_unittest.cc', |
| 21 'codec/png_codec_unittest.cc', | 21 'codec/png_codec_unittest.cc', |
| 22 'color_utils_unittest.cc', | 22 'color_utils_unittest.cc', |
| 23 'font_unittest.cc', |
| 23 'insets_unittest.cc', | 24 'insets_unittest.cc', |
| 24 'rect_unittest.cc', | 25 'rect_unittest.cc', |
| 25 'run_all_unittests.cc', | 26 'run_all_unittests.cc', |
| 26 'skbitmap_operations_unittest.cc', | 27 'skbitmap_operations_unittest.cc', |
| 27 'test_suite.h', | 28 'test_suite.h', |
| 28 ], | 29 ], |
| 29 'include_dirs': [ | 30 'include_dirs': [ |
| 30 '..', | 31 '..', |
| 31 ], | 32 ], |
| 32 'conditions': [ | 33 'conditions': [ |
| (...skipping 21 matching lines...) Expand all Loading... |
| 54 '../third_party/icu/icu.gyp:icui18n', | 55 '../third_party/icu/icu.gyp:icui18n', |
| 55 '../third_party/icu/icu.gyp:icuuc', | 56 '../third_party/icu/icu.gyp:icuuc', |
| 56 '../third_party/libjpeg/libjpeg.gyp:libjpeg', | 57 '../third_party/libjpeg/libjpeg.gyp:libjpeg', |
| 57 '../third_party/libpng/libpng.gyp:libpng', | 58 '../third_party/libpng/libpng.gyp:libpng', |
| 58 '../third_party/sqlite/sqlite.gyp:sqlite', | 59 '../third_party/sqlite/sqlite.gyp:sqlite', |
| 59 '../third_party/zlib/zlib.gyp:zlib', | 60 '../third_party/zlib/zlib.gyp:zlib', |
| 60 ], | 61 ], |
| 61 'sources': [ | 62 'sources': [ |
| 62 'blit.cc', | 63 'blit.cc', |
| 63 'blit.h', | 64 'blit.h', |
| 65 'canvas.cc', |
| 66 'canvas.h', |
| 67 'canvas_linux.cc', |
| 68 'canvas_mac.mm', |
| 69 'canvas_win.cc', |
| 64 'codec/jpeg_codec.cc', | 70 'codec/jpeg_codec.cc', |
| 65 'codec/jpeg_codec.h', | 71 'codec/jpeg_codec.h', |
| 66 'codec/png_codec.cc', | 72 'codec/png_codec.cc', |
| 67 'codec/png_codec.h', | 73 'codec/png_codec.h', |
| 68 'color_utils.cc', | 74 'color_utils.cc', |
| 69 'color_utils.h', | 75 'color_utils.h', |
| 70 'favicon_size.h', | 76 'favicon_size.h', |
| 77 'font.h', |
| 78 'font_gtk.cc', |
| 79 'font_mac.mm', |
| 80 'font_skia.cc', |
| 81 'font_win.cc', |
| 71 'gfx_paths.cc', | 82 'gfx_paths.cc', |
| 72 'gfx_paths.h', | 83 'gfx_paths.h', |
| 73 'insets.cc', | 84 'insets.cc', |
| 74 'insets.h', | 85 'insets.h', |
| 75 'native_widget_types.h', | 86 'native_widget_types.h', |
| 76 'path.cc', | 87 'path.cc', |
| 77 'path.h', | 88 'path.h', |
| 78 'path_gtk.cc', | 89 'path_gtk.cc', |
| 79 'path_win.cc', | 90 'path_win.cc', |
| 80 'point.cc', | 91 'point.cc', |
| (...skipping 16 matching lines...) Expand all Loading... |
| 97 'sources': [ | 108 'sources': [ |
| 98 'gdi_util.cc', | 109 'gdi_util.cc', |
| 99 'gdi_util.h', | 110 'gdi_util.h', |
| 100 'icon_util.cc', | 111 'icon_util.cc', |
| 101 'icon_util.h', | 112 'icon_util.h', |
| 102 'native_theme_win.cc', | 113 'native_theme_win.cc', |
| 103 'native_theme_win.h', | 114 'native_theme_win.h', |
| 104 ], | 115 ], |
| 105 }], | 116 }], |
| 106 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { | 117 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { |
| 118 'dependencies': [ |
| 119 # font_gtk.cc uses fontconfig. |
| 120 # TODO(evanm): I think this is wrong; it should just use GTK. |
| 121 '../build/linux/system.gyp:fontconfig', |
| 122 ], |
| 107 'sources': [ | 123 'sources': [ |
| 108 'gtk_native_view_id_manager.cc', | 124 'gtk_native_view_id_manager.cc', |
| 109 'gtk_native_view_id_manager.h', | 125 'gtk_native_view_id_manager.h', |
| 110 'gtk_util.cc', | 126 'gtk_util.cc', |
| 111 'gtk_util.h', | 127 'gtk_util.h', |
| 112 'native_widget_types_gtk.cc', | 128 'native_widget_types_gtk.cc', |
| 113 ], | 129 ], |
| 114 }], | 130 }], |
| 115 ], | 131 ], |
| 116 }, | 132 }, |
| 117 ], | 133 ], |
| 118 } | 134 } |
| 119 | 135 |
| 120 # Local Variables: | 136 # Local Variables: |
| 121 # tab-width:2 | 137 # tab-width:2 |
| 122 # indent-tabs-mode:nil | 138 # indent-tabs-mode:nil |
| 123 # End: | 139 # End: |
| 124 # vim: set expandtab tabstop=2 shiftwidth=2: | 140 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |