1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//content/browser/browser.gni")
6 import("//build/config/ui.gni")
8 # See //content/BUILD.gn for how this works.
10 if (is_component_build) {
11 deps = [ "//content" ]
13 deps = [ ":browser_sources" ]
15 forward_dependent_configs_from = deps
18 source_set("browser_sources") {
19 visibility = [ "//content/*" ]
22 # iOS doesn't get the normal file list and only takes these whitelisted
25 "browser_main_parts.cc",
26 "content_browser_client.cc",
28 "navigation_details.cc",
29 "notification_registrar.cc",
31 "web_ui_controller.cc",
34 sources = rebase_path(content_browser_gypi_values.public_browser_sources,
39 sources -= [ "context_factory.h" ]
42 configs += [ "//content:content_implementation" ]
46 "//content/public/common:common_sources",
54 allow_circular_includes_from = [
55 # This target is a pair with content/browser. They always go together and
56 # include headers from each other.
60 # We expose skia headers in the public API.
61 forward_dependent_configs_from = [ "//skia" ]