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 25 matching lines...) Expand all Loading... |
36 "serial_io_handler_posix.h", | 36 "serial_io_handler_posix.h", |
37 "serial_io_handler_win.cc", | 37 "serial_io_handler_win.cc", |
38 "serial_io_handler_win.h", | 38 "serial_io_handler_win.h", |
39 ] | 39 ] |
40 | 40 |
41 public_configs = [ ":platform_support" ] | 41 public_configs = [ ":platform_support" ] |
42 | 42 |
43 public_deps = [ | 43 public_deps = [ |
44 ":serial_mojo", | 44 ":serial_mojo", |
45 "//base", | 45 "//base", |
46 "//device/core", | 46 "//device/base", |
47 ] | 47 ] |
48 | 48 |
49 deps = [ | 49 deps = [ |
50 "//mojo/public/cpp/system", | 50 "//mojo/public/cpp/system", |
51 "//net", | 51 "//net", |
52 "//third_party/re2", | 52 "//third_party/re2", |
53 ] | 53 ] |
54 | 54 |
55 if (use_udev) { | 55 if (use_udev) { |
56 deps += [ "//device/udev_linux" ] | 56 deps += [ "//device/udev_linux" ] |
(...skipping 28 matching lines...) Expand all Loading... |
85 ":serial", | 85 ":serial", |
86 "//extensions:extensions_renderer_resources_grit", | 86 "//extensions:extensions_renderer_resources_grit", |
87 ] | 87 ] |
88 | 88 |
89 sources = [ | 89 sources = [ |
90 "serial.mojom", | 90 "serial.mojom", |
91 ] | 91 ] |
92 | 92 |
93 use_new_wrapper_types = false | 93 use_new_wrapper_types = false |
94 } | 94 } |
OLD | NEW |