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

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

Issue 571333002: Add serialization support to the JS DataSender and DataReceiver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@stash-service
Patch Set: clean up jsdoc Created 6 years, 2 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
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 'data_stream.mojom',
22 'data_stream_serialization.mojom',
21 'serial.mojom', 23 'serial.mojom',
22 'data_stream.mojom',
23 ], 24 ],
24 }, 25 },
25 { 26 {
26 # GN version: //device/serial 27 # GN version: //device/serial
27 'target_name': 'device_serial', 28 'target_name': 'device_serial',
28 'type': 'static_library', 29 'type': 'static_library',
29 'conditions': [ 30 'conditions': [
30 ['use_udev == 1', { 31 ['use_udev == 1', {
31 'dependencies': [ 32 'dependencies': [
32 '../../build/linux/system.gyp:udev', 33 '../../build/linux/system.gyp:udev',
(...skipping 10 matching lines...) Expand all
43 '../../mojo/mojo_base.gyp:mojo_cpp_bindings', 44 '../../mojo/mojo_base.gyp:mojo_cpp_bindings',
44 '../../net/net.gyp:net', 45 '../../net/net.gyp:net',
45 ], 46 ],
46 'export_dependent_settings': [ 47 'export_dependent_settings': [
47 'device_serial_mojo', 48 'device_serial_mojo',
48 '../../mojo/mojo_base.gyp:mojo_cpp_bindings', 49 '../../mojo/mojo_base.gyp:mojo_cpp_bindings',
49 ], 50 ],
50 'sources': [ 51 'sources': [
51 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.cc', 52 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.cc',
52 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.h', 53 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.h',
54 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream_serialization.mojo m.cc',
55 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream_serialization.mojo m.h',
53 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.cc', 56 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.cc',
54 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.h', 57 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.h',
55 'async_waiter.cc', 58 'async_waiter.cc',
56 'async_waiter.h', 59 'async_waiter.h',
57 'buffer.cc', 60 'buffer.cc',
58 'buffer.h', 61 'buffer.h',
59 'data_receiver.cc', 62 'data_receiver.cc',
60 'data_receiver.h', 63 'data_receiver.h',
61 'data_sender.cc', 64 'data_sender.cc',
62 'data_sender.h', 65 'data_sender.h',
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 'device_serial', 97 'device_serial',
95 'device_serial_mojo', 98 'device_serial_mojo',
96 ], 99 ],
97 'sources': [ 100 'sources': [
98 'test_serial_io_handler.cc', 101 'test_serial_io_handler.cc',
99 'test_serial_io_handler.h', 102 'test_serial_io_handler.h',
100 ], 103 ],
101 }, 104 },
102 ], 105 ],
103 } 106 }
OLDNEW
« no previous file with comments | « device/serial/data_stream_serialization.mojom ('k') | extensions/renderer/api/serial/data_receiver_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698