OLD | NEW |
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 other than test) should depend on the public one. | 10 # internal content ones other than test) should depend on the public one. |
(...skipping 11 matching lines...) Expand all Loading... |
22 "//base", | 22 "//base", |
23 "//components/scheduler", | 23 "//components/scheduler", |
24 "//content:export", | 24 "//content:export", |
25 "//content/public/child:child_sources", | 25 "//content/public/child:child_sources", |
26 "//content/public/common:common_sources", | 26 "//content/public/common:common_sources", |
27 "//content/public/common:mojo_bindings", | 27 "//content/public/common:mojo_bindings", |
28 "//courgette:courgette_lib", | 28 "//courgette:courgette_lib", |
29 "//media/mojo/services:application_factory", | 29 "//media/mojo/services:application_factory", |
30 "//mojo/common", | 30 "//mojo/common", |
31 "//mojo/public/cpp/bindings", | 31 "//mojo/public/cpp/bindings", |
32 "//mojo/shell", | 32 "//services/shell", |
33 "//mojo/shell/public/cpp:cpp_for_chromium", | 33 "//services/shell/public/cpp:cpp_for_chromium", |
34 "//mojo/shell/public/interfaces", | 34 "//services/shell/public/interfaces", |
35 "//third_party/WebKit/public:blink_headers", | 35 "//third_party/WebKit/public:blink_headers", |
36 "//url", | 36 "//url", |
37 ] | 37 ] |
38 | 38 |
39 if (mojo_media_host == "utility") { | 39 if (mojo_media_host == "utility") { |
40 deps += [ "//media/mojo/services:application_factory" ] | 40 deps += [ "//media/mojo/services:application_factory" ] |
41 } | 41 } |
42 } | 42 } |
43 | 43 |
44 # See comment at the top of //content/BUILD.gn for how this works. | 44 # See comment at the top of //content/BUILD.gn for how this works. |
45 group("for_content_tests") { | 45 group("for_content_tests") { |
46 visibility = [ "//content/test/*" ] | 46 visibility = [ "//content/test/*" ] |
47 if (!is_component_build) { | 47 if (!is_component_build) { |
48 public_deps = [ | 48 public_deps = [ |
49 ":utility", | 49 ":utility", |
50 ] | 50 ] |
51 } | 51 } |
52 } | 52 } |
OLD | NEW |