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