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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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 } |
OLD | NEW |