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

Side by Side Diff: content/utility/BUILD.gn

Issue 1833193002: Content "gn check" work. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/test/BUILD.gn ('k') | gpu/command_buffer/client/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/utility/utility.gni") 5 import("//content/utility/utility.gni")
6 import("//media/media_options.gni") 6 import("//media/media_options.gni")
7 7
8 source_set("utility") { 8 source_set("utility") {
9 # Only the public target should depend on this. All other targets (even 9 # Only the public target should depend on this. All other targets (even
10 # internal content ones) should depend on the public one. 10 # internal content ones other than test) should depend on the public one.
11 visibility = [ "//content/public/utility:utility_sources" ] 11 visibility = [
12 ":for_content_tests",
13 "//content/public/utility:utility_sources",
14 ]
12 15
13 sources = 16 sources =
14 rebase_path(content_utility_gypi_values.utility_sources, ".", "//content") 17 rebase_path(content_utility_gypi_values.utility_sources, ".", "//content")
15 18
16 configs += [ "//content:content_implementation" ] 19 configs += [ "//content:content_implementation" ]
17 20
18 deps = [ 21 deps = [
19 "//base", 22 "//base",
23 "//components/scheduler",
20 "//content:export", 24 "//content:export",
21 "//content/public/child:child_sources", 25 "//content/public/child:child_sources",
22 "//content/public/common:common_sources", 26 "//content/public/common:common_sources",
23 "//content/public/common:mojo_bindings", 27 "//content/public/common:mojo_bindings",
24 "//courgette:courgette_lib", 28 "//courgette:courgette_lib",
29 "//media/mojo/services:application_factory",
25 "//mojo/common", 30 "//mojo/common",
26 "//mojo/public/cpp/bindings", 31 "//mojo/public/cpp/bindings",
27 "//mojo/shell", 32 "//mojo/shell",
28 "//mojo/shell/public/cpp:cpp_for_chromium", 33 "//mojo/shell/public/cpp:cpp_for_chromium",
29 "//mojo/shell/public/interfaces", 34 "//mojo/shell/public/interfaces",
30 "//third_party/WebKit/public:blink_headers", 35 "//third_party/WebKit/public:blink_headers",
31 "//url", 36 "//url",
32 ] 37 ]
33 38
34 if (mojo_media_host == "utility") { 39 if (mojo_media_host == "utility") {
35 deps += [ "//media/mojo/services:application_factory" ] 40 deps += [ "//media/mojo/services:application_factory" ]
36 } 41 }
37 } 42 }
43
44 # See comment at the top of //content/BUILD.gn for how this works.
45 group("for_content_tests") {
46 visibility = [ "//content/test/*" ]
47 if (!is_component_build) {
48 public_deps = [
49 ":utility",
50 ]
51 }
52 }
OLDNEW
« no previous file with comments | « content/test/BUILD.gn ('k') | gpu/command_buffer/client/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698