Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(378)

Side by Side Diff: device/serial/serial.gyp

Issue 437933002: Add data pipe wrappers to be used to implement serial receive. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@serial-buffer
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « device/serial/data_stream.mojom ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
11 # GN version: //device/serial:serial_mojo 11 # GN version: //device/serial:serial_mojo
12 'target_name': 'device_serial_mojo', 12 'target_name': 'device_serial_mojo',
13 # The type of this target must be none. This is so that resources can 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 14 # depend upon this target for generating the js bindings files. Any
15 # generated cpp files must be listed explicitly in device_serial 15 # generated cpp files must be listed explicitly in device_serial
16 'type': 'none', 16 'type': 'none',
17 'includes': [ 17 'includes': [
18 '../../mojo/public/tools/bindings/mojom_bindings_generator.gypi', 18 '../../mojo/public/tools/bindings/mojom_bindings_generator.gypi',
19 ], 19 ],
20 'sources': [ 20 'sources': [
21 'serial.mojom', 21 'serial.mojom',
22 'data_stream.mojom',
22 ], 23 ],
23 }, 24 },
24 { 25 {
25 # GN version: //device/serial 26 # GN version: //device/serial
26 'target_name': 'device_serial', 27 'target_name': 'device_serial',
27 'type': 'static_library', 28 'type': 'static_library',
28 'conditions': [ 29 'conditions': [
29 ['OS=="linux"', { 30 ['OS=="linux"', {
30 'dependencies': [ 31 'dependencies': [
31 '../../build/linux/system.gyp:udev', 32 '../../build/linux/system.gyp:udev',
32 ], 33 ],
33 }], 34 }],
34 ], 35 ],
35 'dependencies': [ 36 'dependencies': [
36 'device_serial_mojo', 37 'device_serial_mojo',
37 '../../mojo/mojo_base.gyp:mojo_cpp_bindings', 38 '../../mojo/mojo_base.gyp:mojo_cpp_bindings',
38 '../../net/net.gyp:net', 39 '../../net/net.gyp:net',
39 ], 40 ],
40 'export_dependent_settings': [ 41 'export_dependent_settings': [
41 'device_serial_mojo', 42 'device_serial_mojo',
42 '../../mojo/mojo_base.gyp:mojo_cpp_bindings', 43 '../../mojo/mojo_base.gyp:mojo_cpp_bindings',
43 ], 44 ],
44 'sources': [ 45 'sources': [
46 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.cc',
47 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.h',
45 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.cc', 48 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.cc',
46 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.h', 49 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.h',
50 'async_waiter.cc',
51 'async_waiter.h',
47 'buffer.cc', 52 'buffer.cc',
48 'buffer.h', 53 'buffer.h',
54 'data_receiver.cc',
55 'data_receiver.h',
56 'data_source_sender.cc',
57 'data_source_sender.h',
49 'serial_connection.cc', 58 'serial_connection.cc',
50 'serial_connection.h', 59 'serial_connection.h',
51 'serial_connection_factory.cc', 60 'serial_connection_factory.cc',
52 'serial_connection_factory.h', 61 'serial_connection_factory.h',
53 'serial_device_enumerator.cc', 62 'serial_device_enumerator.cc',
54 'serial_device_enumerator.h', 63 'serial_device_enumerator.h',
55 'serial_device_enumerator_linux.cc', 64 'serial_device_enumerator_linux.cc',
56 'serial_device_enumerator_linux.h', 65 'serial_device_enumerator_linux.h',
57 'serial_device_enumerator_mac.cc', 66 'serial_device_enumerator_mac.cc',
58 'serial_device_enumerator_mac.h', 67 'serial_device_enumerator_mac.h',
(...skipping 17 matching lines...) Expand all
76 'device_serial', 85 'device_serial',
77 'device_serial_mojo', 86 'device_serial_mojo',
78 ], 87 ],
79 'sources': [ 88 'sources': [
80 'test_serial_io_handler.cc', 89 'test_serial_io_handler.cc',
81 'test_serial_io_handler.h', 90 'test_serial_io_handler.h',
82 ], 91 ],
83 }, 92 },
84 ], 93 ],
85 } 94 }
OLDNEW
« no previous file with comments | « device/serial/data_stream.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698