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 '../../third_party/mojo/mojom_bindings_generator.gypi',
22 'data_stream_serialization.mojom',
24 'serial_serialization.mojom',
28 # GN version: //device/serial
29 'target_name': 'device_serial',
30 'type': 'static_library',
34 '../udev_linux/udev.gyp:udev_linux',
38 'serial_device_enumerator_linux.cc',
39 'serial_device_enumerator_linux.h',
45 '../../net/net.gyp:net',
46 '../../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
48 'export_dependent_settings': [
50 '../../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
53 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.cc',
54 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.h',
55 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream_serialization.mojom.cc',
56 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream_serialization.mojom.h',
57 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.cc',
58 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.h',
59 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial_serialization.mojom.cc',
60 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial_serialization.mojom.h',
67 'data_sink_receiver.cc',
68 'data_sink_receiver.h',
69 'data_source_sender.cc',
70 'data_source_sender.h',
71 'serial_connection.cc',
72 'serial_connection.h',
73 'serial_connection_factory.cc',
74 'serial_connection_factory.h',
75 'serial_device_enumerator.cc',
76 'serial_device_enumerator.h',
77 'serial_device_enumerator_linux.cc',
78 'serial_device_enumerator_linux.h',
79 'serial_device_enumerator_mac.cc',
80 'serial_device_enumerator_mac.h',
81 'serial_device_enumerator_win.cc',
82 'serial_device_enumerator_win.h',
83 'serial_io_handler.cc',
84 'serial_io_handler.h',
85 'serial_io_handler_posix.cc',
86 'serial_io_handler_posix.h',
87 'serial_io_handler_win.cc',
88 'serial_io_handler_win.h',
89 'serial_service_impl.cc',
90 'serial_service_impl.h',
94 # GN version: //device/serial:test_support
95 'target_name': 'device_serial_test_util',
96 'type': 'static_library',
102 'test_serial_io_handler.cc',
103 'test_serial_io_handler.h',