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

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

Issue 2661153003: Moving oauth code from host to base to allow code sharing between host and client. (Closed)
Patch Set: Merge branch 'master' into auth_token Created 3 years, 10 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 | « remoting/base/oauth_token_getter_impl.cc ('k') | remoting/host/fake_oauth_token_getter.h » ('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/util/process_version.gni") 5 import("//build/util/process_version.gni")
6 import("//media/media_options.gni") 6 import("//media/media_options.gni")
7 import("//remoting/build/config/remoting_build.gni") 7 import("//remoting/build/config/remoting_build.gni")
8 8
9 group("all_tests") { 9 group("all_tests") {
10 testonly = true 10 testonly = true
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 "logging.h", 228 "logging.h",
229 "logging_linux.cc", 229 "logging_linux.cc",
230 "logging_mac.cc", 230 "logging_mac.cc",
231 "logging_win.cc", 231 "logging_win.cc",
232 "me2me_desktop_environment.cc", 232 "me2me_desktop_environment.cc",
233 "me2me_desktop_environment.h", 233 "me2me_desktop_environment.h",
234 "mouse_cursor_monitor_proxy.cc", 234 "mouse_cursor_monitor_proxy.cc",
235 "mouse_cursor_monitor_proxy.h", 235 "mouse_cursor_monitor_proxy.h",
236 "mouse_shape_pump.cc", 236 "mouse_shape_pump.cc",
237 "mouse_shape_pump.h", 237 "mouse_shape_pump.h",
238 "oauth_token_getter.cc",
239 "oauth_token_getter.h",
240 "oauth_token_getter_impl.cc",
241 "oauth_token_getter_impl.h",
242 "pairing_registry_delegate.cc", 238 "pairing_registry_delegate.cc",
243 "pairing_registry_delegate.h", 239 "pairing_registry_delegate.h",
244 "pairing_registry_delegate_linux.cc", 240 "pairing_registry_delegate_linux.cc",
245 "pairing_registry_delegate_linux.h", 241 "pairing_registry_delegate_linux.h",
246 "pairing_registry_delegate_mac.cc", 242 "pairing_registry_delegate_mac.cc",
247 "pairing_registry_delegate_win.cc", 243 "pairing_registry_delegate_win.cc",
248 "pairing_registry_delegate_win.h", 244 "pairing_registry_delegate_win.h",
249 "pin_hash.cc", 245 "pin_hash.cc",
250 "pin_hash.h", 246 "pin_hash.h",
251 "policy_watcher.cc", 247 "policy_watcher.cc",
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 defines = [ "WEBRTC_CHROMIUM_BUILD" ] 304 defines = [ "WEBRTC_CHROMIUM_BUILD" ]
309 305
310 deps = [ 306 deps = [
311 "//base:i18n", 307 "//base:i18n",
312 "//components/policy/core/common", 308 "//components/policy/core/common",
313 "//crypto", 309 "//crypto",
314 "//device/power_save_blocker", 310 "//device/power_save_blocker",
315 "//google_apis", 311 "//google_apis",
316 "//ipc", 312 "//ipc",
317 "//remoting/base", 313 "//remoting/base",
314 "//remoting/base:authorization",
318 "//remoting/host/security_key", 315 "//remoting/host/security_key",
319 "//remoting/protocol", 316 "//remoting/protocol",
320 "//remoting/resources", 317 "//remoting/resources",
321 "//ui/base", 318 "//ui/base",
322 "//ui/events:dom_keycode_converter", 319 "//ui/events:dom_keycode_converter",
323 "//ui/events/platform", 320 "//ui/events/platform",
324 ] 321 ]
325 322
326 public_deps = [] 323 public_deps = []
327 324
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 testonly = true 440 testonly = true
444 441
445 sources = [ 442 sources = [
446 "fake_desktop_environment.cc", 443 "fake_desktop_environment.cc",
447 "fake_desktop_environment.h", 444 "fake_desktop_environment.h",
448 "fake_host_extension.cc", 445 "fake_host_extension.cc",
449 "fake_host_extension.h", 446 "fake_host_extension.h",
450 "fake_host_status_monitor.h", 447 "fake_host_status_monitor.h",
451 "fake_mouse_cursor_monitor.cc", 448 "fake_mouse_cursor_monitor.cc",
452 "fake_mouse_cursor_monitor.h", 449 "fake_mouse_cursor_monitor.h",
453 "fake_oauth_token_getter.cc",
454 "fake_oauth_token_getter.h",
455 "host_mock_objects.cc", 450 "host_mock_objects.cc",
456 "host_mock_objects.h", 451 "host_mock_objects.h",
457 "setup/mock_oauth_client.cc",
458 "setup/mock_oauth_client.h",
459 ] 452 ]
460 453
461 configs += [ "//remoting/build/config:version" ] 454 configs += [ "//remoting/build/config:version" ]
462 455
463 deps = [ 456 deps = [
464 "//remoting/proto", 457 "//remoting/proto",
465 "//testing/gmock", 458 "//testing/gmock",
466 "//testing/gtest", 459 "//testing/gtest",
467 ] 460 ]
468 public_deps = [ 461 public_deps = [
469 ":host", 462 ":host",
463 "//remoting/base:test_support",
470 "//third_party/protobuf:protobuf_lite", 464 "//third_party/protobuf:protobuf_lite",
471 ] 465 ]
472 466
473 if (enable_webrtc) { 467 if (enable_webrtc) {
474 public_deps += [ 468 public_deps += [
475 "//third_party/libjingle/webrtc:libjingle_webrtc", 469 "//third_party/libjingle/webrtc:libjingle_webrtc",
476 "//third_party/libjingle_xmpp", 470 "//third_party/libjingle_xmpp",
477 "//third_party/webrtc/modules/desktop_capture", 471 "//third_party/webrtc/modules/desktop_capture",
478 ] 472 ]
479 } 473 }
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 "pairing_registry_delegate_win_unittest.cc", 517 "pairing_registry_delegate_win_unittest.cc",
524 "pin_hash_unittest.cc", 518 "pin_hash_unittest.cc",
525 "policy_watcher_unittest.cc", 519 "policy_watcher_unittest.cc",
526 "register_support_host_request_unittest.cc", 520 "register_support_host_request_unittest.cc",
527 "remote_input_filter_unittest.cc", 521 "remote_input_filter_unittest.cc",
528 "resizing_host_observer_unittest.cc", 522 "resizing_host_observer_unittest.cc",
529 "resources_unittest.cc", 523 "resources_unittest.cc",
530 "screen_resolution_unittest.cc", 524 "screen_resolution_unittest.cc",
531 "server_log_entry_host_unittest.cc", 525 "server_log_entry_host_unittest.cc",
532 "setup/me2me_native_messaging_host_unittest.cc", 526 "setup/me2me_native_messaging_host_unittest.cc",
533 "setup/oauth_helper_unittest.cc",
534 "setup/pin_validator_unittest.cc", 527 "setup/pin_validator_unittest.cc",
535 "third_party_auth_config_unittest.cc", 528 "third_party_auth_config_unittest.cc",
536 "token_validator_base_unittest.cc", 529 "token_validator_base_unittest.cc",
537 "token_validator_factory_impl_unittest.cc", 530 "token_validator_factory_impl_unittest.cc",
538 "touch_injector_win_unittest.cc", 531 "touch_injector_win_unittest.cc",
539 ] 532 ]
540 533
541 if (!use_x11 && is_linux) { 534 if (!use_x11 && is_linux) {
542 sources -= [ "linux/unicode_to_keysym_unittest.cc" ] 535 sources -= [ "linux/unicode_to_keysym_unittest.cc" ]
543 } 536 }
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 "//remoting/host/win:remoting_windows_resources", 607 "//remoting/host/win:remoting_windows_resources",
615 ] 608 ]
616 } else { 609 } else {
617 sources += [ 610 sources += [
618 "setup/host_starter.cc", 611 "setup/host_starter.cc",
619 "setup/host_starter.h", 612 "setup/host_starter.h",
620 "setup/start_host_main.cc", 613 "setup/start_host_main.cc",
621 "setup/start_host_main.h", 614 "setup/start_host_main.h",
622 ] 615 ]
623 616
624 deps += [ "//remoting/host/setup" ] 617 deps += [
618 "//google_apis",
619 "//remoting/host/setup",
620 ]
625 } 621 }
626 622
627 if (enable_webrtc) { 623 if (enable_webrtc) {
628 deps += [ 624 deps += [
629 "//third_party/libjingle/webrtc:libjingle_webrtc", 625 "//third_party/libjingle/webrtc:libjingle_webrtc",
630 "//third_party/libjingle_xmpp", 626 "//third_party/libjingle_xmpp",
631 ] 627 ]
632 } 628 }
633 } 629 }
634 630
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
836 group("remoting_me2me_host_archive") { 832 group("remoting_me2me_host_archive") {
837 deps = [ 833 deps = [
838 "//remoting/host/installer/mac:remoting_me2me_host_archive", 834 "//remoting/host/installer/mac:remoting_me2me_host_archive",
839 ] 835 ]
840 } 836 }
841 } else { 837 } else {
842 group("remoting_me2me_host_archive") { 838 group("remoting_me2me_host_archive") {
843 } 839 }
844 } 840 }
845 } 841 }
OLDNEW
« no previous file with comments | « remoting/base/oauth_token_getter_impl.cc ('k') | remoting/host/fake_oauth_token_getter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698