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

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

Issue 2332843004: Remove GYP files. (Closed)
Patch Set: Merge Created 4 years, 3 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/sensors/sensors.gyp ('k') | device/udev_linux/udev.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
4
5 {
6 'variables': {
7 'chromium_code': 1,
8 },
9 'targets': [
10 {
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
16 'type': 'none',
17 'includes': [
18 '../../mojo/mojom_bindings_generator.gypi',
19 ],
20 'sources': [
21 'data_stream.mojom',
22 'data_stream_serialization.mojom',
23 'serial.mojom',
24 'serial_serialization.mojom',
25 ],
26 'variables': {
27 'use_new_wrapper_types': 'false',
28 },
29 },
30 {
31 # GN version: //device/serial
32 'target_name': 'device_serial',
33 'type': 'static_library',
34 'conditions': [
35 ['chromeos==1', {
36 'dependencies': [
37 '../../chromeos/chromeos.gyp:chromeos',
38 '../../dbus/dbus.gyp:dbus',
39 ],
40 }],
41 ['use_udev == 1', {
42 'dependencies': [
43 '../udev_linux/udev.gyp:udev_linux',
44 ],
45 }, {
46 'sources!': [
47 'serial_device_enumerator_linux.cc',
48 'serial_device_enumerator_linux.h',
49 ],
50 }],
51 ['OS=="win"', {
52 'link_settings': {
53 'msvs_settings': {
54 'VCLinkerTool': {
55 'DelayLoadDLLs': [
56 'setupapi.dll',
57 ],
58 'AdditionalDependencies': [
59 'setupapi.lib',
60 ],
61 },
62 },
63 },
64 'all_dependent_settings': {
65 'msvs_settings': {
66 'VCLinkerTool': {
67 'DelayLoadDLLs': [
68 'setupapi.dll',
69 ],
70 'AdditionalDependencies': [
71 'setupapi.lib',
72 ],
73 },
74 },
75 },
76 }],
77 ],
78 'dependencies': [
79 'device_serial_mojo',
80 '../../mojo/mojo_public.gyp:mojo_cpp_bindings',
81 '../../net/net.gyp:net',
82 '../../third_party/re2/re2.gyp:re2',
83 '../core/core.gyp:device_core',
84 ],
85 'export_dependent_settings': [
86 'device_serial_mojo',
87 '../../mojo/mojo_public.gyp:mojo_cpp_bindings',
88 ],
89 'sources': [
90 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.cc',
91 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream.mojom.h',
92 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream_serialization.mojo m.cc',
93 '<(SHARED_INTERMEDIATE_DIR)/device/serial/data_stream_serialization.mojo m.h',
94 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.cc',
95 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial.mojom.h',
96 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial_serialization.mojom.cc' ,
97 '<(SHARED_INTERMEDIATE_DIR)/device/serial/serial_serialization.mojom.h',
98 'buffer.cc',
99 'buffer.h',
100 'data_receiver.cc',
101 'data_receiver.h',
102 'data_sender.cc',
103 'data_sender.h',
104 'data_sink_receiver.cc',
105 'data_sink_receiver.h',
106 'data_source_sender.cc',
107 'data_source_sender.h',
108 'serial_connection.cc',
109 'serial_connection.h',
110 'serial_connection_factory.cc',
111 'serial_connection_factory.h',
112 'serial_device_enumerator.cc',
113 'serial_device_enumerator.h',
114 'serial_device_enumerator_linux.cc',
115 'serial_device_enumerator_linux.h',
116 'serial_device_enumerator_mac.cc',
117 'serial_device_enumerator_mac.h',
118 'serial_device_enumerator_win.cc',
119 'serial_device_enumerator_win.h',
120 'serial_io_handler.cc',
121 'serial_io_handler.h',
122 'serial_io_handler_posix.cc',
123 'serial_io_handler_posix.h',
124 'serial_io_handler_win.cc',
125 'serial_io_handler_win.h',
126 'serial_service_impl.cc',
127 'serial_service_impl.h',
128 ],
129 },
130 {
131 # GN version: //device/serial:test_support
132 'target_name': 'device_serial_test_util',
133 'type': 'static_library',
134 'dependencies': [
135 'device_serial',
136 'device_serial_mojo',
137 ],
138 'sources': [
139 'test_serial_io_handler.cc',
140 'test_serial_io_handler.h',
141 ],
142 },
143 ],
144 }
OLDNEW
« no previous file with comments | « device/sensors/sensors.gyp ('k') | device/udev_linux/udev.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698