| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 if (use_udev) { | 70 if (use_udev) { |
| 71 deps += [ "//device/udev_linux" ] | 71 deps += [ "//device/udev_linux" ] |
| 72 } | 72 } |
| 73 if (is_chromeos) { | 73 if (is_chromeos) { |
| 74 deps += [ | 74 deps += [ |
| 75 "//chromeos", | 75 "//chromeos", |
| 76 "//dbus", | 76 "//dbus", |
| 77 ] | 77 ] |
| 78 } | 78 } |
| 79 if (is_mac) { | 79 if (is_mac) { |
| 80 libs = [ "IOKit.framework" ] | 80 libs = [ |
| 81 "Foundation.framework", |
| 82 "IOKit.framework", |
| 83 ] |
| 81 } | 84 } |
| 82 } | 85 } |
| 83 | 86 |
| 84 # GYP version: device/serial/serial.gyp:device_serial_test_util | 87 # GYP version: device/serial/serial.gyp:device_serial_test_util |
| 85 static_library("test_support") { | 88 static_library("test_support") { |
| 86 sources = [ | 89 sources = [ |
| 87 "test_serial_io_handler.cc", | 90 "test_serial_io_handler.cc", |
| 88 "test_serial_io_handler.h", | 91 "test_serial_io_handler.h", |
| 89 ] | 92 ] |
| 90 | 93 |
| 91 deps = [ | 94 deps = [ |
| 92 ":serial", | 95 ":serial", |
| 93 ] | 96 ] |
| 94 } | 97 } |
| 95 | 98 |
| 96 # GYP version: device/serial/serial.gyp:device_serial_mojo | 99 # GYP version: device/serial/serial.gyp:device_serial_mojo |
| 97 mojom("serial_mojo") { | 100 mojom("serial_mojo") { |
| 98 visibility = [ | 101 visibility = [ |
| 99 ":serial", | 102 ":serial", |
| 100 "//extensions:extensions_renderer_resources_grit", | 103 "//extensions:extensions_renderer_resources_grit", |
| 101 ] | 104 ] |
| 102 | 105 |
| 103 sources = [ | 106 sources = [ |
| 104 "data_stream.mojom", | 107 "data_stream.mojom", |
| 105 "data_stream_serialization.mojom", | 108 "data_stream_serialization.mojom", |
| 106 "serial.mojom", | 109 "serial.mojom", |
| 107 "serial_serialization.mojom", | 110 "serial_serialization.mojom", |
| 108 ] | 111 ] |
| 109 } | 112 } |
| OLD | NEW |