OLD | NEW |
(Empty) | |
| 1 # Copyright 2016 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 import("//build/config/features.gni") |
| 6 |
| 7 source_set("networking_private") { |
| 8 sources = [ |
| 9 "networking_private_api.cc", |
| 10 "networking_private_api.h", |
| 11 "networking_private_chromeos.cc", |
| 12 "networking_private_chromeos.h", |
| 13 "networking_private_delegate.cc", |
| 14 "networking_private_delegate.h", |
| 15 "networking_private_delegate_factory.cc", |
| 16 "networking_private_delegate_factory.h", |
| 17 "networking_private_delegate_observer.h", |
| 18 "networking_private_event_router.h", |
| 19 "networking_private_event_router_chromeos.cc", |
| 20 "networking_private_event_router_factory.cc", |
| 21 "networking_private_event_router_factory.h", |
| 22 ] |
| 23 |
| 24 deps = [ |
| 25 "//extensions/common/api", |
| 26 ] |
| 27 |
| 28 if (!is_chromeos && is_linux) { |
| 29 sources += [ |
| 30 "network_config_dbus_constants_linux.cc", |
| 31 "network_config_dbus_constants_linux.h", |
| 32 "networking_private_event_router_nonchromeos.cc", |
| 33 "networking_private_linux.cc", |
| 34 "networking_private_linux.h", |
| 35 ] |
| 36 if (use_dbus) { |
| 37 deps += [ "//dbus" ] |
| 38 } |
| 39 } else if (is_win || is_mac) { |
| 40 sources += [ |
| 41 "networking_private_event_router_nonchromeos.cc", |
| 42 "networking_private_service_client.cc", |
| 43 "networking_private_service_client.h", |
| 44 ] |
| 45 deps += [ "//components/wifi" ] |
| 46 } |
| 47 } |
OLD | NEW |