Index: device/nfc/BUILD.gn |
diff --git a/device/nfc/BUILD.gn b/device/nfc/BUILD.gn |
index 5932bf6529ed66f02cfb560fddc3d20f020a3c4d..8ea1dcb3224d971d8f49f00e084b119817465e6b 100644 |
--- a/device/nfc/BUILD.gn |
+++ b/device/nfc/BUILD.gn |
@@ -44,6 +44,23 @@ static_library("nfc") { |
} |
} |
+component("nfc_mojo") { |
+ sources = [ |
+ "nfc_export.h", |
+ "nfc_impl.h", |
+ "nfc_impl_default.cc", |
+ ] |
+ |
+ defines = [ "DEVICE_NFC_IMPLEMENTATION" ] |
+ |
+ deps = [ |
+ ":mojo_bindings", |
+ "//base", |
+ "//mojo/edk/system", |
+ "//mojo/public/cpp/bindings", |
+ ] |
+} |
+ |
mojom("mojo_bindings") { |
sources = [ |
"nfc.mojom", |