Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Side by Side Diff: device/serial/BUILD.gn

Issue 1484643002: Make //device pass "gn check" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « device/devices_app/BUILD.gn ('k') | device/serial/serial_io_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 # GYP version: device/serial/serial.gyp:device_serial 8 # GYP version: device/serial/serial.gyp:device_serial
9 static_library("serial") { 9 static_library("serial") {
10 output_name = "device_serial" 10 output_name = "device_serial"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 "serial_service_impl.h", 42 "serial_service_impl.h",
43 ] 43 ]
44 44
45 public_deps = [ 45 public_deps = [
46 ":serial_mojo", 46 ":serial_mojo",
47 "//base", 47 "//base",
48 "//device/core", 48 "//device/core",
49 ] 49 ]
50 deps = [ 50 deps = [
51 "//mojo/public/cpp/system", 51 "//mojo/public/cpp/system",
52 "//net",
52 "//third_party/re2", 53 "//third_party/re2",
53 ] 54 ]
54 55
55 if (use_udev) { 56 if (use_udev) {
56 deps += [ "//device/udev_linux" ] 57 deps += [ "//device/udev_linux" ]
57 } 58 }
58 if (is_chromeos) { 59 if (is_chromeos) {
59 deps += [ "//chromeos" ] 60 deps += [
61 "//chromeos",
62 "//dbus",
63 ]
60 } 64 }
61 } 65 }
62 66
63 # GYP version: device/serial/serial.gyp:device_serial_test_util 67 # GYP version: device/serial/serial.gyp:device_serial_test_util
64 static_library("test_support") { 68 static_library("test_support") {
65 sources = [ 69 sources = [
66 "test_serial_io_handler.cc", 70 "test_serial_io_handler.cc",
67 "test_serial_io_handler.h", 71 "test_serial_io_handler.h",
68 ] 72 ]
69 73
70 deps = [ 74 deps = [
71 ":serial", 75 ":serial",
72 ] 76 ]
73 } 77 }
74 78
75 # GYP version: device/serial/serial.gyp:device_serial_mojo 79 # GYP version: device/serial/serial.gyp:device_serial_mojo
76 mojom("serial_mojo") { 80 mojom("serial_mojo") {
77 visibility = [ 81 visibility = [
78 ":serial", 82 ":serial",
79 "//extensions:extensions_renderer_resources_grit", 83 "//extensions:extensions_renderer_resources_grit",
80 ] 84 ]
81 85
82 sources = [ 86 sources = [
83 "data_stream.mojom", 87 "data_stream.mojom",
84 "data_stream_serialization.mojom", 88 "data_stream_serialization.mojom",
85 "serial.mojom", 89 "serial.mojom",
86 "serial_serialization.mojom", 90 "serial_serialization.mojom",
87 ] 91 ]
88 } 92 }
OLDNEW
« no previous file with comments | « device/devices_app/BUILD.gn ('k') | device/serial/serial_io_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698