Index: device/nfc/BUILD.gn |
diff --git a/device/nfc/BUILD.gn b/device/nfc/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..999853d38d75466593cdf47f4cb96dbdf76d066c |
--- /dev/null |
+++ b/device/nfc/BUILD.gn |
@@ -0,0 +1,42 @@ |
+# 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. |
+ |
+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 += [ |
+ "//dbus", |
+ #'../../chromeos/chromeos.gyp:chromeos', TODO(GYP) |
+ ] |
+ } |
+} |