Index: content/common/BUILD.gn |
diff --git a/content/common/BUILD.gn b/content/common/BUILD.gn |
index 51766f15a0c3a09e032f2505dcd60b297fa8f5a8..aa12686f761b5e04407200835a072dc583ff57ec 100644 |
--- a/content/common/BUILD.gn |
+++ b/content/common/BUILD.gn |
@@ -8,8 +8,9 @@ import("//content/common/common.gni") |
import("//mojo/public/tools/bindings/mojom.gni") |
source_set("common") { |
- # Only targets in the content tree can depend directly on this target. |
- visibility = [ "//content/*" ] |
+ # Only the public target should depend on this. All other targets (even |
+ # internal content ones) should depend on the public one. |
+ visibility = [ "//content/public/common:common_sources" ] |
sources = rebase_path(content_common_gypi_values.private_common_sources, |
".", "//content") |
@@ -51,6 +52,7 @@ source_set("common") { |
# content and moved to android_webview. See crbug.com/365797. |
"//gpu/command_buffer/client:gl_in_process_context", |
"//gpu/command_buffer/client:gles2_c_lib", |
+ "//gpu/command_buffer/client:gles2_cmd_helper", |
"//gpu/command_buffer/client:gles2_implementation", |
"//gpu/command_buffer/service", |
"//gpu/ipc", |