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

Side by Side Diff: remoting/host/BUILD.gn

Issue 2380373002: Do not build unicode_to_keysym.cc when use_x11 == 0 (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | remoting/remoting_host.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 import("//build/util/version.gni") 7 import("//build/util/version.gni")
8 import("//remoting/remoting_host.gni") 8 import("//remoting/remoting_host.gni")
9 import("//remoting/remoting_locales.gni") 9 import("//remoting/remoting_locales.gni")
10 import("//remoting/remoting_options.gni") 10 import("//remoting/remoting_options.gni")
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 } else { 102 } else {
103 sources -= [ 103 sources -= [
104 "clipboard_x11.cc", 104 "clipboard_x11.cc",
105 "desktop_resizer_x11.cc", 105 "desktop_resizer_x11.cc",
106 "input_injector_x11.cc", 106 "input_injector_x11.cc",
107 "local_input_monitor_x11.cc", 107 "local_input_monitor_x11.cc",
108 ] 108 ]
109 if (is_linux) { 109 if (is_linux) {
110 # These will already be filtered out on non-Linux. 110 # These will already be filtered out on non-Linux.
111 sources -= [ 111 sources -= [
112 "linux/unicode_to_keysym.cc",
112 "linux/x11_util.cc", 113 "linux/x11_util.cc",
113 "linux/x_server_clipboard.cc", 114 "linux/x_server_clipboard.cc",
114 "linux/x_server_clipboard.h", 115 "linux/x_server_clipboard.h",
115 ] 116 ]
116 } 117 }
117 } 118 }
118 119
119 if (!use_ozone) { 120 if (!use_ozone) {
120 sources -= [ "desktop_resizer_ozone.cc" ] 121 sources -= [ "desktop_resizer_ozone.cc" ]
121 } 122 }
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 "setup/pin_validator_unittest.cc", 292 "setup/pin_validator_unittest.cc",
292 "shaped_desktop_capturer_unittest.cc", 293 "shaped_desktop_capturer_unittest.cc",
293 "third_party_auth_config_unittest.cc", 294 "third_party_auth_config_unittest.cc",
294 "token_validator_factory_impl_unittest.cc", 295 "token_validator_factory_impl_unittest.cc",
295 "touch_injector_win_unittest.cc", 296 "touch_injector_win_unittest.cc",
296 "video_frame_recorder_unittest.cc", 297 "video_frame_recorder_unittest.cc",
297 "win/rdp_client_unittest.cc", 298 "win/rdp_client_unittest.cc",
298 "win/worker_process_launcher_unittest.cc", 299 "win/worker_process_launcher_unittest.cc",
299 ] 300 ]
300 301
302 if (!use_x11 && is_linux) {
303 sources -= [ "linux/unicode_to_keysym_unittest.cc" ]
304 }
301 if (use_ozone || is_chromeos) { 305 if (use_ozone || is_chromeos) {
302 sources -= [ "local_input_monitor_unittest.cc" ] 306 sources -= [ "local_input_monitor_unittest.cc" ]
303 } 307 }
304 if (is_chromeos) { 308 if (is_chromeos) {
305 sources -= [ "linux/x_server_clipboard_unittest.cc" ] 309 sources -= [ "linux/x_server_clipboard_unittest.cc" ]
306 } 310 }
307 311
308 configs += [ "//remoting:version" ] 312 configs += [ "//remoting:version" ]
309 313
310 deps = [ 314 deps = [
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
641 "//remoting/resources", 645 "//remoting/resources",
642 "//third_party/icu:icudata", 646 "//third_party/icu:icudata",
643 ] 647 ]
644 } 648 }
645 } else { 649 } else {
646 group("remoting_me2me_host_archive") { 650 group("remoting_me2me_host_archive") {
647 } 651 }
648 } 652 }
649 } 653 }
650 } 654 }
OLDNEW
« no previous file with comments | « no previous file | remoting/remoting_host.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698