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 '../../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 'variables': { |
| 27 'use_new_wrapper_types': 'false', |
| 28 }, |
26 }, | 29 }, |
27 { | 30 { |
28 # GN version: //device/serial | 31 # GN version: //device/serial |
29 'target_name': 'device_serial', | 32 'target_name': 'device_serial', |
30 'type': 'static_library', | 33 'type': 'static_library', |
31 'conditions': [ | 34 'conditions': [ |
32 ['chromeos==1', { | 35 ['chromeos==1', { |
33 'dependencies': [ | 36 'dependencies': [ |
34 '../../chromeos/chromeos.gyp:chromeos', | 37 '../../chromeos/chromeos.gyp:chromeos', |
35 '../../dbus/dbus.gyp:dbus', | 38 '../../dbus/dbus.gyp:dbus', |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 'device_serial', | 135 'device_serial', |
133 'device_serial_mojo', | 136 'device_serial_mojo', |
134 ], | 137 ], |
135 'sources': [ | 138 'sources': [ |
136 'test_serial_io_handler.cc', | 139 'test_serial_io_handler.cc', |
137 'test_serial_io_handler.h', | 140 'test_serial_io_handler.h', |
138 ], | 141 ], |
139 }, | 142 }, |
140 ], | 143 ], |
141 } | 144 } |
OLD | NEW |