OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//content/browser/browser.gni") | 5 import("//content/browser/browser.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 | 7 |
8 # See //content/BUILD.gn for how this works. | 8 # See //content/BUILD.gn for how this works. |
9 group("browser") { | 9 group("browser") { |
10 if (is_component_build) { | 10 if (is_component_build) { |
11 deps = [ "//content" ] | 11 deps = [ "//content" ] |
12 } else { | 12 } else { |
13 deps = [ ":browser_sources" ] | 13 deps = [ ":browser_sources" ] |
14 } | 14 } |
15 forward_dependent_configs_from = deps | 15 forward_dependent_configs_from = deps |
16 } | 16 } |
17 | 17 |
18 source_set("browser_sources") { | 18 source_set("browser_sources") { |
19 visibility = [ "//content/*" ] | |
20 | |
21 if (is_ios) { | 19 if (is_ios) { |
22 # iOS doesn't get the normal file list and only takes these whitelisted | 20 # iOS doesn't get the normal file list and only takes these whitelisted |
23 # files. | 21 # files. |
24 sources = [ | 22 sources = [ |
25 "browser_main_parts.cc", | 23 "browser_main_parts.cc", |
26 "content_browser_client.cc", | 24 "content_browser_client.cc", |
27 "favicon_status.cc", | 25 "favicon_status.cc", |
28 "navigation_details.cc", | 26 "navigation_details.cc", |
29 "notification_registrar.cc", | 27 "notification_registrar.cc", |
30 "page_navigator.cc", | 28 "page_navigator.cc", |
(...skipping 23 matching lines...) Expand all Loading... |
54 allow_circular_includes_from = [ | 52 allow_circular_includes_from = [ |
55 # This target is a pair with content/browser. They always go together and | 53 # This target is a pair with content/browser. They always go together and |
56 # include headers from each other. | 54 # include headers from each other. |
57 # TODO(brettw) enable this when this permits non-dependent targets. | 55 # TODO(brettw) enable this when this permits non-dependent targets. |
58 #"//content/browser", | 56 #"//content/browser", |
59 ] | 57 ] |
60 | 58 |
61 # We expose skia headers in the public API. | 59 # We expose skia headers in the public API. |
62 forward_dependent_configs_from = [ "//skia" ] | 60 forward_dependent_configs_from = [ "//skia" ] |
63 } | 61 } |
OLD | NEW |