summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/hid/BUILD.gn
blob: 0bb19b3514749ae1e5ae6780b1a4bfa008d4ddc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Copyright 2019 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//third_party/blink/renderer/modules/modules.gni")

blink_modules_sources("hid") {
  sources = [
    "hid.cc",
    "hid.h",
    "hid_connection_event.cc",
    "hid_connection_event.h",
    "hid_device.cc",
    "hid_device.h",
    "hid_input_report_event.cc",
    "hid_input_report_event.h",
  ]
}

jumbo_source_set("unit_tests") {
  testonly = true
  sources = [ "hid_device_test.cc" ]

  configs += [
    "//third_party/blink/renderer:config",
    "//third_party/blink/renderer:inside_blink",
    "//third_party/blink/renderer/core:blink_core_pch",
  ]

  deps = [
    "//testing/gtest",
    "//third_party/blink/renderer/modules",
    "//third_party/blink/renderer/platform",
    "//third_party/blink/renderer/platform/wtf",
  ]
}