Index: media/gpu/ipc/service/BUILD.gn |
diff --git a/media/gpu/ipc/service/BUILD.gn b/media/gpu/ipc/service/BUILD.gn |
index 0b167ed2071dccc966bffe7d904c82b3e5e85830..bb1266eec8263bc953768f67f786aa3c3fa6ba7b 100644 |
--- a/media/gpu/ipc/service/BUILD.gn |
+++ b/media/gpu/ipc/service/BUILD.gn |
@@ -2,7 +2,12 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-source_set("service") { |
+if (is_component_build) { |
+ link_target_type = "source_set" |
+} else { |
+ link_target_type = "static_library" |
+} |
+target(link_target_type, "service") { |
visibility = [ |
"//media/*", |
"//content/gpu/*", |