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

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

Issue 742053002: Add missing dependencies to the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Correct dependency for component build Created 6 years, 1 month 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') | device/serial/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 import("//mojo/public/tools/bindings/mojom.gni") 7 import("//mojo/public/tools/bindings/mojom.gni")
8 8
9 # See //content/BUILD.gn for how this works. 9 # See //content/BUILD.gn for how this works.
10 group("common") { 10 group("common") {
11 if (is_component_build) { 11 if (is_component_build) {
12 public_deps = [ "//content" ] 12 public_deps = [ "//content" ]
13 } else { 13 } else {
14 public_deps = [ ":common_sources" ] 14 public_deps = [ ":common_sources" ]
15 } 15 }
16 } 16 }
17 17
18 source_set("common_sources") { 18 source_set("common_sources") {
19 visibility = [ "//content/*" ] 19 visibility = [ "//content/*" ]
20 20
21 sources = rebase_path(content_common_gypi_values.public_common_sources, 21 sources = rebase_path(content_common_gypi_values.public_common_sources,
22 ".", "//content") 22 ".", "//content")
23 23
24 configs += [ 24 configs += [
25 "//content:content_implementation", 25 "//content:content_implementation",
26 ] 26 ]
27 27
28 public_deps = [ 28 public_deps = [
29 "//content/common", 29 "//content/common",
30 "//mojo/public/cpp/bindings",
30 ] 31 ]
31 deps = [ 32 deps = [
32 "//net", 33 "//net",
33 "//skia", 34 "//skia",
34 "//third_party/WebKit/public:blink_headers", 35 "//third_party/WebKit/public:blink_headers",
35 "//third_party/icu", 36 "//third_party/icu",
36 "//ui/base", 37 "//ui/base",
37 "//ui/gfx", 38 "//ui/gfx",
38 ] 39 ]
39 40
40 if (!enable_plugins) { 41 if (!enable_plugins) {
41 sources -= [ 42 sources -= [
42 "pepper_plugin_info.cc", 43 "pepper_plugin_info.cc",
43 "pepper_plugin_info.h", 44 "pepper_plugin_info.h",
44 ] 45 ]
45 } 46 }
46 } 47 }
47 48
48 mojom("mojo_bindings") { 49 mojom("mojo_bindings") {
49 sources = [ 50 sources = [
50 "mojo_geoposition.mojom", 51 "mojo_geoposition.mojom",
51 ] 52 ]
52 } 53 }
OLDNEW
« no previous file with comments | « content/public/child/BUILD.gn ('k') | device/serial/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698