| 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("//mojo/public/tools/bindings/mojom.gni") | 5 import("//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 ] | 46 ] |
| 47 deps = [] | 47 deps = [] |
| 48 | 48 |
| 49 if (is_linux) { | 49 if (is_linux) { |
| 50 deps += [ "//device/udev_linux" ] | 50 deps += [ "//device/udev_linux" ] |
| 51 } | 51 } |
| 52 } | 52 } |
| 53 | 53 |
| 54 # GYP version: device/serial/serial.gyp:device_serial_test_util | 54 # GYP version: device/serial/serial.gyp:device_serial_test_util |
| 55 static_library("test_util") { | 55 static_library("test_support") { |
| 56 output_name = "device_serial_test_util" | |
| 57 | |
| 58 sources = [ | 56 sources = [ |
| 59 "test_serial_io_handler.cc", | 57 "test_serial_io_handler.cc", |
| 60 "test_serial_io_handler.h", | 58 "test_serial_io_handler.h", |
| 61 ] | 59 ] |
| 62 | 60 |
| 63 deps = [ | 61 deps = [ |
| 64 ":serial", | 62 ":serial", |
| 65 ] | 63 ] |
| 66 } | 64 } |
| 67 | 65 |
| 68 # GYP version: device/serial/serial.gyp:device_serial_mojo | 66 # GYP version: device/serial/serial.gyp:device_serial_mojo |
| 69 mojom("serial_mojo") { | 67 mojom("serial_mojo") { |
| 70 visibility = [ | 68 visibility = [ |
| 71 ":serial", | 69 ":serial", |
| 72 "//extensions:extensions_renderer_resources_grit", | 70 "//extensions:extensions_renderer_resources_grit", |
| 73 ] | 71 ] |
| 74 | 72 |
| 75 sources = [ | 73 sources = [ |
| 76 "data_stream.mojom", | 74 "data_stream.mojom", |
| 77 "data_stream_serialization.mojom", | 75 "data_stream_serialization.mojom", |
| 78 "serial.mojom", | 76 "serial.mojom", |
| 79 "serial_serialization.mojom", | 77 "serial_serialization.mojom", |
| 80 ] | 78 ] |
| 81 } | 79 } |
| OLD | NEW |