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

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

Issue 1997533002: Do not build unicode_to_keysym.cc when use_x11 == 0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: build fix Created 4 years, 7 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/config/win/manifest.gni") 7 import("//build/config/win/manifest.gni")
8 import("//build/util/version.gni") 8 import("//build/util/version.gni")
9 import("//remoting/remoting_enable.gni") 9 import("//remoting/remoting_enable.gni")
10 import("//remoting/remoting_locales.gni") 10 import("//remoting/remoting_locales.gni")
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 } else { 133 } else {
134 sources -= [ 134 sources -= [
135 "clipboard_x11.cc", 135 "clipboard_x11.cc",
136 "desktop_resizer_x11.cc", 136 "desktop_resizer_x11.cc",
137 "input_injector_x11.cc", 137 "input_injector_x11.cc",
138 "local_input_monitor_x11.cc", 138 "local_input_monitor_x11.cc",
139 ] 139 ]
140 if (is_linux) { 140 if (is_linux) {
141 # These will already be filtered out on non-Linux. 141 # These will already be filtered out on non-Linux.
142 sources -= [ 142 sources -= [
143 "linux/unicode_to_keysym.cc",
143 "linux/x11_util.cc", 144 "linux/x11_util.cc",
144 "linux/x_server_clipboard.cc", 145 "linux/x_server_clipboard.cc",
145 "linux/x_server_clipboard.h", 146 "linux/x_server_clipboard.h",
146 ] 147 ]
147 } 148 }
148 } 149 }
149 150
150 if (!use_ozone) { 151 if (!use_ozone) {
151 sources -= [ "desktop_resizer_ozone.cc" ] 152 sources -= [ "desktop_resizer_ozone.cc" ]
152 } 153 }
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 "setup/me2me_native_messaging_host_unittest.cc", 341 "setup/me2me_native_messaging_host_unittest.cc",
341 "setup/oauth_helper_unittest.cc", 342 "setup/oauth_helper_unittest.cc",
342 "setup/pin_validator_unittest.cc", 343 "setup/pin_validator_unittest.cc",
343 "third_party_auth_config_unittest.cc", 344 "third_party_auth_config_unittest.cc",
344 "token_validator_factory_impl_unittest.cc", 345 "token_validator_factory_impl_unittest.cc",
345 "touch_injector_win_unittest.cc", 346 "touch_injector_win_unittest.cc",
346 "win/rdp_client_unittest.cc", 347 "win/rdp_client_unittest.cc",
347 "win/worker_process_launcher_unittest.cc", 348 "win/worker_process_launcher_unittest.cc",
348 ] 349 ]
349 350
351 if (!use_x11 && is_linux) {
352 sources -= [ "linux/unicode_to_keysym_unittest.cc" ]
353 }
350 if (use_ozone || is_chromeos) { 354 if (use_ozone || is_chromeos) {
351 sources -= [ "local_input_monitor_unittest.cc" ] 355 sources -= [ "local_input_monitor_unittest.cc" ]
352 } 356 }
353 if (is_chromeos) { 357 if (is_chromeos) {
354 sources -= [ "linux/x_server_clipboard_unittest.cc" ] 358 sources -= [ "linux/x_server_clipboard_unittest.cc" ]
355 } 359 }
356 if (is_android) { 360 if (is_android) {
357 sources -= [ "it2me/it2me_native_messaging_host_unittest.cc" ] 361 sources -= [ "it2me/it2me_native_messaging_host_unittest.cc" ]
358 } 362 }
359 363
(...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after
1156 "--target_arch", 1160 "--target_arch",
1157 msi_script_arch, 1161 msi_script_arch,
1158 rebase_path("$root_out_dir/remoting-me2me-host-$current_os.zip", 1162 rebase_path("$root_out_dir/remoting-me2me-host-$current_os.zip",
1159 root_build_dir), 1163 root_build_dir),
1160 rebase_path(outputs[0], root_build_dir), 1164 rebase_path(outputs[0], root_build_dir),
1161 ] 1165 ]
1162 } 1166 }
1163 } 1167 }
1164 } 1168 }
1165 } 1169 }
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