OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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 'target_defaults': { | 9 'target_defaults': { |
10 'sources/': [ | 10 'sources/': [ |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 ] | 69 ] |
70 }, | 70 }, |
71 }], | 71 }], |
72 ['OS == "win" and views_compositor == 0', { | 72 ['OS == "win" and views_compositor == 0', { |
73 'sources/': [ | 73 'sources/': [ |
74 ['exclude', '^compositor_win.cc'], | 74 ['exclude', '^compositor_win.cc'], |
75 ], | 75 ], |
76 }], | 76 }], |
77 ], | 77 ], |
78 }, | 78 }, |
| 79 |
| 80 { |
| 81 'target_name': 'compositor_unittests', |
| 82 'type': 'executable', |
| 83 'dependencies': [ |
| 84 '<(DEPTH)/base/base.gyp:base', |
| 85 '<(DEPTH)/base/base.gyp:test_support_base', |
| 86 '<(DEPTH)/skia/skia.gyp:skia', |
| 87 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 88 '<(DEPTH)/ui/gfx/gl/gl.gyp:gl', |
| 89 '<(DEPTH)/ui/ui.gyp:gfx_resources', |
| 90 '<(DEPTH)/ui/ui.gyp:ui', |
| 91 '<(DEPTH)/ui/ui.gyp:ui_resources', |
| 92 'compositor', |
| 93 ], |
| 94 'sources': [ |
| 95 'layer_unittest.cc', |
| 96 'run_all_unittests.cc', |
| 97 'test_compositor_host.h', |
| 98 'test_compositor_host_win.cc', |
| 99 'test_suite.cc', |
| 100 'test_suite.h', |
| 101 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc', |
| 102 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc', |
| 103 ], |
| 104 }, |
| 105 |
79 ], | 106 ], |
80 } | 107 } |
OLD | NEW |