| 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") { |
| 11 visibility = [ "//content/*" ] | 11 visibility = [ "//content/*" ] |
| 12 | 12 |
| 13 if (is_component_build) { | 13 if (is_component_build) { |
| 14 public_deps = [ | 14 public_deps = [ |
| 15 "//content", | 15 "//content", |
| 16 ] | 16 ] |
| 17 } else { | 17 } else { |
| 18 public_deps = [ | 18 public_deps = [ |
| 19 ":gpu_sources", | 19 ":gpu_sources", |
| 20 ] | 20 ] |
| 21 } | 21 } |
| 22 } | 22 } |
| 23 | 23 |
| 24 source_set("gpu_sources") { | 24 source_set("gpu_sources") { |
| 25 visibility = [ "//content/*" ] | 25 visibility = [ "//content/*" ] |
| 26 | 26 |
| 27 sources = [ | 27 sources = [ |
| 28 "content_gpu_message_generator.cc", | 28 "content_gpu_message_generator.cc", |
| 29 "content_gpu_message_generator.h", | 29 "content_gpu_message_generator.h", |
| 30 "establish_channel_params.cc", |
| 31 "establlish_channel_params.h", |
| 30 "gpu_child_thread.cc", | 32 "gpu_child_thread.cc", |
| 31 "gpu_child_thread.h", | 33 "gpu_child_thread.h", |
| 32 "gpu_host_messages.h", | 34 "gpu_host_messages.h", |
| 33 "gpu_main.cc", | 35 "gpu_main.cc", |
| 34 "gpu_process.cc", | 36 "gpu_process.cc", |
| 35 "gpu_process.h", | 37 "gpu_process.h", |
| 36 "gpu_process_control_impl.cc", | 38 "gpu_process_control_impl.cc", |
| 37 "gpu_process_control_impl.h", | 39 "gpu_process_control_impl.h", |
| 38 "gpu_watchdog_thread.cc", | 40 "gpu_watchdog_thread.cc", |
| 39 "gpu_watchdog_thread.h", | 41 "gpu_watchdog_thread.h", |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 } | 83 } |
| 82 | 84 |
| 83 if (use_x11) { | 85 if (use_x11) { |
| 84 deps += [ "//ui/events/platform/x11" ] | 86 deps += [ "//ui/events/platform/x11" ] |
| 85 } | 87 } |
| 86 | 88 |
| 87 if (enable_vulkan) { | 89 if (enable_vulkan) { |
| 88 deps += [ "//gpu/vulkan" ] | 90 deps += [ "//gpu/vulkan" ] |
| 89 } | 91 } |
| 90 } | 92 } |
| OLD | NEW |