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

Side by Side Diff: device/serial/BUILD.gn

Issue 401563002: Add a partial Mojo serial connection interface and implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 6 years, 5 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/device_tests.gyp ('k') | device/serial/serial.gyp » ('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 import("//mojo/public/tools/bindings/mojom.gni") 5 import("//mojo/public/tools/bindings/mojom.gni")
6 6
7 # GYP version: device/serial/serial.gyp:device_serial 7 # GYP version: device/serial/serial.gyp:device_serial
8 static_library("serial") { 8 static_library("serial") {
9 output_name = "device_serial" 9 output_name = "device_serial"
10 10
11 sources = [ 11 sources = [
12 "serial_connection.cc",
13 "serial_connection.h",
14 "serial_connection_factory.cc",
15 "serial_connection_factory.h",
12 "serial_device_enumerator.cc", 16 "serial_device_enumerator.cc",
13 "serial_device_enumerator.h", 17 "serial_device_enumerator.h",
14 "serial_device_enumerator_linux.cc", 18 "serial_device_enumerator_linux.cc",
15 "serial_device_enumerator_linux.h", 19 "serial_device_enumerator_linux.h",
16 "serial_device_enumerator_mac.cc", 20 "serial_device_enumerator_mac.cc",
17 "serial_device_enumerator_mac.h", 21 "serial_device_enumerator_mac.h",
18 "serial_device_enumerator_win.cc", 22 "serial_device_enumerator_win.cc",
19 "serial_device_enumerator_win.h", 23 "serial_device_enumerator_win.h",
24 "serial_io_handler.cc",
25 "serial_io_handler.h",
26 "serial_io_handler_posix.cc",
27 "serial_io_handler_posix.h",
28 "serial_io_handler_win.cc",
29 "serial_io_handler_win.h",
30 "serial_service_impl.cc",
31 "serial_service_impl.h",
20 ] 32 ]
21 33
22 if (is_linux) { 34 if (is_linux) {
23 configs += [ "//build/config/linux:udev" ] 35 configs += [ "//build/config/linux:udev" ]
24 } 36 }
25 37
26 deps = [ 38 deps = [
27 ":serial_mojo", 39 ":serial_mojo",
28 ] 40 ]
29 } 41 }
30 42
43 # GYP version: device/serial/serial.gyp:device_serial_test_util
44 static_library("test_util") {
45 output_name = "device_serial_test_util"
46
47 sources = [
48 "test_serial_io_handler.cc",
49 "test_serial_io_handler.h",
50 ]
51
52 deps = [
53 ":serial",
54 ]
55 }
56
31 mojom("serial_mojo") { 57 mojom("serial_mojo") {
32 visibility = ":serial" 58 visibility = ":serial"
33 59
34 sources = [ 60 sources = [
35 "serial.mojom", 61 "serial.mojom",
36 ] 62 ]
37 } 63 }
OLDNEW
« no previous file with comments | « device/device_tests.gyp ('k') | device/serial/serial.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698