BUILD.gn revision f8ee788a64d60abd8f2d742a5fdedde054ecd910
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.
4
5import("//content/browser/browser.gni")
6import("//build/config/ui.gni")
7
8source_set("browser") {
9  if (is_ios) {
10    # iOS doesn't get the normal file list and only takes these whitelisted
11    # files.
12    sources = [
13      "browser_main_parts.cc",
14      "content_browser_client.cc",
15      "favicon_status.cc",
16      "navigation_details.cc",
17      "notification_registrar.cc",
18      "page_navigator.cc",
19      "web_ui_controller.cc",
20    ]
21  } else {
22    sources = rebase_path(content_browser_gypi_values.public_browser_sources,
23                          ".", "//content")
24  }
25
26  if (use_aura) {
27    sources -= [ "context_factory.h" ]
28  }
29
30  configs += [ "//content:content_implementation" ]
31
32  deps = [
33    "//content/browser",
34    "//skia",
35  ]
36}
37