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

Unified Diff: gpu/ipc/BUILD.gn

Issue 1053203003: Work on Windows GN component build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: gpu/ipc/BUILD.gn
diff --git a/gpu/ipc/BUILD.gn b/gpu/ipc/BUILD.gn
index d11d685af45a90ea754682b0e789675b45c8549d..c78dea73a9bc93fba9bfcc2354f2aa7ba536caf9 100644
--- a/gpu/ipc/BUILD.gn
+++ b/gpu/ipc/BUILD.gn
@@ -2,7 +2,21 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-source_set("ipc") {
+group("ipc") {
+ if (is_component_build) {
+ public_deps = [
+ "//gpu",
+ ]
+ } else {
+ public_deps = [
+ ":ipc_sources",
+ ]
+ }
+}
+
+source_set("ipc_sources") {
+ visibility = [ "//gpu/*" ]
+
sources = [
"gpu_command_buffer_traits.cc",
"gpu_command_buffer_traits.h",
@@ -14,7 +28,7 @@ source_set("ipc") {
]
deps = [
- "//gpu/command_buffer/common",
+ "//gpu/command_buffer/common:common_sources",
"//ipc",
]
}

Powered by Google App Engine
This is Rietveld 408576698