Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(293)

Unified Diff: device/nfc/BUILD.gn

Issue 1912363002: [webnfc] Add default implementation for nfc mojo service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix for component gn build. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/nfc/BUILD.gn
diff --git a/device/nfc/BUILD.gn b/device/nfc/BUILD.gn
index 5932bf6529ed66f02cfb560fddc3d20f020a3c4d..935c3c666d0c54bbe4793d7e00aec7e8b5c13f65 100644
--- a/device/nfc/BUILD.gn
+++ b/device/nfc/BUILD.gn
@@ -44,6 +44,24 @@ 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",
+ "//base/third_party/dynamic_annotations",
Reilly Grant (use Gerrit) 2016/04/25 21:48:35 This dependency is unused.
shalamov 2016/04/26 10:17:32 Done.
+ "//mojo/edk/system",
+ "//mojo/public/cpp/bindings",
+ ]
+}
+
mojom("mojo_bindings") {
sources = [
"nfc.mojom",

Powered by Google App Engine
This is Rietveld 408576698