| 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", | |
| 44 "//third_party/WebKit/public:blink_headers", | 42 "//third_party/WebKit/public:blink_headers", |
| 45 "//third_party/WebKit/public:mojo_bindings", | 43 "//third_party/WebKit/public:mojo_bindings", |
| 46 "//url", | 44 "//url", |
| 47 ] | 45 ] |
| 48 | 46 |
| 49 if (mojo_media_host == "utility") { | 47 if (mojo_media_host == "utility") { |
| 50 deps += [ "//media/mojo/services" ] | 48 deps += [ "//media/mojo/services" ] |
| 51 } | 49 } |
| 52 } | 50 } |
| 53 | 51 |
| 54 # 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. |
| 55 group("for_content_tests") { | 53 group("for_content_tests") { |
| 56 visibility = [ "//content/test/*" ] | 54 visibility = [ "//content/test/*" ] |
| 57 if (!is_component_build) { | 55 if (!is_component_build) { |
| 58 public_deps = [ | 56 public_deps = [ |
| 59 ":utility", | 57 ":utility", |
| 60 ] | 58 ] |
| 61 } | 59 } |
| 62 } | 60 } |
| OLD | NEW |