| 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("//content/content.gni") |
| 6 | 7 |
| 7 source_set("utility") { | 8 content_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 |
| 16 sources = [ | 17 sources = [ |
| 17 "in_process_utility_thread.cc", | 18 "in_process_utility_thread.cc", |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 | 67 |
| 67 # See comment at the top of //content/BUILD.gn for how this works. | 68 # See comment at the top of //content/BUILD.gn for how this works. |
| 68 group("for_content_tests") { | 69 group("for_content_tests") { |
| 69 visibility = [ "//content/test/*" ] | 70 visibility = [ "//content/test/*" ] |
| 70 if (!is_component_build) { | 71 if (!is_component_build) { |
| 71 public_deps = [ | 72 public_deps = [ |
| 72 ":utility", | 73 ":utility", |
| 73 ] | 74 ] |
| 74 } | 75 } |
| 75 } | 76 } |
| OLD | NEW |