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

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

Issue 311313002: Convert SerialDeviceInfo to a Mojo struct. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « device/DEPS ('k') | device/serial/serial.mojom » ('j') | 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 'target_name': 'device_serial', 11 'target_name': 'device_serial',
12 'type': 'static_library', 12 'type': 'static_library',
13 'include_dirs': [ 13 'include_dirs': [
14 '../..', 14 '../..',
15 ], 15 ],
16 'conditions': [ 16 'conditions': [
17 ['OS=="linux"', { 17 ['OS=="linux"', {
18 'dependencies': [ 18 'dependencies': [
19 '../../build/linux/system.gyp:udev', 19 '../../build/linux/system.gyp:udev',
20 ], 20 ],
21 }], 21 }],
22 ], 22 ],
23 'variables': {
24 'mojom_base_output_dir': 'device/serial',
25 },
26 'includes': [
27 '../../mojo/public/tools/bindings/mojom_bindings_generator.gypi',
28 ],
23 'sources': [ 29 'sources': [
30 'serial.mojom',
24 'serial_device_enumerator.cc', 31 'serial_device_enumerator.cc',
25 'serial_device_enumerator.h', 32 'serial_device_enumerator.h',
26 'serial_device_enumerator_linux.cc', 33 'serial_device_enumerator_linux.cc',
27 'serial_device_enumerator_linux.h', 34 'serial_device_enumerator_linux.h',
28 'serial_device_enumerator_mac.cc', 35 'serial_device_enumerator_mac.cc',
29 'serial_device_enumerator_mac.h', 36 'serial_device_enumerator_mac.h',
30 'serial_device_enumerator_win.cc', 37 'serial_device_enumerator_win.cc',
31 'serial_device_enumerator_win.h', 38 'serial_device_enumerator_win.h',
32 'serial_device_info.cc',
33 'serial_device_info.h',
34 ], 39 ],
35 }, 40 },
36 ], 41 ],
37 } 42 }
OLDNEW
« no previous file with comments | « device/DEPS ('k') | device/serial/serial.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698