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

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

Issue 1983443002: mac/gn: Make a bunch of targets build in release component builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: skip cast for now Created 4 years, 7 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 | « no previous file | gpu/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("//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
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 }
OLDNEW
« no previous file with comments | « no previous file | gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698