| Index: content/renderer/BUILD.gn
|
| diff --git a/content/renderer/BUILD.gn b/content/renderer/BUILD.gn
|
| index 2014cc857f7ceb8d5d26ccc8729a3df5d0dbd8db..7e3a1bc5f5d9a6b5445a29ddc91e199816b44ef0 100644
|
| --- a/content/renderer/BUILD.gn
|
| +++ b/content/renderer/BUILD.gn
|
| @@ -9,7 +9,12 @@ import("//media/media_options.gni")
|
| import("//third_party/webrtc/build/webrtc.gni")
|
| import("//tools/ipc_fuzzer/ipc_fuzzer.gni")
|
|
|
| -source_set("renderer") {
|
| +if (is_component_build) {
|
| + link_target_type = "source_set"
|
| +} else {
|
| + link_target_type = "static_library"
|
| +}
|
| +target(link_target_type, "renderer") {
|
| # Only the public target should depend on this. All other targets (even
|
| # internal content ones) should depend on the public one.
|
| visibility = [
|
|
|