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 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 |
(...skipping 23 matching lines...) Expand all Loading... |
34 "serial_io_handler.cc", | 34 "serial_io_handler.cc", |
35 "serial_io_handler.h", | 35 "serial_io_handler.h", |
36 "serial_io_handler_posix.cc", | 36 "serial_io_handler_posix.cc", |
37 "serial_io_handler_posix.h", | 37 "serial_io_handler_posix.h", |
38 "serial_io_handler_win.cc", | 38 "serial_io_handler_win.cc", |
39 "serial_io_handler_win.h", | 39 "serial_io_handler_win.h", |
40 "serial_service_impl.cc", | 40 "serial_service_impl.cc", |
41 "serial_service_impl.h", | 41 "serial_service_impl.h", |
42 ] | 42 ] |
43 | 43 |
44 if (is_linux) { | |
45 configs += [ "//build/config/linux:udev" ] | |
46 } | |
47 | |
48 public_deps = [ | 44 public_deps = [ |
49 ":serial_mojo", | 45 ":serial_mojo", |
50 ] | 46 ] |
| 47 deps = [] |
| 48 |
| 49 if (is_linux) { |
| 50 deps += [ "//device/udev_linux" ] |
| 51 } |
51 } | 52 } |
52 | 53 |
53 # GYP version: device/serial/serial.gyp:device_serial_test_util | 54 # GYP version: device/serial/serial.gyp:device_serial_test_util |
54 static_library("test_util") { | 55 static_library("test_util") { |
55 output_name = "device_serial_test_util" | 56 output_name = "device_serial_test_util" |
56 | 57 |
57 sources = [ | 58 sources = [ |
58 "test_serial_io_handler.cc", | 59 "test_serial_io_handler.cc", |
59 "test_serial_io_handler.h", | 60 "test_serial_io_handler.h", |
60 ] | 61 ] |
(...skipping 10 matching lines...) Expand all Loading... |
71 "//extensions:extensions_renderer_resources_grit", | 72 "//extensions:extensions_renderer_resources_grit", |
72 ] | 73 ] |
73 | 74 |
74 sources = [ | 75 sources = [ |
75 "data_stream.mojom", | 76 "data_stream.mojom", |
76 "data_stream_serialization.mojom", | 77 "data_stream_serialization.mojom", |
77 "serial.mojom", | 78 "serial.mojom", |
78 "serial_serialization.mojom", | 79 "serial_serialization.mojom", |
79 ] | 80 ] |
80 } | 81 } |
OLD | NEW |