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

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

Issue 941893002: Revert of Add more targets to "gn check" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months 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/media_transfer_protocol/BUILD.gn ('k') | device/usb/BUILD.gn » ('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("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") 5 import("//third_party/mojo/src/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 25 matching lines...) Expand all
36 "serial_io_handler_posix.cc", 36 "serial_io_handler_posix.cc",
37 "serial_io_handler_posix.h", 37 "serial_io_handler_posix.h",
38 "serial_io_handler_win.cc", 38 "serial_io_handler_win.cc",
39 "serial_io_handler_win.h", 39 "serial_io_handler_win.h",
40 "serial_service_impl.cc", 40 "serial_service_impl.cc",
41 "serial_service_impl.h", 41 "serial_service_impl.h",
42 ] 42 ]
43 43
44 public_deps = [ 44 public_deps = [
45 ":serial_mojo", 45 ":serial_mojo",
46 "//base",
47 ] 46 ]
48 deps = [ 47 deps = []
49 "//third_party/mojo/src/mojo/public/cpp/system",
50 ]
51 48
52 if (is_linux) { 49 if (is_linux) {
53 deps += [ "//device/udev_linux" ] 50 deps += [ "//device/udev_linux" ]
54 } 51 }
55 if (is_chromeos) {
56 deps += [ "//chromeos" ]
57 }
58 } 52 }
59 53
60 # GYP version: device/serial/serial.gyp:device_serial_test_util 54 # GYP version: device/serial/serial.gyp:device_serial_test_util
61 static_library("test_support") { 55 static_library("test_support") {
62 sources = [ 56 sources = [
63 "test_serial_io_handler.cc", 57 "test_serial_io_handler.cc",
64 "test_serial_io_handler.h", 58 "test_serial_io_handler.h",
65 ] 59 ]
66 60
67 deps = [ 61 deps = [
68 ":serial", 62 ":serial",
69 ] 63 ]
70 } 64 }
71 65
72 # GYP version: device/serial/serial.gyp:device_serial_mojo 66 # GYP version: device/serial/serial.gyp:device_serial_mojo
73 mojom("serial_mojo") { 67 mojom("serial_mojo") {
74 visibility = [ 68 visibility = [
75 ":serial", 69 ":serial",
76 "//extensions:extensions_renderer_resources_grit", 70 "//extensions:extensions_renderer_resources_grit",
77 ] 71 ]
78 72
79 sources = [ 73 sources = [
80 "data_stream.mojom", 74 "data_stream.mojom",
81 "data_stream_serialization.mojom", 75 "data_stream_serialization.mojom",
82 "serial.mojom", 76 "serial.mojom",
83 "serial_serialization.mojom", 77 "serial_serialization.mojom",
84 ] 78 ]
85 } 79 }
OLDNEW
« no previous file with comments | « device/media_transfer_protocol/BUILD.gn ('k') | device/usb/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698