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

Side by Side Diff: gpu/ipc/common/BUILD.gn

Issue 1833193002: Content "gn check" work. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « gpu/config/BUILD.gn ('k') | media/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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 6
7 group("common") { 7 group("common") {
8 if (is_component_build) { 8 if (is_component_build) {
9 public_deps = [ 9 public_deps = [
10 "//gpu", 10 "//gpu",
(...skipping 11 matching lines...) Expand all
22 "//gpu", 22 "//gpu",
23 ] 23 ]
24 } else { 24 } else {
25 public_deps = [ 25 public_deps = [
26 ":command_buffer_traits_sources", 26 ":command_buffer_traits_sources",
27 ] 27 ]
28 } 28 }
29 } 29 }
30 30
31 source_set("command_buffer_traits_sources") { 31 source_set("command_buffer_traits_sources") {
32 # External code should depend on this via
33 # //gpu/ipc/common:command_buffer_traits above rather than depending on this
34 # directly or the component build will break.
32 visibility = [ "//gpu/*" ] 35 visibility = [ "//gpu/*" ]
33 36
34 sources = [ 37 sources = [
35 "gpu_command_buffer_traits.cc", 38 "gpu_command_buffer_traits.cc",
36 "gpu_command_buffer_traits.h", 39 "gpu_command_buffer_traits.h",
37 "gpu_command_buffer_traits_multi.h", 40 "gpu_command_buffer_traits_multi.h",
38 "id_type_traits.h", 41 "id_type_traits.h",
39 ] 42 ]
40 43
41 configs += [ 44 configs += [
42 "//gpu:gpu_implementation", 45 "//gpu:gpu_implementation",
43 "//third_party/khronos:khronos_headers", 46 "//third_party/khronos:khronos_headers",
44 ] 47 ]
45 48
46 deps = [ 49 deps = [
47 "//base", 50 "//base",
48 "//gpu/command_buffer/common:common_sources", 51 "//gpu/command_buffer/common:common_sources",
49 "//ipc", 52 "//ipc",
50 ] 53 ]
51 } 54 }
52 55
53 source_set("ipc_common_sources") { 56 source_set("ipc_common_sources") {
57 # External code should depend on this via //gpu/ipc/common above rather than
58 # depending on this directly or the component build will break.
54 visibility = [ "//gpu/*" ] 59 visibility = [ "//gpu/*" ]
55 60
56 sources = [ 61 sources = [
57 "gpu_memory_buffer_support.cc", 62 "gpu_memory_buffer_support.cc",
58 "gpu_memory_buffer_support.h", 63 "gpu_memory_buffer_support.h",
59 "gpu_memory_uma_stats.h", 64 "gpu_memory_uma_stats.h",
60 "gpu_message_generator.cc", 65 "gpu_message_generator.cc",
61 "gpu_message_generator.h", 66 "gpu_message_generator.h",
62 "gpu_messages.h", 67 "gpu_messages.h",
63 "gpu_param_traits.cc", 68 "gpu_param_traits.cc",
(...skipping 10 matching lines...) Expand all
74 "//gpu:gpu_implementation", 79 "//gpu:gpu_implementation",
75 "//third_party/khronos:khronos_headers", 80 "//third_party/khronos:khronos_headers",
76 ] 81 ]
77 82
78 deps = [ 83 deps = [
79 ":command_buffer_traits_sources", 84 ":command_buffer_traits_sources",
80 "//base", 85 "//base",
81 "//gpu/command_buffer/common:common_sources", 86 "//gpu/command_buffer/common:common_sources",
82 "//gpu/config:config_sources", 87 "//gpu/config:config_sources",
83 "//ipc", 88 "//ipc",
84 "//ui/events/ipc:events_ipc", 89 "//ui/events/ipc",
85 "//ui/gfx/ipc", 90 "//ui/gfx/ipc",
86 "//ui/gl", 91 "//ui/gl",
87 "//url/ipc:url_ipc", 92 "//url/ipc:url_ipc",
88 ] 93 ]
89 94
90 if (is_android) { 95 if (is_android) {
91 sources += [ 96 sources += [
92 "android/surface_texture_manager.cc", 97 "android/surface_texture_manager.cc",
93 "android/surface_texture_manager.h", 98 "android/surface_texture_manager.h",
94 "android/surface_texture_peer.cc", 99 "android/surface_texture_peer.cc",
95 "android/surface_texture_peer.h", 100 "android/surface_texture_peer.h",
96 ] 101 ]
97 } 102 }
98 103
99 if (use_ozone) { 104 if (use_ozone) {
100 deps += [ "//ui/ozone" ] 105 deps += [ "//ui/ozone" ]
101 } 106 }
102 } 107 }
OLDNEW
« no previous file with comments | « gpu/config/BUILD.gn ('k') | media/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698