forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[remoting host] Move mojo IPC stuff to a subdirectory
Change-Id: I2ea7b1e840abf4dd73da0981ef64e0ca39d8074c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3142136 Commit-Queue: Yuwei Huang <yuweih@chromium.org> Reviewed-by: Joe Downing <joedow@chromium.org> Cr-Commit-Position: refs/heads/main@{#919567}
- Loading branch information
Showing
13 changed files
with
78 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Copyright 2021 The Chromium Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
static_library("mojo_ipc") { | ||
sources = [ | ||
"ipc_server.h", | ||
"mojo_ipc_server.cc", | ||
"mojo_ipc_server.h", | ||
] | ||
deps = [ | ||
"//base", | ||
"//mojo/public/cpp/bindings", | ||
"//mojo/public/cpp/platform", | ||
"//mojo/public/cpp/system", | ||
] | ||
} | ||
|
||
static_library("test_support") { | ||
testonly = true | ||
|
||
sources = [ | ||
"fake_ipc_server.cc", | ||
"fake_ipc_server.h", | ||
"mojo_ipc_test_util.cc", | ||
"mojo_ipc_test_util.h", | ||
] | ||
deps = [ | ||
":mojo_ipc", | ||
"//base", | ||
"//mojo/public/cpp/platform", | ||
] | ||
} | ||
|
||
source_set("unit_tests") { | ||
testonly = true | ||
|
||
sources = [ "mojo_ipc_server_unittest.cc" ] | ||
deps = [ | ||
":mojo_ipc", | ||
":test_support", | ||
"//base", | ||
"//base/test:test_support", | ||
"//mojo/public/cpp/bindings", | ||
"//mojo/public/cpp/platform", | ||
"//mojo/public/cpp/system", | ||
"//remoting/host/mojom", | ||
"//testing/gmock", | ||
"//testing/gtest", | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters