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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 source_set("test_support") { | 122 source_set("test_support") { |
123 testonly = true | 123 testonly = true |
124 sources = [ | 124 sources = [ |
125 "gpu_memory_buffer_factory_test_template.h", | 125 "gpu_memory_buffer_factory_test_template.h", |
126 ] | 126 ] |
127 public_deps = [ | 127 public_deps = [ |
128 ":service", | 128 ":service", |
129 "//testing/gtest:gtest", | 129 "//testing/gtest:gtest", |
130 ] | 130 ] |
131 deps = [ | 131 deps = [ |
132 # TODO(markdittmer): Shouldn't depend on client code for server tests. | |
133 # See crbug.com/608800. | |
134 "//gpu/ipc/client", | |
135 "//gpu/ipc/common", | 132 "//gpu/ipc/common", |
136 ] | 133 ] |
137 } | 134 } |
138 | 135 |
139 test("gpu_ipc_service_unittests") { | 136 test("gpu_ipc_service_unittests") { |
140 configs += [ "//build/config:precompiled_headers" ] | 137 configs += [ "//build/config:precompiled_headers" ] |
141 sources = [ | 138 sources = [ |
142 "gpu_channel_manager_unittest.cc", | 139 "gpu_channel_manager_unittest.cc", |
143 "gpu_channel_test_common.cc", | 140 "gpu_channel_test_common.cc", |
144 "gpu_channel_test_common.h", | 141 "gpu_channel_test_common.h", |
(...skipping 25 matching lines...) Expand all Loading... |
170 deps += [ "//ui/android:ui_java" ] | 167 deps += [ "//ui/android:ui_java" ] |
171 } | 168 } |
172 if (is_mac) { | 169 if (is_mac) { |
173 sources += [ "gpu_memory_buffer_factory_io_surface_unittest.cc" ] | 170 sources += [ "gpu_memory_buffer_factory_io_surface_unittest.cc" ] |
174 } | 171 } |
175 if (use_ozone) { | 172 if (use_ozone) { |
176 sources += [ "gpu_memory_buffer_factory_ozone_native_pixmap_unittest.cc" ] | 173 sources += [ "gpu_memory_buffer_factory_ozone_native_pixmap_unittest.cc" ] |
177 deps += [ "//ui/ozone" ] | 174 deps += [ "//ui/ozone" ] |
178 } | 175 } |
179 } | 176 } |
OLD | NEW |