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("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
7 | 7 |
| 8 # Library works only on desktop platforms. |
| 9 assert(is_win || is_linux || is_mac) |
| 10 |
8 # GYP version: device/serial/serial.gyp:device_serial | 11 # GYP version: device/serial/serial.gyp:device_serial |
9 static_library("serial") { | 12 static_library("serial") { |
10 output_name = "device_serial" | 13 output_name = "device_serial" |
11 | 14 |
12 sources = [ | 15 sources = [ |
13 "buffer.cc", | 16 "buffer.cc", |
14 "buffer.h", | 17 "buffer.h", |
15 "data_receiver.cc", | 18 "data_receiver.cc", |
16 "data_receiver.h", | 19 "data_receiver.h", |
17 "data_sender.cc", | 20 "data_sender.cc", |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 "//extensions:extensions_renderer_resources_grit", | 86 "//extensions:extensions_renderer_resources_grit", |
84 ] | 87 ] |
85 | 88 |
86 sources = [ | 89 sources = [ |
87 "data_stream.mojom", | 90 "data_stream.mojom", |
88 "data_stream_serialization.mojom", | 91 "data_stream_serialization.mojom", |
89 "serial.mojom", | 92 "serial.mojom", |
90 "serial_serialization.mojom", | 93 "serial_serialization.mojom", |
91 ] | 94 ] |
92 } | 95 } |
OLD | NEW |