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

Unified Diff: gpu/ipc/common/BUILD.gn

Issue 1809183002: gpu_messages.h => gpu/ipc/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make win_clang_x64_dbg happy by making command_buffer_traits an alias to gpu component on compnet b… 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/gpu_nacl.gyp ('k') | gpu/ipc/common/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/common/BUILD.gn
diff --git a/gpu/ipc/common/BUILD.gn b/gpu/ipc/common/BUILD.gn
index a11052405687fcac640efde15d5fdf6440424455..e5f9aba3581c0e5a44446de40417ac7591efe5be 100644
--- a/gpu/ipc/common/BUILD.gn
+++ b/gpu/ipc/common/BUILD.gn
@@ -14,13 +14,51 @@ group("common") {
}
}
-source_set("ipc_common_sources") {
+group("command_buffer_traits") {
+ if (is_component_build) {
+ public_deps = [
+ "//gpu",
+ ]
+ } else {
+ public_deps = [
+ ":command_buffer_traits_sources",
+ ]
+ }
+}
+
+source_set("command_buffer_traits_sources") {
visibility = [ "//gpu/*" ]
sources = [
"gpu_command_buffer_traits.cc",
"gpu_command_buffer_traits.h",
+ "gpu_command_buffer_traits_multi.h",
"id_type_traits.h",
+ ]
+
+ configs += [
+ "//gpu:gpu_implementation",
+ "//third_party/khronos:khronos_headers",
+ ]
+
+ deps = [
+ "//base",
+ "//gpu/command_buffer/common:common_sources",
+ "//ipc",
+ ]
+}
+
+source_set("ipc_common_sources") {
+ visibility = [ "//gpu/*" ]
+
+ sources = [
+ "gpu_message_generator.cc",
+ "gpu_message_generator.h",
+ "gpu_messages.h",
+ "gpu_param_traits.cc",
+ "gpu_param_traits.h",
+ "gpu_param_traits_macros.h",
+ "gpu_stream_constants.h",
"memory_stats.cc",
"memory_stats.h",
]
@@ -31,10 +69,15 @@ source_set("ipc_common_sources") {
]
deps = [
+ ":command_buffer_traits_sources",
"//base",
"//gpu/command_buffer/common:common_sources",
+ "//gpu/config:config_sources",
"//ipc",
- "//ui/gfx:native_widget_types",
+ "//ui/events/ipc:events_ipc",
+ "//ui/gfx/ipc",
+ "//ui/gl",
+ "//url/ipc:url_ipc",
]
if (is_android) {
@@ -44,7 +87,5 @@ source_set("ipc_common_sources") {
"android/surface_texture_peer.cc",
"android/surface_texture_peer.h",
]
-
- deps += [ "//ui/gl" ]
}
}
« no previous file with comments | « gpu/gpu_nacl.gyp ('k') | gpu/ipc/common/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698