Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(629)

Side by Side Diff: gpu/ipc/service/BUILD.gn

Issue 1949593002: Fix gpu_ipc_service_unittests on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Wrap Android-specific bits in if defined(OS_ANDROID) Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « gpu/ipc/client/android/in_process_surface_texture_manager.h ('k') | gpu/ipc/service/gpu_channel_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698