| 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 21 matching lines...) Expand all Loading... |
| 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 "//ppapi/features", |
| 38 "//sandbox", | 38 "//sandbox", |
| 39 "//services/service_manager", | 39 "//services/service_manager", |
| 40 "//services/service_manager/public/cpp", | 40 "//services/service_manager/public/cpp", |
| 41 "//services/service_manager/public/interfaces", | 41 "//services/service_manager/public/interfaces", |
| 42 "//services/shape_detection:lib", |
| 43 "//services/shape_detection/public/interfaces", |
| 42 "//third_party/WebKit/public:blink_headers", | 44 "//third_party/WebKit/public:blink_headers", |
| 43 "//third_party/WebKit/public:mojo_bindings", | 45 "//third_party/WebKit/public:mojo_bindings", |
| 44 "//url", | 46 "//url", |
| 45 ] | 47 ] |
| 46 | 48 |
| 47 if (mojo_media_host == "utility") { | 49 if (mojo_media_host == "utility") { |
| 48 deps += [ "//media/mojo/services" ] | 50 deps += [ "//media/mojo/services" ] |
| 49 } | 51 } |
| 50 } | 52 } |
| 51 | 53 |
| 52 # See comment at the top of //content/BUILD.gn for how this works. | 54 # See comment at the top of //content/BUILD.gn for how this works. |
| 53 group("for_content_tests") { | 55 group("for_content_tests") { |
| 54 visibility = [ "//content/test/*" ] | 56 visibility = [ "//content/test/*" ] |
| 55 if (!is_component_build) { | 57 if (!is_component_build) { |
| 56 public_deps = [ | 58 public_deps = [ |
| 57 ":utility", | 59 ":utility", |
| 58 ] | 60 ] |
| 59 } | 61 } |
| 60 } | 62 } |
| OLD | NEW |