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

Side by Side Diff: device/usb/usb.gyp

Issue 1144493003: Extract //device/usb mocks so that they can be shared. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android and GN builds for real. Created 5 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 | « device/usb/mock_usb_service.cc ('k') | device/usb/usb_device_filter_unittest.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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 '../udev_linux/udev.gyp:udev_linux', 70 '../udev_linux/udev.gyp:udev_linux',
71 ], 71 ],
72 }], 72 }],
73 ['chromeos==1', { 73 ['chromeos==1', {
74 'dependencies': [ 74 'dependencies': [
75 '../../chromeos/chromeos.gyp:chromeos', 75 '../../chromeos/chromeos.gyp:chromeos',
76 ], 76 ],
77 }], 77 }],
78 ] 78 ]
79 }, 79 },
80 {
81 'target_name': 'device_usb_mocks',
82 'type': 'static_library',
83 'include_dirs': [
84 '../..',
85 ],
86 'dependencies': [
87 '../../testing/gmock.gyp:gmock',
88 'device_usb',
89 ],
90 'sources': [
91 'mock_usb_device.cc',
92 'mock_usb_device.h',
93 'mock_usb_device_handle.cc',
94 'mock_usb_device_handle.h',
95 'mock_usb_service.cc',
96 'mock_usb_service.h',
97 ],
98 },
80 ], 99 ],
81 } 100 }
OLDNEW
« no previous file with comments | « device/usb/mock_usb_service.cc ('k') | device/usb/usb_device_filter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698