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