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 public_deps = [ "//content" ]
13 public_deps = [ ":browser_sources" ]
17 source_set("browser_sources") {
18 visibility = [ "//content/*" ]
21 # iOS doesn't get the normal file list and only takes these whitelisted
24 "browser_main_parts.cc",
25 "content_browser_client.cc",
27 "navigation_details.cc",
28 "notification_registrar.cc",
30 "web_ui_controller.cc",
33 sources = rebase_path(content_browser_gypi_values.public_browser_sources,
38 sources -= [ "context_factory.h" ]
41 configs += [ "//content:content_implementation" ]
44 # We expose skia headers in the public API.
49 "//content/public/common:common_sources",
56 allow_circular_includes_from = [
57 # This target is a pair with content/browser. They always go together and
58 # include headers from each other.