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("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
7 | 7 |
8 # GYP version: device/serial/serial.gyp:device_serial | 8 # GYP version: device/serial/serial.gyp:device_serial |
9 static_library("serial") { | 9 static_library("serial") { |
10 output_name = "device_serial" | 10 output_name = "device_serial" |
11 | 11 |
12 sources = [ | 12 sources = [ |
13 "buffer.cc", | 13 "buffer.cc", |
14 "buffer.h", | 14 "buffer.h", |
15 "data_receiver.cc", | 15 "data_receiver.cc", |
16 "data_receiver.h", | 16 "data_receiver.h", |
(...skipping 23 matching lines...) Expand all Loading... |
40 "serial_io_handler_win.h", | 40 "serial_io_handler_win.h", |
41 "serial_service_impl.cc", | 41 "serial_service_impl.cc", |
42 "serial_service_impl.h", | 42 "serial_service_impl.h", |
43 ] | 43 ] |
44 | 44 |
45 public_deps = [ | 45 public_deps = [ |
46 ":serial_mojo", | 46 ":serial_mojo", |
47 "//base", | 47 "//base", |
48 ] | 48 ] |
49 deps = [ | 49 deps = [ |
50 "//third_party/mojo/src/mojo/public/cpp/system", | 50 "//mojo/public/cpp/system", |
51 "//third_party/re2", | 51 "//third_party/re2", |
52 ] | 52 ] |
53 | 53 |
54 if (use_udev) { | 54 if (use_udev) { |
55 deps += [ "//device/udev_linux" ] | 55 deps += [ "//device/udev_linux" ] |
56 } | 56 } |
57 if (is_chromeos) { | 57 if (is_chromeos) { |
58 deps += [ "//chromeos" ] | 58 deps += [ "//chromeos" ] |
59 } | 59 } |
60 } | 60 } |
(...skipping 17 matching lines...) Expand all Loading... |
78 "//extensions:extensions_renderer_resources_grit", | 78 "//extensions:extensions_renderer_resources_grit", |
79 ] | 79 ] |
80 | 80 |
81 sources = [ | 81 sources = [ |
82 "data_stream.mojom", | 82 "data_stream.mojom", |
83 "data_stream_serialization.mojom", | 83 "data_stream_serialization.mojom", |
84 "serial.mojom", | 84 "serial.mojom", |
85 "serial_serialization.mojom", | 85 "serial_serialization.mojom", |
86 ] | 86 ] |
87 } | 87 } |
OLD | NEW |