# Copyright 2014 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. import("//build/config/features.gni") import("//mojo/public/tools/bindings/mojom.gni") static_library("nfc") { sources = [ "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", ] deps = [ "//base", "//url", ] if (is_chromeos) { deps += [ "//chromeos", "//dbus", ] } } mojom("mojo_bindings") { sources = [ "nfc.mojom", ] }