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/crypto.gni") | 5 import("//build/config/crypto.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 | 8 |
9 gypi_values = exec_script( | 9 gypi_values = exec_script( |
10 "//build/gypi_to_gn.py", | 10 "//build/gypi_to_gn.py", |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 } | 113 } |
114 | 114 |
115 if (is_linux) { | 115 if (is_linux) { |
116 configs += [ "//build/config/linux:fontconfig" ] | 116 configs += [ "//build/config/linux:fontconfig" ] |
117 deps += [ "//dbus" ] | 117 deps += [ "//dbus" ] |
118 if (use_x11) { | 118 if (use_x11) { |
119 configs += [ | 119 configs += [ |
120 "//build/config/linux:x11", | 120 "//build/config/linux:x11", |
121 ] | 121 ] |
122 deps += [ | 122 deps += [ |
| 123 "//ui/events:events_base", |
123 "//ui/events/platform", | 124 "//ui/events/platform", |
124 "//ui/events/platform/x11", | 125 "//ui/events/platform/x11", |
125 ] | 126 ] |
126 } | 127 } |
127 } else { | 128 } else { |
128 sources += [ | 129 sources += [ |
129 "api/audio/audio_service.cc", | 130 "api/audio/audio_service.cc", |
130 ] | 131 ] |
131 } | 132 } |
132 | 133 |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 gypi_values.chrome_browser_extensions_app_list_sources, | 207 gypi_values.chrome_browser_extensions_app_list_sources, |
207 ".", "//chrome") | 208 ".", "//chrome") |
208 } | 209 } |
209 | 210 |
210 if (!use_ozone) { | 211 if (!use_ozone) { |
211 sources -= [ | 212 sources -= [ |
212 "global_shortcut_listener_ozone.cc", | 213 "global_shortcut_listener_ozone.cc", |
213 ] | 214 ] |
214 } | 215 } |
215 } | 216 } |
OLD | NEW |