OLD | NEW |
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 '../../third_party/mojo/mojom_bindings_generator.gypi', | 18 '../../mojo/mojom_bindings_generator.gypi', |
19 ], | 19 ], |
20 'sources': [ | 20 'sources': [ |
21 'data_stream.mojom', | 21 'data_stream.mojom', |
22 'data_stream_serialization.mojom', | 22 'data_stream_serialization.mojom', |
23 'serial.mojom', | 23 'serial.mojom', |
24 'serial_serialization.mojom', | 24 'serial_serialization.mojom', |
25 ], | 25 ], |
26 }, | 26 }, |
27 { | 27 { |
28 # GN version: //device/serial | 28 # GN version: //device/serial |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 'AdditionalDependencies': [ | 67 'AdditionalDependencies': [ |
68 'setupapi.lib', | 68 'setupapi.lib', |
69 ], | 69 ], |
70 }, | 70 }, |
71 }, | 71 }, |
72 }, | 72 }, |
73 }], | 73 }], |
74 ], | 74 ], |
75 'dependencies': [ | 75 'dependencies': [ |
76 'device_serial_mojo', | 76 'device_serial_mojo', |
| 77 '../../mojo/mojo_public.gyp:mojo_cpp_bindings', |
77 '../../net/net.gyp:net', | 78 '../../net/net.gyp:net', |
78 '../../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', | |
79 '../../third_party/re2/re2.gyp:re2', | 79 '../../third_party/re2/re2.gyp:re2', |
80 '../core/core.gyp:device_core', | 80 '../core/core.gyp:device_core', |
81 ], | 81 ], |
82 'export_dependent_settings': [ | 82 'export_dependent_settings': [ |
83 'device_serial_mojo', | 83 'device_serial_mojo', |
84 '../../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings', | 84 '../../mojo/mojo_public.gyp:mojo_cpp_bindings', |
85 ], | 85 ], |
86 'sources': [ | 86 'sources': [ |
87 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.cc', | 87 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.cc', |
88 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.h', | 88 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.h', |
89 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream_serialization.mojo
m.cc', | 89 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream_serialization.mojo
m.cc', |
90 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream_serialization.mojo
m.h', | 90 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream_serialization.mojo
m.h', |
91 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.cc', | 91 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.cc', |
92 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.h', | 92 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.h', |
93 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial_serialization.mojom.cc'
, | 93 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial_serialization.mojom.cc'
, |
94 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial_serialization.mojom.h', | 94 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial_serialization.mojom.h', |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 'device_serial', | 132 'device_serial', |
133 'device_serial_mojo', | 133 'device_serial_mojo', |
134 ], | 134 ], |
135 'sources': [ | 135 'sources': [ |
136 'test_serial_io_handler.cc', | 136 'test_serial_io_handler.cc', |
137 'test_serial_io_handler.h', | 137 'test_serial_io_handler.h', |
138 ], | 138 ], |
139 }, | 139 }, |
140 ], | 140 ], |
141 } | 141 } |
OLD | NEW |