summaryrefslogtreecommitdiffstats
path: root/device/nfc/nfc.gyp
blob: ccd62b50bbcca4b3f848b0853bf83c45ece51a9c (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Copyright 2013 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.

{
  'variables': {
    'chromium_code': 1,
  },
  'targets': [
    {
      # GN version: //device/nfc
      'target_name': 'device_nfc',
      'type': 'static_library',
      'dependencies': [
        '../../base/base.gyp:base',
        '../../url/url.gyp:url_lib',
      ],
      'sources': [
        # Note: file list duplicated in GN build.
        'nfc_adapter.cc',
        'nfc_adapter.h',
        'nfc_adapter_chromeos.cc',
        'nfc_adapter_chromeos.h',
        'nfc_adapter_factory.cc',
        'nfc_adapter_factory.h',
        'nfc_ndef_record.cc',
        'nfc_ndef_record.h',
        'nfc_ndef_record_utils_chromeos.cc',
        'nfc_ndef_record_utils_chromeos.h',
        'nfc_peer.cc',
        'nfc_peer.h',
        'nfc_peer_chromeos.cc',
        'nfc_peer_chromeos.h',
        'nfc_tag.cc',
        'nfc_tag.h',
        'nfc_tag_chromeos.cc',
        'nfc_tag_chromeos.h',
        'nfc_tag_technology.cc',
        'nfc_tag_technology.h',
        'nfc_tag_technology_chromeos.cc',
        'nfc_tag_technology_chromeos.h'
      ],
      'conditions': [
        ['chromeos==1', {
          'dependencies': [
            '../../build/linux/system.gyp:dbus',
            '../../chromeos/chromeos.gyp:chromeos',
            '../../dbus/dbus.gyp:dbus',
          ]
        }],
      ],
    },
  ],
}