Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Side by Side Diff: extensions/browser/api/networking_private/BUILD.gn

Issue 2810913008: Add //chromeos dependency in //extensions/browser/api/networking_private (Closed)
Patch Set: Restrict compilation to CrOS Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 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 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("//build/config/features.gni") 5 import("//build/config/features.gni")
6 6
7 source_set("networking_private") { 7 source_set("networking_private") {
8 sources = [ 8 sources = [
9 "networking_cast_private_delegate.cc", 9 "networking_cast_private_delegate.cc",
10 "networking_cast_private_delegate.h", 10 "networking_cast_private_delegate.h",
11 "networking_private_api.cc", 11 "networking_private_api.cc",
12 "networking_private_api.h", 12 "networking_private_api.h",
13 "networking_private_chromeos.cc",
14 "networking_private_chromeos.h",
15 "networking_private_delegate.cc", 13 "networking_private_delegate.cc",
16 "networking_private_delegate.h", 14 "networking_private_delegate.h",
17 "networking_private_delegate_factory.cc", 15 "networking_private_delegate_factory.cc",
18 "networking_private_delegate_factory.h", 16 "networking_private_delegate_factory.h",
19 "networking_private_delegate_observer.h", 17 "networking_private_delegate_observer.h",
20 "networking_private_event_router.h", 18 "networking_private_event_router.h",
21 "networking_private_event_router_chromeos.cc",
22 "networking_private_event_router_factory.cc", 19 "networking_private_event_router_factory.cc",
23 "networking_private_event_router_factory.h", 20 "networking_private_event_router_factory.h",
24 ] 21 ]
25 22
26 deps = [ 23 deps = [
27 "//extensions/common/api", 24 "//extensions/common/api",
28 ] 25 ]
29 26
30 if (!is_chromeos && is_linux) { 27 if (!is_chromeos && is_linux) {
31 sources += [ 28 sources += [
32 "network_config_dbus_constants_linux.cc", 29 "network_config_dbus_constants_linux.cc",
33 "network_config_dbus_constants_linux.h", 30 "network_config_dbus_constants_linux.h",
34 "networking_private_event_router_nonchromeos.cc", 31 "networking_private_event_router_nonchromeos.cc",
35 "networking_private_linux.cc", 32 "networking_private_linux.cc",
36 "networking_private_linux.h", 33 "networking_private_linux.h",
37 ] 34 ]
38 if (use_dbus) { 35 if (use_dbus) {
39 deps += [ "//dbus" ] 36 deps += [ "//dbus" ]
40 } 37 }
41 } else if (is_win || is_mac) { 38 } else if (is_win || is_mac) {
42 sources += [ 39 sources += [
43 "networking_private_event_router_nonchromeos.cc", 40 "networking_private_event_router_nonchromeos.cc",
44 "networking_private_service_client.cc", 41 "networking_private_service_client.cc",
45 "networking_private_service_client.h", 42 "networking_private_service_client.h",
46 ] 43 ]
47 deps += [ "//components/wifi" ] 44 deps += [ "//components/wifi" ]
45 } else if (is_chromeos) {
46 sources += [
47 "networking_private_chromeos.cc",
48 "networking_private_chromeos.h",
49 "networking_private_event_router_chromeos.cc",
50 ]
51 deps += [ "//chromeos" ]
48 } 52 }
49 } 53 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698