| 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/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 import("//content/content.gni") | 6 import("//content/content.gni") |
| 7 import("//media/media_options.gni") | 7 import("//media/media_options.gni") |
| 8 | 8 |
| 9 # See //content/BUILD.gn for how this works. | 9 # See //content/BUILD.gn for how this works. |
| 10 group("gpu") { | 10 group("gpu") { |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 "gpu_watchdog_thread.cc", | 35 "gpu_watchdog_thread.cc", |
| 36 "gpu_watchdog_thread.h", | 36 "gpu_watchdog_thread.h", |
| 37 "in_process_gpu_thread.cc", | 37 "in_process_gpu_thread.cc", |
| 38 "in_process_gpu_thread.h", | 38 "in_process_gpu_thread.h", |
| 39 ] | 39 ] |
| 40 | 40 |
| 41 configs += [ "//content:content_implementation" ] | 41 configs += [ "//content:content_implementation" ] |
| 42 | 42 |
| 43 deps = [ | 43 deps = [ |
| 44 "//base", | 44 "//base", |
| 45 "//base/third_party/dynamic_annotations", | |
| 46 "//components/tracing", | |
| 47 "//content:export", | 45 "//content:export", |
| 48 "//content/public/child:child_sources", | 46 "//content/public/child:child_sources", |
| 49 "//content/public/common:common_sources", | 47 "//content/public/common:common_sources", |
| 50 "//gpu:gpu", | 48 "//gpu:gpu", |
| 51 "//gpu/ipc/common:command_buffer_traits", | 49 "//gpu/ipc/common:command_buffer_traits", |
| 52 "//ipc", | 50 "//ipc", |
| 53 "//media/mojo/services:application_factory", | |
| 54 "//mojo/shell/public/interfaces", | 51 "//mojo/shell/public/interfaces", |
| 55 "//skia", | 52 "//skia", |
| 56 "//ui/events/ipc", | |
| 57 "//ui/gfx/ipc", | |
| 58 "//ui/gl", | 53 "//ui/gl", |
| 59 ] | 54 ] |
| 60 | 55 |
| 61 public_deps = [ | 56 public_deps = [ |
| 62 "//content/common:mojo_bindings", | 57 "//content/common:mojo_bindings", |
| 63 ] | 58 ] |
| 64 | 59 |
| 65 if (mojo_media_host == "gpu") { | 60 if (mojo_media_host == "gpu") { |
| 66 deps += [ "//media/mojo/services:application_factory" ] | 61 deps += [ "//media/mojo/services:application_factory" ] |
| 67 } | 62 } |
| 68 | 63 |
| 69 if (is_win) { | 64 if (is_win) { |
| 70 configs += [ | 65 configs += [ |
| 71 "//third_party/khronos:khronos_headers", | 66 "//third_party/khronos:khronos_headers", |
| 72 "//third_party/wtl:wtl_includes", | 67 "//third_party/wtl:wtl_includes", |
| 73 ] | 68 ] |
| 74 libs = [ "setupapi.lib" ] | 69 libs = [ "setupapi.lib" ] |
| 75 deps += [ | 70 deps += [ |
| 76 "//sandbox", | |
| 77 "//third_party/angle:libEGL", | 71 "//third_party/angle:libEGL", |
| 78 "//third_party/angle:libGLESv2", | 72 "//third_party/angle:libGLESv2", |
| 79 ] | 73 ] |
| 80 } | 74 } |
| 81 | 75 |
| 82 if (is_chromeos && current_cpu != "arm") { | 76 if (is_chromeos && current_cpu != "arm") { |
| 83 configs += [ "//third_party/libva:libva_config" ] | 77 configs += [ "//third_party/libva:libva_config" ] |
| 84 } | 78 } |
| 85 | 79 |
| 86 if (use_x11) { | 80 if (use_x11) { |
| 87 deps += [ "//ui/events/platform/x11" ] | 81 deps += [ "//ui/events/platform/x11" ] |
| 88 } | 82 } |
| 89 | 83 |
| 90 if (use_ozone) { | |
| 91 deps += [ "//ui/ozone" ] | |
| 92 } | |
| 93 | |
| 94 if (enable_vulkan) { | 84 if (enable_vulkan) { |
| 95 deps += [ "//gpu/vulkan" ] | 85 deps += [ "//gpu/vulkan" ] |
| 96 } | 86 } |
| 97 } | 87 } |
| OLD | NEW |