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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/usb.gyp
diff --git a/device/usb/usb.gyp b/device/usb/usb.gyp
index 085b9b38b6007db1b924733c284e350f6b7c8873..f1afd8ca6888e330c2980036bd4f41fec3935b27 100644
--- a/device/usb/usb.gyp
+++ b/device/usb/usb.gyp
@@ -77,5 +77,24 @@
}],
]
},
+ {
+ 'target_name': 'device_usb_mocks',
+ 'type': 'static_library',
+ 'include_dirs': [
+ '../..',
+ ],
+ 'dependencies': [
+ '../../testing/gmock.gyp:gmock',
+ 'device_usb',
+ ],
+ 'sources': [
+ 'mock_usb_device.cc',
+ 'mock_usb_device.h',
+ 'mock_usb_device_handle.cc',
+ 'mock_usb_device_handle.h',
+ 'mock_usb_service.cc',
+ 'mock_usb_service.h',
+ ],
+ },
],
}
« 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