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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 if (is_win) { | 80 if (is_win) { |
81 sources += [ | 81 sources += [ |
82 "child_window_surface_win.cc", | 82 "child_window_surface_win.cc", |
83 "child_window_surface_win.h", | 83 "child_window_surface_win.h", |
84 "child_window_win.cc", | 84 "child_window_win.cc", |
85 "child_window_win.h", | 85 "child_window_win.h", |
86 "direct_composition_surface_win.cc", | 86 "direct_composition_surface_win.cc", |
87 "direct_composition_surface_win.h", | 87 "direct_composition_surface_win.h", |
88 "image_transport_surface_win.cc", | 88 "image_transport_surface_win.cc", |
89 ] | 89 ] |
| 90 libs += [ "dwmapi.lib" ] |
90 } | 91 } |
91 if (is_mac) { | 92 if (is_mac) { |
92 sources += [ | 93 sources += [ |
93 "gpu_memory_buffer_factory_io_surface.cc", | 94 "gpu_memory_buffer_factory_io_surface.cc", |
94 "gpu_memory_buffer_factory_io_surface.h", | 95 "gpu_memory_buffer_factory_io_surface.h", |
95 "image_transport_surface_mac.mm", | 96 "image_transport_surface_mac.mm", |
96 "image_transport_surface_overlay_mac.h", | 97 "image_transport_surface_overlay_mac.h", |
97 "image_transport_surface_overlay_mac.mm", | 98 "image_transport_surface_overlay_mac.mm", |
98 ] | 99 ] |
99 deps += [ "//ui/accelerated_widget_mac" ] | 100 deps += [ "//ui/accelerated_widget_mac" ] |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 if (is_mac) { | 178 if (is_mac) { |
178 sources += [ "gpu_memory_buffer_factory_io_surface_unittest.cc" ] | 179 sources += [ "gpu_memory_buffer_factory_io_surface_unittest.cc" ] |
179 } | 180 } |
180 if (is_linux) { | 181 if (is_linux) { |
181 sources += [ "gpu_memory_buffer_factory_native_pixmap_unittest.cc" ] | 182 sources += [ "gpu_memory_buffer_factory_native_pixmap_unittest.cc" ] |
182 } | 183 } |
183 if (use_ozone) { | 184 if (use_ozone) { |
184 deps += [ "//ui/ozone" ] | 185 deps += [ "//ui/ozone" ] |
185 } | 186 } |
186 } | 187 } |
OLD | NEW |