OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//mojo/public/tools/bindings/mojom.gni") |
| 6 |
| 7 # GYP version: device/serial/serial.gyp:device_serial |
| 8 static_library("serial") { |
| 9 output_name = "device_serial" |
| 10 |
| 11 sources = [ |
| 12 "serial_device_enumerator.cc", |
| 13 "serial_device_enumerator.h", |
| 14 "serial_device_enumerator_linux.cc", |
| 15 "serial_device_enumerator_linux.h", |
| 16 "serial_device_enumerator_mac.cc", |
| 17 "serial_device_enumerator_mac.h", |
| 18 "serial_device_enumerator_win.cc", |
| 19 "serial_device_enumerator_win.h", |
| 20 ] |
| 21 |
| 22 if (is_linux) { |
| 23 configs += [ "//build/config/linux:udev" ] |
| 24 } |
| 25 |
| 26 deps = [ |
| 27 ":serial_mojo", |
| 28 ] |
| 29 } |
| 30 |
| 31 mojom("serial_mojo") { |
| 32 visibility = ":serial" |
| 33 |
| 34 sources = [ |
| 35 "serial.mojom", |
| 36 ] |
| 37 } |
OLD | NEW |