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

Unified 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, 11 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/BUILD.gn
diff --git a/remoting/host/BUILD.gn b/remoting/host/BUILD.gn
index eb74514729d119f07012dc94237e920c4e9e5e05..db787d628689863ba187d15bda17b5a4072255bd 100644
--- a/remoting/host/BUILD.gn
+++ b/remoting/host/BUILD.gn
@@ -235,10 +235,6 @@ static_library("host") {
"mouse_cursor_monitor_proxy.h",
"mouse_shape_pump.cc",
"mouse_shape_pump.h",
- "oauth_token_getter.cc",
- "oauth_token_getter.h",
- "oauth_token_getter_impl.cc",
- "oauth_token_getter_impl.h",
"pairing_registry_delegate.cc",
"pairing_registry_delegate.h",
"pairing_registry_delegate_linux.cc",
@@ -315,6 +311,7 @@ static_library("host") {
"//google_apis",
"//ipc",
"//remoting/base",
+ "//remoting/base:authorization",
"//remoting/host/security_key",
"//remoting/protocol",
"//remoting/resources",
@@ -450,12 +447,8 @@ static_library("test_support") {
"fake_host_status_monitor.h",
"fake_mouse_cursor_monitor.cc",
"fake_mouse_cursor_monitor.h",
- "fake_oauth_token_getter.cc",
- "fake_oauth_token_getter.h",
"host_mock_objects.cc",
"host_mock_objects.h",
- "setup/mock_oauth_client.cc",
- "setup/mock_oauth_client.h",
]
configs += [ "//remoting/build/config:version" ]
@@ -467,6 +460,7 @@ static_library("test_support") {
]
public_deps = [
":host",
+ "//remoting/base:test_support",
"//third_party/protobuf:protobuf_lite",
]
@@ -530,7 +524,6 @@ source_set("unit_tests") {
"screen_resolution_unittest.cc",
"server_log_entry_host_unittest.cc",
"setup/me2me_native_messaging_host_unittest.cc",
- "setup/oauth_helper_unittest.cc",
"setup/pin_validator_unittest.cc",
"third_party_auth_config_unittest.cc",
"token_validator_base_unittest.cc",
@@ -621,7 +614,10 @@ if (enable_remoting_host) {
"setup/start_host_main.h",
]
- deps += [ "//remoting/host/setup" ]
+ deps += [
+ "//google_apis",
+ "//remoting/host/setup",
+ ]
}
if (enable_webrtc) {
« 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