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

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

Issue 2904443004: Allow generation of a chromium outdirs when enable_extensions=false (Closed)
Patch Set: Rebase Created 3 years, 6 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
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("//extensions/features/features.gni")
6
7 assert(enable_extensions,
8 "Cannot depend on extensions because enable_extensions=false.")
9
5 import("//build/config/features.gni") 10 import("//build/config/features.gni")
6 11
7 source_set("networking_private") { 12 source_set("networking_private") {
8 sources = [ 13 sources = [
9 "networking_cast_private_delegate.cc", 14 "networking_cast_private_delegate.cc",
10 "networking_cast_private_delegate.h", 15 "networking_cast_private_delegate.h",
11 "networking_private_api.cc", 16 "networking_private_api.cc",
12 "networking_private_api.h", 17 "networking_private_api.h",
13 "networking_private_delegate.cc", 18 "networking_private_delegate.cc",
14 "networking_private_delegate.h", 19 "networking_private_delegate.h",
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 deps += [ "//components/wifi" ] 54 deps += [ "//components/wifi" ]
50 } else if (is_chromeos) { 55 } else if (is_chromeos) {
51 sources += [ 56 sources += [
52 "networking_private_chromeos.cc", 57 "networking_private_chromeos.cc",
53 "networking_private_chromeos.h", 58 "networking_private_chromeos.h",
54 "networking_private_event_router_chromeos.cc", 59 "networking_private_event_router_chromeos.cc",
55 ] 60 ]
56 deps += [ "//chromeos" ] 61 deps += [ "//chromeos" ]
57 } 62 }
58 } 63 }
OLDNEW
« no previous file with comments | « extensions/browser/api/networking_config/BUILD.gn ('k') | extensions/browser/api/power/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698