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