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("//third_party/mojo/src/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" |
(...skipping 30 matching lines...) Expand all Loading... |
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 "//third_party/mojo/src/mojo/public/cpp/system", |
| 51 "//third_party/re2", |
51 ] | 52 ] |
52 | 53 |
53 if (use_udev) { | 54 if (use_udev) { |
54 deps += [ "//device/udev_linux" ] | 55 deps += [ "//device/udev_linux" ] |
55 } | 56 } |
56 if (is_chromeos) { | 57 if (is_chromeos) { |
57 deps += [ "//chromeos" ] | 58 deps += [ "//chromeos" ] |
58 } | 59 } |
59 } | 60 } |
60 | 61 |
(...skipping 16 matching lines...) Expand all Loading... |
77 "//extensions:extensions_renderer_resources_grit", | 78 "//extensions:extensions_renderer_resources_grit", |
78 ] | 79 ] |
79 | 80 |
80 sources = [ | 81 sources = [ |
81 "data_stream.mojom", | 82 "data_stream.mojom", |
82 "data_stream_serialization.mojom", | 83 "data_stream_serialization.mojom", |
83 "serial.mojom", | 84 "serial.mojom", |
84 "serial_serialization.mojom", | 85 "serial_serialization.mojom", |
85 ] | 86 ] |
86 } | 87 } |
OLD | NEW |