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.
11 # GN version: //device/serial:serial_mojo
12 'target_name': 'device_serial_mojo',
13 # The type of this target must be none. This is so that resources can
14 # depend upon this target for generating the js bindings files. Any
15 # generated cpp files must be listed explicitly in device_serial
18 '../../mojo/public/tools/bindings/mojom_bindings_generator.gypi',
22 'data_stream_serialization.mojom',
27 # GN version: //device/serial
28 'target_name': 'device_serial',
29 'type': 'static_library',
33 '../../build/linux/system.gyp:udev',
37 'serial_device_enumerator_linux.cc',
38 'serial_device_enumerator_linux.h',
44 '../../mojo/mojo_base.gyp:mojo_cpp_bindings',
45 '../../net/net.gyp:net',
47 'export_dependent_settings': [
49 '../../mojo/mojo_base.gyp:mojo_cpp_bindings',
52 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.cc',
53 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.h',
54 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream_serialization.mojom.cc',
55 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream_serialization.mojom.h',
56 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.cc',
57 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.h',
66 'data_sink_receiver.cc',
67 'data_sink_receiver.h',
68 'data_source_sender.cc',
69 'data_source_sender.h',
70 'serial_connection.cc',
71 'serial_connection.h',
72 'serial_connection_factory.cc',
73 'serial_connection_factory.h',
74 'serial_device_enumerator.cc',
75 'serial_device_enumerator.h',
76 'serial_device_enumerator_linux.cc',
77 'serial_device_enumerator_linux.h',
78 'serial_device_enumerator_mac.cc',
79 'serial_device_enumerator_mac.h',
80 'serial_device_enumerator_win.cc',
81 'serial_device_enumerator_win.h',
82 'serial_io_handler.cc',
83 'serial_io_handler.h',
84 'serial_io_handler_posix.cc',
85 'serial_io_handler_posix.h',
86 'serial_io_handler_win.cc',
87 'serial_io_handler_win.h',
88 'serial_service_impl.cc',
89 'serial_service_impl.h',
93 # GN version: //device/serial:test_util
94 'target_name': 'device_serial_test_util',
95 'type': 'static_library',
101 'test_serial_io_handler.cc',
102 'test_serial_io_handler.h',