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

Side by Side Diff: content/public/common/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, 2 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/public/child/BUILD.gn ('k') | content/public/plugin/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("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//content/common/common.gni") 6 import("//content/common/common.gni")
7 7
8 # See //content/BUILD.gn for how this works. 8 # See //content/BUILD.gn for how this works.
9 group("common") { 9 group("common") {
10 if (is_component_build) { 10 if (is_component_build) {
11 deps = [ "//content" ] 11 public_deps = [ "//content" ]
12 } else { 12 } else {
13 deps = [ ":common_sources" ] 13 public_deps = [ ":common_sources" ]
14 } 14 }
15 forward_dependent_configs_from = deps
16 } 15 }
17 16
18 source_set("common_sources") { 17 source_set("common_sources") {
19 visibility = [ "//content/*" ] 18 visibility = [ "//content/*" ]
20 19
21 sources = rebase_path(content_common_gypi_values.public_common_sources, 20 sources = rebase_path(content_common_gypi_values.public_common_sources,
22 ".", "//content") 21 ".", "//content")
23 22
24 configs += [ 23 configs += [
25 "//content:content_implementation", 24 "//content:content_implementation",
26 ] 25 ]
27 26
27 public_deps = [
28 "//content/common",
29 ]
28 deps = [ 30 deps = [
29 "//content/common",
30 "//net", 31 "//net",
31 "//skia", 32 "//skia",
32 "//third_party/WebKit/public:blink_headers", 33 "//third_party/WebKit/public:blink_headers",
33 "//third_party/icu", 34 "//third_party/icu",
34 "//ui/base", 35 "//ui/base",
35 "//ui/gfx", 36 "//ui/gfx",
36 ] 37 ]
37 38
38 forward_dependent_configs_from = [ "//content/common" ]
39
40 if (!enable_plugins) { 39 if (!enable_plugins) {
41 sources -= [ 40 sources -= [
42 "pepper_plugin_info.cc", 41 "pepper_plugin_info.cc",
43 "pepper_plugin_info.h", 42 "pepper_plugin_info.h",
44 ] 43 ]
45 } 44 }
46 } 45 }
OLDNEW
« no previous file with comments | « content/public/child/BUILD.gn ('k') | content/public/plugin/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698