diff options
author | juncai <juncai@chromium.org> | 2015-11-20 21:54:27 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-21 05:55:25 +0000 |
commit | 0c9eb038cae670b299c303a5e18547ec85e6e3b0 (patch) | |
tree | f6fcebffd4e64adbb1ad659eeacc0e4897c6a241 /device/serial/BUILD.gn | |
parent | 1084bdca601104f8eb99fa4ff11cc1397d8dd1af (diff) | |
download | chromium_src-0c9eb038cae670b299c303a5e18547ec85e6e3b0.zip chromium_src-0c9eb038cae670b299c303a5e18547ec85e6e3b0.tar.gz chromium_src-0c9eb038cae670b299c303a5e18547ec85e6e3b0.tar.bz2 |
Add code to deal with serial device disconnection
detection on Windows.
This patch added code to deal with serial device
disconnection detection problem on Windows. It gets the
COM port information from the device path and compare
the COM port information with the port information that
serial io handler holds. If they match, cancel read for
that port.
BUG=361606
Committed: https://crrev.com/195a0f202c1b89540d4a385d881cd483abe757fa
Cr-Commit-Position: refs/heads/master@{#360193}
Committed: https://crrev.com/8d09d9564ea10012d55ed634c0c2835efbd8d01f
Cr-Commit-Position: refs/heads/master@{#360347}
Review URL: https://codereview.chromium.org/1439443002
Cr-Commit-Position: refs/heads/master@{#361009}
Diffstat (limited to 'device/serial/BUILD.gn')
-rw-r--r-- | device/serial/BUILD.gn | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/device/serial/BUILD.gn b/device/serial/BUILD.gn index 1ee6c5f..f66cedf 100644 --- a/device/serial/BUILD.gn +++ b/device/serial/BUILD.gn @@ -45,6 +45,7 @@ static_library("serial") { public_deps = [ ":serial_mojo", "//base", + "//device/core", ] deps = [ "//mojo/public/cpp/system", |