Index: gpu/ipc/BUILD.gn |
diff --git a/gpu/ipc/BUILD.gn b/gpu/ipc/BUILD.gn |
index 5c03cf515ff20781fd818fd5a5459e6391b377dd..61afbc6f518ef720848f667174a11adb8b775a6b 100644 |
--- a/gpu/ipc/BUILD.gn |
+++ b/gpu/ipc/BUILD.gn |
@@ -16,7 +16,12 @@ group("command_buffer") { |
} |
} |
-source_set("command_buffer_sources") { |
+if (is_component_build) { |
+ link_target_type = "source_set" |
+} else { |
+ link_target_type = "static_library" |
+} |
+target(link_target_type, "command_buffer_sources") { |
visibility = [ "//gpu/*" ] |
sources = [ |
"gpu_in_process_thread_service.cc", |