| Index: content/public/gpu/BUILD.gn
|
| diff --git a/content/public/gpu/BUILD.gn b/content/public/gpu/BUILD.gn
|
| index de4f504a1eeb523225d21373b4a0d8f6eeac9e17..654b19a122206026b69284ffbed07ad1c0077756 100644
|
| --- a/content/public/gpu/BUILD.gn
|
| +++ b/content/public/gpu/BUILD.gn
|
| @@ -15,7 +15,12 @@ group("gpu") {
|
| }
|
| }
|
|
|
| -source_set("gpu_sources") {
|
| +if (is_component_build) {
|
| + link_target_type = "source_set"
|
| +} else {
|
| + link_target_type = "static_library"
|
| +}
|
| +target(link_target_type, "gpu_sources") {
|
| # You must depend on this via //content/public/gpu above for the component
|
| # build to work properly.
|
| visibility = [ "//content/*" ]
|
|
|