Only grant permissions to new extensions from sync if they have the expected version
[chromium-blink-merge.git] / components / webusb / BUILD.gn
blobc9e9ca1ff27fe2607960e21129527c58c40ed0b1
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 static_library("webusb") {
6   sources = [
7     "webusb_browser_client.h",
8     "webusb_detector.cc",
9     "webusb_detector.h",
10   ]
12   deps = [
13     "//base",
14     "//device/core",
15     "//device/usb",
16   ]
19 source_set("unit_tests") {
20   testonly = true
21   sources = [
22     "webusb_detector_unittest.cc",
23   ]
25   deps = [
26     ":webusb",
27     "//device/usb",
28     "//device/usb:mocks",
29     "//testing/gmock",
30     "//testing/gtest",
31   ]