[WebLayer] Move Android NFC code to //components/permissions/nfc/android.
NfcSystemLevelSetting is used by the site settings page, which is being
componentized so it can be used by WebLayer. This CL moves the Android
portion of //chrome/browser/nfc to the permissions component to to
unblock site settings work, but the remaineder of the NFC code will
likely need to be componentized at a later date as well.
Bug: 1058597
Change-Id: Idd315fe4d82201c7009b6bbb3202a8d3d2241571
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2090831
Reviewed-by: Andy Paicu <[email protected]>
Reviewed-by: John Abd-El-Malek <[email protected]>
Reviewed-by: Clark DuVall <[email protected]>
Reviewed-by: Colin Blundell <[email protected]>
Reviewed-by: Theresa <[email protected]>
Commit-Queue: Robbie McElrath <[email protected]>
Cr-Commit-Position: refs/heads/master@{#749284}
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index 5037f67..f3ab075 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -2981,7 +2981,6 @@
"//chrome/browser/android/thin_webview/internal",
"//chrome/browser/android/webapk:proto",
"//chrome/browser/flags:flags_android",
- "//chrome/browser/nfc/android:native",
"//chrome/browser/notifications/chime/android",
"//chrome/browser/notifications/scheduler/public",
"//chrome/browser/offline_pages/prefetch/notifications",
@@ -3010,6 +3009,7 @@
"//components/paint_preview/browser/android:jni_headers",
"//components/password_manager/content/browser",
"//components/payments/content/android",
+ "//components/permissions/android:native",
"//components/resources:components_resources",
"//components/security_state/content/android",
"//components/send_tab_to_self",