import("//content/browser/browser.gni")
import("//build/config/ui.gni")
+# See //content/BUILD.gn for how this works.
group("browser") {
if (is_component_build) {
- deps = [ "//content" ]
+ public_deps = [ "//content" ]
} else {
- deps = [ ":sources" ]
+ public_deps = [ ":browser_sources" ]
}
- forward_dependent_configs_from = deps
}
-source_set("sources") {
- visibility = [ "//content", ":browser" ]
+source_set("browser_sources") {
+ visibility = [ "//content/*" ]
if (is_ios) {
# iOS doesn't get the normal file list and only takes these whitelisted
configs += [ "//content:content_implementation" ]
+ public_deps = [
+ # We expose skia headers in the public API.
+ "//skia",
+ ]
deps = [
"//content/browser",
- "//skia",
+ "//content/public/common:common_sources",
+ "//net",
+ "//ui/accessibility",
+ "//ui/base",
+ "//ui/events",
]
- # We expose skia headers in the public API.
- forward_dependent_configs_from = [ "//skia" ]
+ allow_circular_includes_from = [
+ # This target is a pair with content/browser. They always go together and
+ # include headers from each other.
+ "//content/browser",
+ ]
}