summaryrefslogtreecommitdiffstats
path: root/device/serial
diff options
context:
space:
mode:
authorbrettw <brettw@chromium.org>2015-12-04 14:12:30 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-04 22:13:07 +0000
commitbda835b5af97a7fce770017890354c00ca50f557 (patch)
treefb70e29360711ba49eee2925f68510b486963640 /device/serial
parent9376c6a675cfa73d3eb99a92ee2fcabd171c04c9 (diff)
downloadchromium_src-bda835b5af97a7fce770017890354c00ca50f557.zip
chromium_src-bda835b5af97a7fce770017890354c00ca50f557.tar.gz
chromium_src-bda835b5af97a7fce770017890354c00ca50f557.tar.bz2
Make //device pass "gn check"
Review URL: https://codereview.chromium.org/1484643002 Cr-Commit-Position: refs/heads/master@{#363307}
Diffstat (limited to 'device/serial')
-rw-r--r--device/serial/BUILD.gn6
-rw-r--r--device/serial/serial_io_handler.cc2
2 files changed, 6 insertions, 2 deletions
diff --git a/device/serial/BUILD.gn b/device/serial/BUILD.gn
index f66cedf..474317e 100644
--- a/device/serial/BUILD.gn
+++ b/device/serial/BUILD.gn
@@ -49,6 +49,7 @@ static_library("serial") {
]
deps = [
"//mojo/public/cpp/system",
+ "//net",
"//third_party/re2",
]
@@ -56,7 +57,10 @@ static_library("serial") {
deps += [ "//device/udev_linux" ]
}
if (is_chromeos) {
- deps += [ "//chromeos" ]
+ deps += [
+ "//chromeos",
+ "//dbus",
+ ]
}
}
diff --git a/device/serial/serial_io_handler.cc b/device/serial/serial_io_handler.cc
index 1cfb1cd..b9df970 100644
--- a/device/serial/serial_io_handler.cc
+++ b/device/serial/serial_io_handler.cc
@@ -12,7 +12,7 @@
#if defined(OS_CHROMEOS)
#include "chromeos/dbus/dbus_thread_manager.h"
#include "chromeos/dbus/permission_broker_client.h"
-#include "dbus/file_descriptor.h"
+#include "dbus/file_descriptor.h" // nogncheck
#endif // defined(OS_CHROMEOS)
namespace device {