OLD | NEW |
(Empty) | |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 group("network") { |
| 6 visibility = [ "//content/*" ] # This is an internal content API. |
| 7 |
| 8 if (is_component_build) { |
| 9 public_deps = [ |
| 10 "//content", |
| 11 ] |
| 12 } else { |
| 13 public_deps = [ |
| 14 ":network_sources", |
| 15 ] |
| 16 } |
| 17 } |
| 18 |
| 19 source_set("network_sources") { |
| 20 # Depend on via ":network above. |
| 21 visibility = [ |
| 22 ":network", |
| 23 "//content", # For the component build. |
| 24 "//content/app:*", |
| 25 "//services/service_manager/public/cpp", |
| 26 ] |
| 27 |
| 28 sources = [ |
| 29 "net_adapters.cc", |
| 30 "net_adapters.h", |
| 31 "network_context.cc", |
| 32 "network_context.h", |
| 33 "url_loader_impl.cc", |
| 34 "url_loader_impl.h", |
| 35 ] |
| 36 |
| 37 configs += [ "//content:content_implementation" ] |
| 38 |
| 39 deps = [ |
| 40 "//base", |
| 41 "//content:export", |
| 42 "//content/common", |
| 43 "//content/common:mojo_bindings", |
| 44 "//content/public/common:common_sources", |
| 45 "//net", |
| 46 "//services/service_manager/public/interfaces", |
| 47 ] |
| 48 } |
OLD | NEW |