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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 "stream_texture_android.h", | 111 "stream_texture_android.h", |
112 ] | 112 ] |
113 libs += [ "android" ] | 113 libs += [ "android" ] |
114 } | 114 } |
115 if (is_linux) { | 115 if (is_linux) { |
116 sources += [ | 116 sources += [ |
117 "gpu_memory_buffer_factory_native_pixmap.cc", | 117 "gpu_memory_buffer_factory_native_pixmap.cc", |
118 "gpu_memory_buffer_factory_native_pixmap.h", | 118 "gpu_memory_buffer_factory_native_pixmap.h", |
119 "image_transport_surface_linux.cc", | 119 "image_transport_surface_linux.cc", |
120 ] | 120 ] |
| 121 |
| 122 if (!use_ozone) { |
| 123 deps += [ "//ui/gfx:memory_buffer" ] |
| 124 } |
121 } | 125 } |
122 if (use_x11) { | 126 if (use_x11) { |
123 sources += [ "x_util.h" ] | 127 sources += [ "x_util.h" ] |
124 } | 128 } |
125 if (use_ozone) { | 129 if (use_ozone) { |
126 deps += [ "//ui/ozone" ] | 130 deps += [ "//ui/ozone" ] |
127 } | 131 } |
128 } | 132 } |
129 | 133 |
130 source_set("test_support") { | 134 source_set("test_support") { |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 if (is_mac) { | 182 if (is_mac) { |
179 sources += [ "gpu_memory_buffer_factory_io_surface_unittest.cc" ] | 183 sources += [ "gpu_memory_buffer_factory_io_surface_unittest.cc" ] |
180 } | 184 } |
181 if (is_linux) { | 185 if (is_linux) { |
182 sources += [ "gpu_memory_buffer_factory_native_pixmap_unittest.cc" ] | 186 sources += [ "gpu_memory_buffer_factory_native_pixmap_unittest.cc" ] |
183 } | 187 } |
184 if (use_ozone) { | 188 if (use_ozone) { |
185 deps += [ "//ui/ozone" ] | 189 deps += [ "//ui/ozone" ] |
186 } | 190 } |
187 } | 191 } |
OLD | NEW |