Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Side by Side Diff: content/public/browser/BUILD.gn

Issue 595073002: Replace forward_dependent_configs with public_deps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/common/BUILD.gn ('k') | content/public/child/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 public_deps = [ "//content" ]
12 } else { 12 } else {
13 deps = [ ":browser_sources" ] 13 public_deps = [ ":browser_sources" ]
14 } 14 }
15 forward_dependent_configs_from = deps
16 } 15 }
17 16
18 source_set("browser_sources") { 17 source_set("browser_sources") {
19 visibility = [ "//content/*" ] 18 visibility = [ "//content/*" ]
20 19
21 if (is_ios) { 20 if (is_ios) {
22 # iOS doesn't get the normal file list and only takes these whitelisted 21 # iOS doesn't get the normal file list and only takes these whitelisted
23 # files. 22 # files.
24 sources = [ 23 sources = [
25 "browser_main_parts.cc", 24 "browser_main_parts.cc",
26 "content_browser_client.cc", 25 "content_browser_client.cc",
27 "favicon_status.cc", 26 "favicon_status.cc",
28 "navigation_details.cc", 27 "navigation_details.cc",
29 "notification_registrar.cc", 28 "notification_registrar.cc",
30 "page_navigator.cc", 29 "page_navigator.cc",
31 "web_ui_controller.cc", 30 "web_ui_controller.cc",
32 ] 31 ]
33 } else { 32 } else {
34 sources = rebase_path(content_browser_gypi_values.public_browser_sources, 33 sources = rebase_path(content_browser_gypi_values.public_browser_sources,
35 ".", "//content") 34 ".", "//content")
36 } 35 }
37 36
38 if (use_aura) { 37 if (use_aura) {
39 sources -= [ "context_factory.h" ] 38 sources -= [ "context_factory.h" ]
40 } 39 }
41 40
42 configs += [ "//content:content_implementation" ] 41 configs += [ "//content:content_implementation" ]
43 42
43 public_deps = [
44 # We expose skia headers in the public API.
45 "//skia",
46 ]
44 deps = [ 47 deps = [
45 "//content/browser", 48 "//content/browser",
46 "//content/public/common:common_sources", 49 "//content/public/common:common_sources",
47 "//net", 50 "//net",
48 "//skia",
49 "//ui/accessibility", 51 "//ui/accessibility",
50 "//ui/base", 52 "//ui/base",
51 "//ui/events", 53 "//ui/events",
52 ] 54 ]
53 55
54 allow_circular_includes_from = [ 56 allow_circular_includes_from = [
55 # This target is a pair with content/browser. They always go together and 57 # This target is a pair with content/browser. They always go together and
56 # include headers from each other. 58 # include headers from each other.
57 "//content/browser", 59 "//content/browser",
58 ] 60 ]
59
60 # We expose skia headers in the public API.
61 forward_dependent_configs_from = [ "//skia" ]
62 } 61 }
OLDNEW
« no previous file with comments | « content/common/BUILD.gn ('k') | content/public/child/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698