blob: 378eed5dfe59f60f581ec66350e7b2495c687e78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//content/browser/browser.gni")
import("//build/config/ui.gni")
group("browser") {
if (is_component_build) {
deps = [ "//content" ]
} else {
deps = [ ":sources" ]
}
forward_dependent_configs_from = deps
}
source_set("sources") {
visibility = [ "//content", ":browser" ]
if (is_ios) {
# iOS doesn't get the normal file list and only takes these whitelisted
# files.
sources = [
"browser_main_parts.cc",
"content_browser_client.cc",
"favicon_status.cc",
"navigation_details.cc",
"notification_registrar.cc",
"page_navigator.cc",
"web_ui_controller.cc",
]
} else {
sources = rebase_path(content_browser_gypi_values.public_browser_sources,
".", "//content")
}
if (use_aura) {
sources -= [ "context_factory.h" ]
}
configs += [ "//content:content_implementation" ]
deps = [
"//content/browser",
"//skia",
]
# We expose skia headers in the public API.
forward_dependent_configs_from = [ "//skia" ]
}
|