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("//media/media_options.gni") | 5 import("//media/media_options.gni") |
6 | 6 |
7 source_set("utility") { | 7 source_set("utility") { |
8 # Only the public target should depend on this. All other targets (even | 8 # Only the public target should depend on this. All other targets (even |
9 # internal content ones other than test) should depend on the public one. | 9 # internal content ones other than test) should depend on the public one. |
10 visibility = [ | 10 visibility = [ |
(...skipping 16 matching lines...) Expand all Loading... |
27 configs += [ "//content:content_implementation" ] | 27 configs += [ "//content:content_implementation" ] |
28 | 28 |
29 deps = [ | 29 deps = [ |
30 "//base", | 30 "//base", |
31 "//content:export", | 31 "//content:export", |
32 "//content/child", | 32 "//content/child", |
33 "//content/public/child:child_sources", | 33 "//content/public/child:child_sources", |
34 "//content/public/common:common_sources", | 34 "//content/public/common:common_sources", |
35 "//mojo/common", | 35 "//mojo/common", |
36 "//mojo/public/cpp/bindings", | 36 "//mojo/public/cpp/bindings", |
| 37 "//ppapi/features", |
37 "//sandbox", | 38 "//sandbox", |
38 "//services/service_manager", | 39 "//services/service_manager", |
39 "//services/service_manager/public/cpp", | 40 "//services/service_manager/public/cpp", |
40 "//services/service_manager/public/interfaces", | 41 "//services/service_manager/public/interfaces", |
41 "//third_party/WebKit/public:blink_headers", | 42 "//third_party/WebKit/public:blink_headers", |
42 "//third_party/WebKit/public:mojo_bindings", | 43 "//third_party/WebKit/public:mojo_bindings", |
43 "//url", | 44 "//url", |
44 ] | 45 ] |
45 | 46 |
46 if (mojo_media_host == "utility") { | 47 if (mojo_media_host == "utility") { |
47 deps += [ "//media/mojo/services" ] | 48 deps += [ "//media/mojo/services" ] |
48 } | 49 } |
49 } | 50 } |
50 | 51 |
51 # See comment at the top of //content/BUILD.gn for how this works. | 52 # See comment at the top of //content/BUILD.gn for how this works. |
52 group("for_content_tests") { | 53 group("for_content_tests") { |
53 visibility = [ "//content/test/*" ] | 54 visibility = [ "//content/test/*" ] |
54 if (!is_component_build) { | 55 if (!is_component_build) { |
55 public_deps = [ | 56 public_deps = [ |
56 ":utility", | 57 ":utility", |
57 ] | 58 ] |
58 } | 59 } |
59 } | 60 } |
OLD | NEW |