OLD | NEW |
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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 } | 111 } |
112 } | 112 } |
113 | 113 |
114 if (!is_android) { | 114 if (!is_android) { |
115 sources += | 115 sources += |
116 rebase_path(gypi_values.chrome_browser_extensions_non_android_sources, | 116 rebase_path(gypi_values.chrome_browser_extensions_non_android_sources, |
117 ".", | 117 ".", |
118 "//chrome") | 118 "//chrome") |
119 } | 119 } |
120 | 120 |
| 121 if (enable_service_discovery) { |
| 122 sources += rebase_path( |
| 123 gypi_values.chrome_browser_extensions_service_discovery_sources, |
| 124 ".", |
| 125 "//chrome") |
| 126 } |
| 127 |
121 if (use_ash) { | 128 if (use_ash) { |
122 sources += [ | 129 sources += [ |
123 "api/tabs/ash_panel_contents.cc", | 130 "api/tabs/ash_panel_contents.cc", |
124 "api/tabs/ash_panel_contents.h", | 131 "api/tabs/ash_panel_contents.h", |
125 ] | 132 ] |
126 } | 133 } |
127 | 134 |
128 if (use_aura) { | 135 if (use_aura) { |
129 deps += [ | 136 deps += [ |
130 "//ui/keyboard", | 137 "//ui/keyboard", |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 "//chrome") | 221 "//chrome") |
215 } | 222 } |
216 | 223 |
217 if (is_chromeos && use_ozone) { | 224 if (is_chromeos && use_ozone) { |
218 sources -= [ "global_shortcut_listener_chromeos.cc" ] | 225 sources -= [ "global_shortcut_listener_chromeos.cc" ] |
219 } | 226 } |
220 if (!use_ozone) { | 227 if (!use_ozone) { |
221 sources -= [ "global_shortcut_listener_ozone.cc" ] | 228 sources -= [ "global_shortcut_listener_ozone.cc" ] |
222 } | 229 } |
223 } | 230 } |
OLD | NEW |