1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//mojo/public/tools/bindings/mojom.gni")
7 # GYP version: device/serial/serial.gyp:device_serial
8 static_library("serial") {
9 output_name = "device_serial"
20 "data_sink_receiver.cc",
21 "data_sink_receiver.h",
22 "data_source_sender.cc",
23 "data_source_sender.h",
24 "serial_connection.cc",
25 "serial_connection.h",
26 "serial_connection_factory.cc",
27 "serial_connection_factory.h",
28 "serial_device_enumerator.cc",
29 "serial_device_enumerator.h",
30 "serial_device_enumerator_linux.cc",
31 "serial_device_enumerator_linux.h",
32 "serial_device_enumerator_mac.cc",
33 "serial_device_enumerator_mac.h",
34 "serial_device_enumerator_win.cc",
35 "serial_device_enumerator_win.h",
36 "serial_io_handler.cc",
37 "serial_io_handler.h",
38 "serial_io_handler_posix.cc",
39 "serial_io_handler_posix.h",
40 "serial_io_handler_win.cc",
41 "serial_io_handler_win.h",
42 "serial_service_impl.cc",
43 "serial_service_impl.h",
47 configs += [ "//build/config/linux:udev" ]
55 # GYP version: device/serial/serial.gyp:device_serial_test_util
56 static_library("test_util") {
57 output_name = "device_serial_test_util"
60 "test_serial_io_handler.cc",
61 "test_serial_io_handler.h",
69 # GYP version: device/serial/serial.gyp:device_serial_mojo
70 mojom("serial_mojo") {
73 "//extensions:extensions_renderer_resources_grit",
78 "data_stream_serialization.mojom",
80 "serial_serialization.mojom",