OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//content/common/common.gni") | 7 import("//content/common/common.gni") |
8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
9 | 9 |
10 if (is_chromeos && use_x11 && cpu_arch != "arm") { | 10 if (is_chromeos && use_x11 && cpu_arch != "arm") { |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 if (!use_ozone) { | 152 if (!use_ozone) { |
153 sources -= [ | 153 sources -= [ |
154 "cursors/webcursor_ozone.cc", | 154 "cursors/webcursor_ozone.cc", |
155 "font_list_ozone.cc", | 155 "font_list_ozone.cc", |
156 "gpu/gpu_memory_buffer_factory_ozone.cc", | 156 "gpu/gpu_memory_buffer_factory_ozone.cc", |
157 ] | 157 ] |
158 } else { | 158 } else { |
159 sources -= [ | 159 sources -= [ |
160 "gpu/gpu_memory_buffer_factory_linux.cc", | 160 "gpu/gpu_memory_buffer_factory_linux.cc", |
161 ] | 161 ] |
| 162 deps += [ |
| 163 "//ui/ozone/gpu", |
| 164 ] |
162 } | 165 } |
163 | 166 |
164 if (!use_aura) { | 167 if (!use_aura) { |
165 sources -= [ "cursors/webcursor_aura.cc" ] | 168 sources -= [ "cursors/webcursor_aura.cc" ] |
166 } | 169 } |
167 | 170 |
168 if (!use_aura || !use_x11) { | 171 if (!use_aura || !use_x11) { |
169 sources -= [ "cursors/webcursor_aurax11.cc" ] | 172 sources -= [ "cursors/webcursor_aurax11.cc" ] |
170 } | 173 } |
171 | 174 |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 sources = [ | 320 sources = [ |
318 "geolocation_service.mojom", | 321 "geolocation_service.mojom", |
319 "render_frame_setup.mojom", | 322 "render_frame_setup.mojom", |
320 ] | 323 ] |
321 | 324 |
322 deps = [ | 325 deps = [ |
323 "//content/public/common:mojo_bindings", | 326 "//content/public/common:mojo_bindings", |
324 "//mojo/public/interfaces/application:application", | 327 "//mojo/public/interfaces/application:application", |
325 ] | 328 ] |
326 } | 329 } |
OLD | NEW |