summaryrefslogtreecommitdiffstats
path: root/device/serial/BUILD.gn
diff options
context:
space:
mode:
authorjuncai <juncai@chromium.org>2015-11-18 08:50:01 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-18 16:50:57 +0000
commit8d09d9564ea10012d55ed634c0c2835efbd8d01f (patch)
tree65ea0e042bd47a3a9b57f3019c8e8532d0577a35 /device/serial/BUILD.gn
parentcf1af6314b8732015b8474badce1d15bef4cfada (diff)
downloadchromium_src-8d09d9564ea10012d55ed634c0c2835efbd8d01f.zip
chromium_src-8d09d9564ea10012d55ed634c0c2835efbd8d01f.tar.gz
chromium_src-8d09d9564ea10012d55ed634c0c2835efbd8d01f.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} Review URL: https://codereview.chromium.org/1439443002 Cr-Commit-Position: refs/heads/master@{#360347}
Diffstat (limited to 'device/serial/BUILD.gn')
-rw-r--r--device/serial/BUILD.gn1
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",