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("//media/media_options.gni") | 6 import("//media/media_options.gni") |
7 | 7 |
8 # See //content/BUILD.gn for how this works. | 8 # See //content/BUILD.gn for how this works. |
9 group("gpu") { | 9 group("gpu") { |
10 visibility = [ "//content/*" ] # This is an internal content API. | 10 visibility = [ "//content/*" ] # This is an internal content API. |
(...skipping 20 matching lines...) Expand all Loading... |
31 visibility = [ "//content/*" ] | 31 visibility = [ "//content/*" ] |
32 | 32 |
33 sources = [ | 33 sources = [ |
34 "gpu_child_thread.cc", | 34 "gpu_child_thread.cc", |
35 "gpu_child_thread.h", | 35 "gpu_child_thread.h", |
36 "gpu_main.cc", | 36 "gpu_main.cc", |
37 "gpu_process.cc", | 37 "gpu_process.cc", |
38 "gpu_process.h", | 38 "gpu_process.h", |
39 "gpu_service_factory.cc", | 39 "gpu_service_factory.cc", |
40 "gpu_service_factory.h", | 40 "gpu_service_factory.h", |
41 "gpu_watchdog_thread.cc", | |
42 "gpu_watchdog_thread.h", | |
43 "in_process_gpu_thread.cc", | 41 "in_process_gpu_thread.cc", |
44 "in_process_gpu_thread.h", | 42 "in_process_gpu_thread.h", |
45 ] | 43 ] |
46 | 44 |
47 configs += [ "//content:content_implementation" ] | 45 configs += [ "//content:content_implementation" ] |
48 | 46 |
49 deps = [ | 47 deps = [ |
50 "//base", | 48 "//base", |
51 "//base/third_party/dynamic_annotations", | 49 "//base/third_party/dynamic_annotations", |
52 "//components/tracing", | 50 "//components/tracing", |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 } | 99 } |
102 | 100 |
103 if (use_ozone) { | 101 if (use_ozone) { |
104 deps += [ "//ui/ozone" ] | 102 deps += [ "//ui/ozone" ] |
105 } | 103 } |
106 | 104 |
107 if (enable_vulkan) { | 105 if (enable_vulkan) { |
108 deps += [ "//gpu/vulkan" ] | 106 deps += [ "//gpu/vulkan" ] |
109 } | 107 } |
110 } | 108 } |
OLD | NEW |