Fix various build failures in the chimera build.
[chromium-blink-merge.git] / device / nfc / nfc.gyp
blobccd62b50bbcca4b3f848b0853bf83c45ece51a9c
1 # Copyright 2013 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.
6   'variables': {
7     'chromium_code': 1,
8   },
9   'targets': [
10     {
11       # GN version: //device/nfc
12       'target_name': 'device_nfc',
13       'type': 'static_library',
14       'dependencies': [
15         '../../base/base.gyp:base',
16         '../../url/url.gyp:url_lib',
17       ],
18       'sources': [
19         # Note: file list duplicated in GN build.
20         'nfc_adapter.cc',
21         'nfc_adapter.h',
22         'nfc_adapter_chromeos.cc',
23         'nfc_adapter_chromeos.h',
24         'nfc_adapter_factory.cc',
25         'nfc_adapter_factory.h',
26         'nfc_ndef_record.cc',
27         'nfc_ndef_record.h',
28         'nfc_ndef_record_utils_chromeos.cc',
29         'nfc_ndef_record_utils_chromeos.h',
30         'nfc_peer.cc',
31         'nfc_peer.h',
32         'nfc_peer_chromeos.cc',
33         'nfc_peer_chromeos.h',
34         'nfc_tag.cc',
35         'nfc_tag.h',
36         'nfc_tag_chromeos.cc',
37         'nfc_tag_chromeos.h',
38         'nfc_tag_technology.cc',
39         'nfc_tag_technology.h',
40         'nfc_tag_technology_chromeos.cc',
41         'nfc_tag_technology_chromeos.h'
42       ],
43       'conditions': [
44         ['chromeos==1', {
45           'dependencies': [
46             '../../build/linux/system.gyp:dbus',
47             '../../chromeos/chromeos.gyp:chromeos',
48             '../../dbus/dbus.gyp:dbus',
49           ]
50         }],
51       ],
52     },
53   ],