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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 sources -= [ "user_agent.cc" ] | 148 sources -= [ "user_agent.cc" ] |
149 assert(false, "Need to add lots of conditions here") | 149 assert(false, "Need to add lots of conditions here") |
150 } | 150 } |
151 | 151 |
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 { |
| 159 sources -= [ |
| 160 "gpu/gpu_memory_buffer_factory_linux.cc", |
| 161 ] |
158 } | 162 } |
159 | 163 |
160 if (!use_aura) { | 164 if (!use_aura) { |
161 sources -= [ "cursors/webcursor_aura.cc" ] | 165 sources -= [ "cursors/webcursor_aura.cc" ] |
162 } | 166 } |
163 | 167 |
164 if (!use_aura || !use_x11) { | 168 if (!use_aura || !use_x11) { |
165 sources -= [ "cursors/webcursor_aurax11.cc" ] | 169 sources -= [ "cursors/webcursor_aurax11.cc" ] |
166 } | 170 } |
167 | 171 |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 sources = [ | 317 sources = [ |
314 "geolocation_service.mojom", | 318 "geolocation_service.mojom", |
315 "render_frame_setup.mojom", | 319 "render_frame_setup.mojom", |
316 ] | 320 ] |
317 | 321 |
318 deps = [ | 322 deps = [ |
319 "//content/public/common:mojo_bindings", | 323 "//content/public/common:mojo_bindings", |
320 "//mojo/public/interfaces/application:application", | 324 "//mojo/public/interfaces/application:application", |
321 ] | 325 ] |
322 } | 326 } |
OLD | NEW |