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("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 8 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
| 9 |
9 if (is_mac) { | 10 if (is_mac) { |
10 import("//build/config/mac/mac_sdk.gni") | 11 import("//build/config/mac/mac_sdk.gni") |
11 } | 12 } |
12 | 13 |
13 if (is_chromeos && current_cpu != "arm") { | 14 if (is_chromeos && current_cpu != "arm") { |
14 action("libva_generate_stubs") { | 15 action("libva_generate_stubs") { |
15 extra_header = "gpu/media/va_stub_header.fragment" | 16 extra_header = "gpu/media/va_stub_header.fragment" |
16 | 17 |
17 script = "../../tools/generate_stubs/generate_stubs.py" | 18 script = "../../tools/generate_stubs/generate_stubs.py" |
18 sources = [ | 19 sources = [ |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 # because logging is disabled there. | 264 # because logging is disabled there. |
264 deps += [ "//ppapi/proxy:ipc_sources" ] | 265 deps += [ "//ppapi/proxy:ipc_sources" ] |
265 } | 266 } |
266 | 267 |
267 if (is_ios) { | 268 if (is_ios) { |
268 sources -= [ "user_agent.cc" ] | 269 sources -= [ "user_agent.cc" ] |
269 assert(false, "Need to add lots of conditions here") | 270 assert(false, "Need to add lots of conditions here") |
270 } | 271 } |
271 | 272 |
272 if (use_ozone) { | 273 if (use_ozone) { |
| 274 configs += [ "//ui/ozone:vgem_map" ] |
| 275 |
273 deps += [ | 276 deps += [ |
274 "//ui/ozone:ozone", | 277 "//ui/ozone:ozone", |
275 "//ui/ozone:ozone_base", | 278 "//ui/ozone:ozone_base", |
276 ] | 279 ] |
277 } else { | 280 } else { |
278 sources -= [ | 281 sources -= [ |
279 "cursors/webcursor_ozone.cc", | 282 "cursors/webcursor_ozone.cc", |
280 "font_list_ozone.cc", | 283 "font_list_ozone.cc", |
281 "gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc", | 284 "gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc", |
282 "gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h", | 285 "gpu/client/gpu_memory_buffer_impl_ozone_native_pixmap.h", |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
506 | 509 |
507 import_dirs = [ "//mojo/services" ] | 510 import_dirs = [ "//mojo/services" ] |
508 | 511 |
509 deps = [ | 512 deps = [ |
510 "//content/public/common:mojo_bindings", | 513 "//content/public/common:mojo_bindings", |
511 "//mojo/application/public/interfaces", | 514 "//mojo/application/public/interfaces", |
512 "//skia/public/interfaces", | 515 "//skia/public/interfaces", |
513 "//ui/mojo/geometry:interfaces", | 516 "//ui/mojo/geometry:interfaces", |
514 ] | 517 ] |
515 } | 518 } |
OLD | NEW |