OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'targets': [ |
| 7 { |
| 8 'target_name': 'ui_unittests', |
| 9 'type': 'executable', |
| 10 'msvs_guid': 'C412B00F-2098-4833-B3DE-A1B8B7A094F0', |
| 11 'dependencies': [ |
| 12 '../base/base.gyp:base', |
| 13 '../base/base.gyp:test_support_base', |
| 14 '../skia/skia.gyp:skia', |
| 15 '../testing/gmock.gyp:gmock', |
| 16 '../testing/gtest.gyp:gtest', |
| 17 'ui_base', |
| 18 'ui_gfx', |
| 19 'gfx_resources', |
| 20 ], |
| 21 'sources': [ |
| 22 'base/animation/animation_container_unittest.cc', |
| 23 'base/animation/animation_unittest.cc', |
| 24 'base/animation/multi_animation_unittest.cc', |
| 25 'base/animation/slide_animation_unittest.cc', |
| 26 'base/clipboard/clipboard_unittest.cc', |
| 27 'base/range/range_unittest.cc', |
| 28 'base/range/range_unittest.mm', |
| 29 'gfx/blit_unittest.cc', |
| 30 'gfx/codec/jpeg_codec_unittest.cc', |
| 31 'gfx/codec/png_codec_unittest.cc', |
| 32 'gfx/color_utils_unittest.cc', |
| 33 'gfx/font_unittest.cc', |
| 34 'gfx/image_unittest.cc', |
| 35 'gfx/image_unittest.h', |
| 36 'gfx/insets_unittest.cc', |
| 37 'gfx/rect_unittest.cc', |
| 38 'gfx/run_all_unittests.cc', |
| 39 'gfx/skbitmap_operations_unittest.cc', |
| 40 'gfx/test_suite.cc', |
| 41 'gfx/test_suite.h', |
| 42 'views/rendering/border_unittest.cc', |
| 43 'views/view_unittest.cc', |
| 44 'views/widget/native_widget_win_unittest.cc', |
| 45 'views/widget/root_view_unittest.cc', |
| 46 'views/widget/widget_test_util.cc', |
| 47 'views/widget/widget_test_util.h', |
| 48 'views/widget/widget_unittest.cc', |
| 49 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc', |
| 50 ], |
| 51 'include_dirs': [ |
| 52 '../', |
| 53 ], |
| 54 'conditions': [ |
| 55 ['toolkit_views2==1', { |
| 56 'dependencies': [ |
| 57 'v2', |
| 58 ], |
| 59 }], |
| 60 ['OS=="win"', { |
| 61 'sources': [ |
| 62 # TODO(brettw) re-enable this when the dependencies on WindowImpl ar
e fixed! |
| 63 'gfx/canvas_direct2d_unittest.cc', |
| 64 'gfx/icon_util_unittest.cc', |
| 65 'gfx/native_theme_win_unittest.cc', |
| 66 ], |
| 67 'include_dirs': [ |
| 68 '../..', |
| 69 '../third_party/wtl/include', |
| 70 ], |
| 71 'msvs_settings': { |
| 72 'VCLinkerTool': { |
| 73 'DelayLoadDLLs': [ |
| 74 'd2d1.dll', |
| 75 'd3d10_1.dll', |
| 76 ], |
| 77 'AdditionalDependencies': [ |
| 78 'd2d1.lib', |
| 79 'd3d10_1.lib', |
| 80 ], |
| 81 }, |
| 82 'link_settings': { |
| 83 'libraries': [ |
| 84 '-limm32.lib', |
| 85 '-loleacc.lib', |
| 86 ], |
| 87 }, |
| 88 }, |
| 89 }], |
| 90 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { |
| 91 'dependencies': [ |
| 92 '../app/app.gyp:app_base', |
| 93 '../build/linux/system.gyp:gtk', |
| 94 '../chrome/chrome.gyp:packed_resources', |
| 95 ], |
| 96 'conditions': [ |
| 97 ['linux_use_tcmalloc==1', { |
| 98 'dependencies': [ |
| 99 '../base/allocator/allocator.gyp:allocator', |
| 100 ], |
| 101 }], |
| 102 ], |
| 103 }], |
| 104 ], |
| 105 }, |
| 106 ], |
| 107 } |
| 108 |
| 109 # Local Variables: |
| 110 # tab-width:2 |
| 111 # indent-tabs-mode:nil |
| 112 # End: |
| 113 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |