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("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 5 import("//third_party/mojo/src/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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 ":serial_mojo", | 45 ":serial_mojo", |
46 "//base", | 46 "//base", |
47 ] | 47 ] |
48 deps = [ | 48 deps = [ |
49 "//third_party/mojo/src/mojo/public/cpp/system", | 49 "//third_party/mojo/src/mojo/public/cpp/system", |
50 ] | 50 ] |
51 | 51 |
52 if (is_linux) { | 52 if (is_linux) { |
53 deps += [ "//device/udev_linux" ] | 53 deps += [ "//device/udev_linux" ] |
54 } | 54 } |
55 if (is_chromeos) { | 55 if (is_chromeos_ui) { |
56 deps += [ "//chromeos" ] | 56 deps += [ "//chromeos" ] |
57 } | 57 } |
58 } | 58 } |
59 | 59 |
60 # GYP version: device/serial/serial.gyp:device_serial_test_util | 60 # GYP version: device/serial/serial.gyp:device_serial_test_util |
61 static_library("test_support") { | 61 static_library("test_support") { |
62 sources = [ | 62 sources = [ |
63 "test_serial_io_handler.cc", | 63 "test_serial_io_handler.cc", |
64 "test_serial_io_handler.h", | 64 "test_serial_io_handler.h", |
65 ] | 65 ] |
(...skipping 10 matching lines...) Expand all Loading... |
76 "//extensions:extensions_renderer_resources_grit", | 76 "//extensions:extensions_renderer_resources_grit", |
77 ] | 77 ] |
78 | 78 |
79 sources = [ | 79 sources = [ |
80 "data_stream.mojom", | 80 "data_stream.mojom", |
81 "data_stream_serialization.mojom", | 81 "data_stream_serialization.mojom", |
82 "serial.mojom", | 82 "serial.mojom", |
83 "serial_serialization.mojom", | 83 "serial_serialization.mojom", |
84 ] | 84 ] |
85 } | 85 } |
OLD | NEW |