| 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 ] | 142 ] |
| 143 | 143 |
| 144 libs += [ "android" ] | 144 libs += [ "android" ] |
| 145 } | 145 } |
| 146 | 146 |
| 147 if (is_ios) { | 147 if (is_ios) { |
| 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 "gpu/client/gpu_memory_buffer_impl_linux.cc", |
| 155 "font_list_ozone.cc", | |
| 156 "gpu/gpu_memory_buffer_factory_ozone.cc", | |
| 157 ] | |
| 158 } else { | |
| 159 sources -= [ | |
| 160 "gpu/gpu_memory_buffer_factory_linux.cc", | 155 "gpu/gpu_memory_buffer_factory_linux.cc", |
| 161 ] | 156 ] |
| 162 deps += [ | 157 deps += [ |
| 163 "//ui/ozone/gpu", | 158 "//ui/ozone/gpu", |
| 164 ] | 159 ] |
| 160 } else { |
| 161 sources -= [ |
| 162 "cursors/webcursor_ozone.cc", |
| 163 "font_list_ozone.cc", |
| 164 "gpu/client/gpu_memory_buffer_impl_ozone.cc", |
| 165 "gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc", |
| 166 "gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h", |
| 167 "gpu/gpu_memory_buffer_factory_ozone.cc", |
| 168 ] |
| 165 } | 169 } |
| 166 | 170 |
| 167 if (!use_aura) { | 171 if (!use_aura) { |
| 168 sources -= [ "cursors/webcursor_aura.cc" ] | 172 sources -= [ "cursors/webcursor_aura.cc" ] |
| 169 } | 173 } |
| 170 | 174 |
| 171 if (!use_aura || !use_x11) { | 175 if (!use_aura || !use_x11) { |
| 172 sources -= [ "cursors/webcursor_aurax11.cc" ] | 176 sources -= [ "cursors/webcursor_aurax11.cc" ] |
| 173 } | 177 } |
| 174 | 178 |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 "geolocation_service.mojom", | 325 "geolocation_service.mojom", |
| 322 "permission_service.mojom", | 326 "permission_service.mojom", |
| 323 "render_frame_setup.mojom", | 327 "render_frame_setup.mojom", |
| 324 ] | 328 ] |
| 325 | 329 |
| 326 deps = [ | 330 deps = [ |
| 327 "//content/public/common:mojo_bindings", | 331 "//content/public/common:mojo_bindings", |
| 328 "//mojo/public/interfaces/application:application", | 332 "//mojo/public/interfaces/application:application", |
| 329 ] | 333 ] |
| 330 } | 334 } |
| OLD | NEW |