| 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 = [ |
| 11 ":for_content_tests", | 11 ":for_content_tests", |
| 12 "//content/app:*", |
| 12 "//content/public/utility:utility_sources", | 13 "//content/public/utility:utility_sources", |
| 13 ] | 14 ] |
| 14 | 15 |
| 15 sources = [ | 16 sources = [ |
| 16 "in_process_utility_thread.cc", | 17 "in_process_utility_thread.cc", |
| 17 "in_process_utility_thread.h", | 18 "in_process_utility_thread.h", |
| 18 "utility_blink_platform_impl.cc", | 19 "utility_blink_platform_impl.cc", |
| 19 "utility_blink_platform_impl.h", | 20 "utility_blink_platform_impl.h", |
| 20 "utility_main.cc", | 21 "utility_main.cc", |
| 21 "utility_service_factory.cc", | 22 "utility_service_factory.cc", |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 | 54 |
| 54 # See comment at the top of //content/BUILD.gn for how this works. | 55 # See comment at the top of //content/BUILD.gn for how this works. |
| 55 group("for_content_tests") { | 56 group("for_content_tests") { |
| 56 visibility = [ "//content/test/*" ] | 57 visibility = [ "//content/test/*" ] |
| 57 if (!is_component_build) { | 58 if (!is_component_build) { |
| 58 public_deps = [ | 59 public_deps = [ |
| 59 ":utility", | 60 ":utility", |
| 60 ] | 61 ] |
| 61 } | 62 } |
| 62 } | 63 } |
| OLD | NEW |