summaryrefslogtreecommitdiffstats
path: root/components/webusb.gypi
blob: cad67c93dca1ecd9dd51cbe74a65e386e0c6a280 (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
37
38
39
# Copyright 2015 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.

{
  'targets': [
    {
      'target_name': 'webusb',
      'type': 'static_library',
      'dependencies': [
        '../base/base.gyp:base',
        '../device/core/core.gyp:device_core',
        '../device/usb/usb.gyp:device_usb',
        'components_webusb_mojo_bindings',
      ],
      'include_dirs': [
        '..',
      ],
      'sources': [
        'webusb/webusb_browser_client.h',
        'webusb/webusb_detector.cc',
        'webusb/webusb_detector.h',
      ],
    },
    {
      'target_name': 'components_webusb_mojo_bindings',
      'type': 'static_library',
      'dependencies': [
        '../device/usb/usb.gyp:device_usb_mojo_bindings',
      ],
      'sources': [
        'webusb/public/interfaces/webusb_permission_bubble.mojom',
      ],
      'includes': [
        '../mojo/mojom_bindings_generator.gypi',
      ],
    },
  ],
}