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

Side by Side Diff: content/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/BUILD.gn ('k') | content/public/browser/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("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//content/common/common.gni") 7 import("//content/common/common.gni")
8 import("//mojo/public/tools/bindings/mojom.gni") 8 import("//mojo/public/tools/bindings/mojom.gni")
9 9
10 source_set("common") { 10 source_set("common") {
11 # Only the public target should depend on this. All other targets (even 11 # Only the public target should depend on this. All other targets (even
12 # internal content ones) should depend on the public one. 12 # internal content ones) should depend on the public one.
13 visibility = [ "//content/public/common:common_sources" ] 13 visibility = [ "//content/public/common:common_sources" ]
14 14
15 sources = rebase_path(content_common_gypi_values.private_common_sources, 15 sources = rebase_path(content_common_gypi_values.private_common_sources,
16 ".", "//content") 16 ".", "//content")
17 17
18 forward_dependent_configs_from = [
19 "//gpu/command_buffer/common",
20 "//third_party/WebKit/public:blink_headers",
21 ]
22
23 configs += [ 18 configs += [
24 "//content:content_implementation", 19 "//content:content_implementation",
25 ] 20 ]
26 21
22 public_deps = [
23 "//gpu/command_buffer/common",
24 "//third_party/WebKit/public:blink_headers",
25 ]
27 deps = [ 26 deps = [
28 "//base", 27 "//base",
29 "//build/util:webkit_version", 28 "//build/util:webkit_version",
30 "//components/tracing", 29 "//components/tracing",
31 "//gpu/command_buffer/client:gles2_interface", 30 "//gpu/command_buffer/client:gles2_interface",
32 "//gpu/command_buffer/common",
33 "//net", 31 "//net",
34 "//skia", 32 "//skia",
35 "//third_party/icu", 33 "//third_party/icu",
36 "//ui/accessibility", 34 "//ui/accessibility",
37 "//ui/base", 35 "//ui/base",
38 "//ui/gfx", 36 "//ui/gfx",
39 "//ui/gfx/geometry", 37 "//ui/gfx/geometry",
40 "//ui/gfx/ipc", 38 "//ui/gfx/ipc",
41 "//ui/shell_dialogs", 39 "//ui/shell_dialogs",
42 "//url", 40 "//url",
43 "//third_party/WebKit/public:blink_headers",
44 "//third_party/libjingle", 41 "//third_party/libjingle",
45 ] 42 ]
46 43
47 if (!is_ios) { 44 if (!is_ios) {
48 deps += [ 45 deps += [
49 "//cc", 46 "//cc",
50 "//ipc", 47 "//ipc",
51 "//ipc/mojo", 48 "//ipc/mojo",
52 # TODO: the dependency on gl_in_process_context should be decoupled from 49 # TODO: the dependency on gl_in_process_context should be decoupled from
53 # content and moved to android_webview. See crbug.com/365797. 50 # content and moved to android_webview. See crbug.com/365797.
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 279
283 mojom("mojo_bindings") { 280 mojom("mojo_bindings") {
284 sources = [ 281 sources = [
285 "render_frame_setup.mojom", 282 "render_frame_setup.mojom",
286 ] 283 ]
287 284
288 deps = [ 285 deps = [
289 "//mojo/public/interfaces/application:application", 286 "//mojo/public/interfaces/application:application",
290 ] 287 ]
291 } 288 }
OLDNEW
« no previous file with comments | « content/BUILD.gn ('k') | content/public/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698