Index: gpu/ipc/service/BUILD.gn |
diff --git a/gpu/ipc/service/BUILD.gn b/gpu/ipc/service/BUILD.gn |
index 34a1ac62e38efedd8e6c8182edde9b0095f2cc7b..70fa6cc209b717b231e6e2315bf417d17068b282 100644 |
--- a/gpu/ipc/service/BUILD.gn |
+++ b/gpu/ipc/service/BUILD.gn |
@@ -20,7 +20,12 @@ group("service") { |
} |
} |
-source_set("ipc_service_sources") { |
+if (is_component_build) { |
+ link_target_type = "source_set" |
+} else { |
+ link_target_type = "static_library" |
+} |
+target(link_target_type, "ipc_service_sources") { |
visibility = [ "//gpu/*" ] |
sources = [ |
"gpu_channel.cc", |