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. | 8 # Library works only on desktop platforms. |
9 assert(is_win || is_linux || is_mac) | 9 assert(is_win || is_linux || is_mac) |
10 | 10 |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 } | 84 } |
85 } | 85 } |
86 | 86 |
87 # GYP version: device/serial/serial.gyp:device_serial_test_util | 87 # GYP version: device/serial/serial.gyp:device_serial_test_util |
88 static_library("test_support") { | 88 static_library("test_support") { |
89 sources = [ | 89 sources = [ |
90 "test_serial_io_handler.cc", | 90 "test_serial_io_handler.cc", |
91 "test_serial_io_handler.h", | 91 "test_serial_io_handler.h", |
92 ] | 92 ] |
93 | 93 |
94 deps = [ | 94 public_deps = [ |
95 ":serial", | 95 ":serial", |
96 ] | 96 ] |
97 } | 97 } |
98 | 98 |
99 # GYP version: device/serial/serial.gyp:device_serial_mojo | 99 # GYP version: device/serial/serial.gyp:device_serial_mojo |
100 mojom("serial_mojo") { | 100 mojom("serial_mojo") { |
101 visibility = [ | 101 visibility = [ |
102 ":serial", | 102 ":serial", |
103 "//extensions:extensions_renderer_resources_grit", | 103 "//extensions:extensions_renderer_resources_grit", |
104 ] | 104 ] |
105 | 105 |
106 sources = [ | 106 sources = [ |
107 "data_stream.mojom", | 107 "data_stream.mojom", |
108 "data_stream_serialization.mojom", | 108 "data_stream_serialization.mojom", |
109 "serial.mojom", | 109 "serial.mojom", |
110 "serial_serialization.mojom", | 110 "serial_serialization.mojom", |
111 ] | 111 ] |
112 | 112 |
113 use_new_wrapper_types = false | 113 use_new_wrapper_types = false |
114 } | 114 } |
OLD | NEW |