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 group("browser") { | 8 group("browser") { |
9 if (is_component_build) { | 9 if (is_component_build) { |
10 deps = [ "//content" ] | 10 deps = [ "//content" ] |
11 } else { | 11 } else { |
12 deps = [ ":sources" ] | 12 deps = [ ":sources" ] |
13 } | 13 } |
14 forward_dependent_configs_from = deps | 14 forward_dependent_configs_from = deps |
15 } | 15 } |
16 | 16 |
17 source_set("sources") { | 17 source_set("sources") { |
scottmg
2014/09/09 04:09:32
(this seems like kind of a confusing name)
| |
18 if (is_ios) { | 18 if (is_ios) { |
19 # iOS doesn't get the normal file list and only takes these whitelisted | 19 # iOS doesn't get the normal file list and only takes these whitelisted |
20 # files. | 20 # files. |
21 sources = [ | 21 sources = [ |
22 "browser_main_parts.cc", | 22 "browser_main_parts.cc", |
23 "content_browser_client.cc", | 23 "content_browser_client.cc", |
24 "favicon_status.cc", | 24 "favicon_status.cc", |
25 "navigation_details.cc", | 25 "navigation_details.cc", |
26 "notification_registrar.cc", | 26 "notification_registrar.cc", |
27 "page_navigator.cc", | 27 "page_navigator.cc", |
28 "web_ui_controller.cc", | 28 "web_ui_controller.cc", |
29 ] | 29 ] |
30 } else { | 30 } else { |
31 sources = rebase_path(content_browser_gypi_values.public_browser_sources, | 31 sources = rebase_path(content_browser_gypi_values.public_browser_sources, |
32 ".", "//content") | 32 ".", "//content") |
33 } | 33 } |
34 | 34 |
35 if (use_aura) { | 35 if (use_aura) { |
36 sources -= [ "context_factory.h" ] | 36 sources -= [ "context_factory.h" ] |
37 } | 37 } |
38 | 38 |
39 configs += [ "//content:content_implementation" ] | 39 configs += [ "//content:content_implementation" ] |
40 | 40 |
41 deps = [ | 41 deps = [ |
42 "//content/browser", | 42 "//content/browser", |
43 "//content/public/common", | |
44 "//net", | |
43 "//skia", | 45 "//skia", |
46 "//ui/accessibility", | |
47 "//ui/base", | |
48 "//ui/events", | |
49 ] | |
50 | |
51 allow_circular_includes_from = [ | |
52 # This target is a pair with content/browser. They always go together and | |
53 # include headers from each other. | |
54 "//content/browser", | |
44 ] | 55 ] |
45 | 56 |
46 # We expose skia headers in the public API. | 57 # We expose skia headers in the public API. |
47 forward_dependent_configs_from = [ "//skia" ] | 58 forward_dependent_configs_from = [ "//skia" ] |
48 } | 59 } |
OLD | NEW |