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 import("//printing/features/features.gni") |
6 | 7 |
7 source_set("utility") { | 8 source_set("utility") { |
8 # 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 |
9 # 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. |
10 visibility = [ | 11 visibility = [ |
11 ":for_content_tests", | 12 ":for_content_tests", |
12 "//content/app:*", | 13 "//content/app:*", |
13 "//content/public/utility:utility_sources", | 14 "//content/public/utility:utility_sources", |
14 ] | 15 ] |
15 | 16 |
(...skipping 14 matching lines...) Expand all Loading... |
30 deps = [ | 31 deps = [ |
31 "//base", | 32 "//base", |
32 "//content:export", | 33 "//content:export", |
33 "//content/child", | 34 "//content/child", |
34 "//content/network:network_sources", | 35 "//content/network:network_sources", |
35 "//content/public/child:child_sources", | 36 "//content/public/child:child_sources", |
36 "//content/public/common:common_sources", | 37 "//content/public/common:common_sources", |
37 "//mojo/common", | 38 "//mojo/common", |
38 "//mojo/public/cpp/bindings", | 39 "//mojo/public/cpp/bindings", |
39 "//ppapi/features", | 40 "//ppapi/features", |
| 41 "//printing/features", |
40 "//sandbox", | 42 "//sandbox", |
41 "//services/data_decoder:lib", | 43 "//services/data_decoder:lib", |
42 "//services/data_decoder/public/cpp", | 44 "//services/data_decoder/public/cpp", |
43 "//services/service_manager", | 45 "//services/service_manager", |
44 "//services/service_manager/public/cpp", | 46 "//services/service_manager/public/cpp", |
45 "//services/service_manager/public/interfaces", | 47 "//services/service_manager/public/interfaces", |
46 "//services/shape_detection:lib", | 48 "//services/shape_detection:lib", |
47 "//services/shape_detection/public/interfaces", | 49 "//services/shape_detection/public/interfaces", |
48 "//third_party/WebKit/public:blink_headers", | 50 "//third_party/WebKit/public:blink_headers", |
49 "//third_party/WebKit/public:mojo_bindings", | 51 "//third_party/WebKit/public:mojo_bindings", |
50 "//url", | 52 "//url", |
51 ] | 53 ] |
52 | 54 |
53 if (mojo_media_host == "utility") { | 55 if (mojo_media_host == "utility") { |
54 deps += [ "//media/mojo/services" ] | 56 deps += [ "//media/mojo/services" ] |
55 } | 57 } |
| 58 |
| 59 if (enable_basic_printing || enable_print_preview) { |
| 60 deps += [ "//components/printing/service" ] |
| 61 } |
56 } | 62 } |
57 | 63 |
58 # See comment at the top of //content/BUILD.gn for how this works. | 64 # See comment at the top of //content/BUILD.gn for how this works. |
59 group("for_content_tests") { | 65 group("for_content_tests") { |
60 visibility = [ "//content/test/*" ] | 66 visibility = [ "//content/test/*" ] |
61 if (!is_component_build) { | 67 if (!is_component_build) { |
62 public_deps = [ | 68 public_deps = [ |
63 ":utility", | 69 ":utility", |
64 ] | 70 ] |
65 } | 71 } |
66 } | 72 } |
OLD | NEW |