Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Side by Side Diff: content/gpu/BUILD.gn

Issue 1828483002: Content "gn check" work. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/common/BUILD.gn ('k') | content/plugin/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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",
45 "//content:export", 47 "//content:export",
46 "//content/public/child:child_sources", 48 "//content/public/child:child_sources",
47 "//content/public/common:common_sources", 49 "//content/public/common:common_sources",
48 "//gpu:gpu", 50 "//gpu:gpu",
49 "//gpu/ipc/common:command_buffer_traits", 51 "//gpu/ipc/common:command_buffer_traits",
50 "//ipc", 52 "//ipc",
53 "//media/mojo/services:application_factory",
51 "//mojo/shell/public/interfaces", 54 "//mojo/shell/public/interfaces",
52 "//skia", 55 "//skia",
56 "//ui/events/ipc",
57 "//ui/gfx/ipc",
53 "//ui/gl", 58 "//ui/gl",
54 ] 59 ]
55 60
56 public_deps = [ 61 public_deps = [
57 "//content/common:mojo_bindings", 62 "//content/common:mojo_bindings",
58 ] 63 ]
59 64
60 if (mojo_media_host == "gpu") { 65 if (mojo_media_host == "gpu") {
61 deps += [ "//media/mojo/services:application_factory" ] 66 deps += [ "//media/mojo/services:application_factory" ]
62 } 67 }
63 68
64 if (is_win) { 69 if (is_win) {
65 configs += [ 70 configs += [
66 "//third_party/khronos:khronos_headers", 71 "//third_party/khronos:khronos_headers",
67 "//third_party/wtl:wtl_includes", 72 "//third_party/wtl:wtl_includes",
68 ] 73 ]
69 libs = [ "setupapi.lib" ] 74 libs = [ "setupapi.lib" ]
70 deps += [ 75 deps += [
76 "//sandbox",
71 "//third_party/angle:libEGL", 77 "//third_party/angle:libEGL",
72 "//third_party/angle:libGLESv2", 78 "//third_party/angle:libGLESv2",
73 ] 79 ]
74 } 80 }
75 81
76 if (is_chromeos && current_cpu != "arm") { 82 if (is_chromeos && current_cpu != "arm") {
77 configs += [ "//third_party/libva:libva_config" ] 83 configs += [ "//third_party/libva:libva_config" ]
78 } 84 }
79 85
80 if (use_x11) { 86 if (use_x11) {
81 deps += [ "//ui/events/platform/x11" ] 87 deps += [ "//ui/events/platform/x11" ]
82 } 88 }
83 89
90 if (use_ozone) {
91 deps += [ "//ui/ozone" ]
92 }
93
84 if (enable_vulkan) { 94 if (enable_vulkan) {
85 deps += [ "//gpu/vulkan" ] 95 deps += [ "//gpu/vulkan" ]
86 } 96 }
87 } 97 }
OLDNEW
« no previous file with comments | « content/common/BUILD.gn ('k') | content/plugin/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698