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

Side by Side Diff: chrome/browser/extensions/BUILD.gn

Issue 1554563002: Put more files under the enable_service_discovery build flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more fix merge Created 4 years, 11 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 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("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 7
8 assert(enable_extensions) 8 assert(enable_extensions)
9 9
10 gypi_values = 10 gypi_values =
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 ] 104 ]
105 sources += 105 sources +=
106 rebase_path(gypi_values.chrome_browser_extensions_non_chromeos_sources, 106 rebase_path(gypi_values.chrome_browser_extensions_non_chromeos_sources,
107 ".", 107 ".",
108 "//chrome") 108 "//chrome")
109 if (is_android) { 109 if (is_android) {
110 sources -= [ "api/messaging/native_process_launcher_posix.cc" ] 110 sources -= [ "api/messaging/native_process_launcher_posix.cc" ]
111 } 111 }
112 } 112 }
113 113
114 if (enable_service_discovery) {
115 sources += rebase_path(
116 gypi_values.chrome_browser_extensions_service_discovery_sources,
117 ".",
118 "//chrome")
119 }
120
114 if (use_ash) { 121 if (use_ash) {
115 sources += [ 122 sources += [
116 "api/tabs/ash_panel_contents.cc", 123 "api/tabs/ash_panel_contents.cc",
117 "api/tabs/ash_panel_contents.h", 124 "api/tabs/ash_panel_contents.h",
118 ] 125 ]
119 } 126 }
120 127
121 if (use_aura) { 128 if (use_aura) {
122 deps += [ 129 deps += [
123 "//ui/keyboard", 130 "//ui/keyboard",
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 "//chrome") 214 "//chrome")
208 } 215 }
209 216
210 if (is_chromeos && use_ozone) { 217 if (is_chromeos && use_ozone) {
211 sources -= [ "global_shortcut_listener_chromeos.cc" ] 218 sources -= [ "global_shortcut_listener_chromeos.cc" ]
212 } 219 }
213 if (!use_ozone) { 220 if (!use_ozone) {
214 sources -= [ "global_shortcut_listener_ozone.cc" ] 221 sources -= [ "global_shortcut_listener_ozone.cc" ]
215 } 222 }
216 } 223 }
OLDNEW
« no previous file with comments | « chrome/browser/devtools/device/devtools_android_bridge.cc ('k') | chrome/chrome_browser_extensions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698