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

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

Issue 551933002: Mark gtest and gmock as testonly in GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@testonly
Patch Set: android Created 6 years, 3 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 | « components/sync_driver/BUILD.gn ('k') | gin/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("//tools/grit/grit_rule.gni") 5 import("//tools/grit/grit_rule.gni")
6 6
7 config("bluetooth_config") { 7 config("bluetooth_config") {
8 if (is_win) { 8 if (is_win) {
9 ldflags = [ 9 ldflags = [
10 # Despite MSDN stating that Bthprops.dll contains the 10 # Despite MSDN stating that Bthprops.dll contains the
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 "device_bluetooth_strings_th.pak", 171 "device_bluetooth_strings_th.pak",
172 "device_bluetooth_strings_tr.pak", 172 "device_bluetooth_strings_tr.pak",
173 "device_bluetooth_strings_uk.pak", 173 "device_bluetooth_strings_uk.pak",
174 "device_bluetooth_strings_vi.pak", 174 "device_bluetooth_strings_vi.pak",
175 "device_bluetooth_strings_zh-CN.pak", 175 "device_bluetooth_strings_zh-CN.pak",
176 "device_bluetooth_strings_zh-TW.pak", 176 "device_bluetooth_strings_zh-TW.pak",
177 ] 177 ]
178 } 178 }
179 179
180 static_library("mocks") { 180 static_library("mocks") {
181 testonly = true
181 sources = [ 182 sources = [
182 "test/mock_bluetooth_adapter.cc", 183 "test/mock_bluetooth_adapter.cc",
183 "test/mock_bluetooth_adapter.h", 184 "test/mock_bluetooth_adapter.h",
184 "test/mock_bluetooth_device.cc", 185 "test/mock_bluetooth_device.cc",
185 "test/mock_bluetooth_device.h", 186 "test/mock_bluetooth_device.h",
186 "test/mock_bluetooth_discovery_session.cc", 187 "test/mock_bluetooth_discovery_session.cc",
187 "test/mock_bluetooth_discovery_session.h", 188 "test/mock_bluetooth_discovery_session.h",
188 "test/mock_bluetooth_gatt_characteristic.cc", 189 "test/mock_bluetooth_gatt_characteristic.cc",
189 "test/mock_bluetooth_gatt_characteristic.h", 190 "test/mock_bluetooth_gatt_characteristic.h",
190 "test/mock_bluetooth_gatt_connection.cc", 191 "test/mock_bluetooth_gatt_connection.cc",
191 "test/mock_bluetooth_gatt_connection.h", 192 "test/mock_bluetooth_gatt_connection.h",
192 "test/mock_bluetooth_gatt_descriptor.cc", 193 "test/mock_bluetooth_gatt_descriptor.cc",
193 "test/mock_bluetooth_gatt_descriptor.h", 194 "test/mock_bluetooth_gatt_descriptor.h",
194 "test/mock_bluetooth_gatt_notify_session.cc", 195 "test/mock_bluetooth_gatt_notify_session.cc",
195 "test/mock_bluetooth_gatt_notify_session.h", 196 "test/mock_bluetooth_gatt_notify_session.h",
196 "test/mock_bluetooth_gatt_service.cc", 197 "test/mock_bluetooth_gatt_service.cc",
197 "test/mock_bluetooth_gatt_service.h", 198 "test/mock_bluetooth_gatt_service.h",
198 "test/mock_bluetooth_socket.cc", 199 "test/mock_bluetooth_socket.cc",
199 "test/mock_bluetooth_socket.h", 200 "test/mock_bluetooth_socket.h",
200 ] 201 ]
201 202
202 deps = [ 203 deps = [
203 ":bluetooth", 204 ":bluetooth",
204 "//testing/gmock", 205 "//testing/gmock",
205 ] 206 ]
206 } 207 }
OLDNEW
« no previous file with comments | « components/sync_driver/BUILD.gn ('k') | gin/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698