OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 import("//testing/test.gni") | 5 import("//testing/test.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 if (is_mac) { | 7 if (is_mac) { |
8 import("//build/config/mac/mac_sdk.gni") | 8 import("//build/config/mac/mac_sdk.gni") |
9 } | 9 } |
10 | 10 |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 source_set("test_support") { | 106 source_set("test_support") { |
107 testonly = true | 107 testonly = true |
108 sources = [ | 108 sources = [ |
109 "gpu_memory_buffer_factory_test_template.h", | 109 "gpu_memory_buffer_factory_test_template.h", |
110 ] | 110 ] |
111 public_deps = [ | 111 public_deps = [ |
112 ":service", | 112 ":service", |
113 "//testing/gtest:gtest", | 113 "//testing/gtest:gtest", |
114 ] | 114 ] |
115 deps = [ | 115 deps = [ |
| 116 # TODO(markdittmer): Shouldn't depend on client code for server tests. |
| 117 # See crbug.com/608800. |
| 118 "//gpu/ipc/client", |
116 "//gpu/ipc/common", | 119 "//gpu/ipc/common", |
117 ] | 120 ] |
118 } | 121 } |
119 | 122 |
120 test("gpu_ipc_service_unittests") { | 123 test("gpu_ipc_service_unittests") { |
121 configs += [ "//build/config:precompiled_headers" ] | 124 configs += [ "//build/config:precompiled_headers" ] |
122 sources = [ | 125 sources = [ |
123 "gpu_channel_manager_unittest.cc", | 126 "gpu_channel_manager_unittest.cc", |
124 "gpu_channel_test_common.cc", | 127 "gpu_channel_test_common.cc", |
125 "gpu_channel_test_common.h", | 128 "gpu_channel_test_common.h", |
(...skipping 24 matching lines...) Expand all Loading... |
150 sources += [ "gpu_memory_buffer_factory_surface_texture_unittest.cc" ] | 153 sources += [ "gpu_memory_buffer_factory_surface_texture_unittest.cc" ] |
151 } | 154 } |
152 if (is_mac) { | 155 if (is_mac) { |
153 sources += [ "gpu_memory_buffer_factory_io_surface_unittest.cc" ] | 156 sources += [ "gpu_memory_buffer_factory_io_surface_unittest.cc" ] |
154 } | 157 } |
155 if (use_ozone) { | 158 if (use_ozone) { |
156 sources += [ "gpu_memory_buffer_factory_ozone_native_pixmap_unittest.cc" ] | 159 sources += [ "gpu_memory_buffer_factory_ozone_native_pixmap_unittest.cc" ] |
157 deps += [ "//ui/ozone" ] | 160 deps += [ "//ui/ozone" ] |
158 } | 161 } |
159 } | 162 } |
OLD | NEW |