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 ], 16 'sources': [ 17 'nfc_adapter.cc', 18 'nfc_adapter.h', 19 'nfc_adapter_chromeos.cc', 20 'nfc_adapter_chromeos.h', 21 'nfc_adapter_factory.cc', 22 'nfc_adapter_factory.h', 23 'nfc_ndef_record.cc', 24 'nfc_ndef_record.h', 25 'nfc_peer.cc', 26 'nfc_peer.h', 27 'nfc_tag.cc', 28 'nfc_tag.h', 29 'nfc_tag_technology.cc', 30 'nfc_tag_technology.h' 31 ], 32 'conditions': [ 33 ['chromeos==1', { 34 'dependencies': [ 35 '../../build/linux/system.gyp:dbus', 36 '../../chromeos/chromeos.gyp:chromeos', 37 '../../dbus/dbus.gyp:dbus', 38 ] 39 }], 40 ], 41 }, 42 ], 43} 44