[dart][strict-deps] Enable strict-deps

Big: 57840
Change-Id: Icc9e6a2eae754c1fb518a7d40bf3719ea6aa3ed8
Reviewed-on: https://fuchsia-review.googlesource.com/c/experiences/+/421198
Reviewed-by: Sanjay Chouksey <sanjayc@google.com>
Commit-Queue: Adam Lesinski <adamlesinski@google.com>
diff --git a/session_shells/ermine/keyboard_shortcuts/BUILD.gn b/session_shells/ermine/keyboard_shortcuts/BUILD.gn
index 5505395..e13d6d6 100644
--- a/session_shells/ermine/keyboard_shortcuts/BUILD.gn
+++ b/session_shells/ermine/keyboard_shortcuts/BUILD.gn
@@ -9,10 +9,6 @@
 dart_library("keyboard_shortcuts") {
   package_name = "keyboard_shortcuts"
 
-  # TODO(fxb/57840): This package has transitive dependencies.
-  # Please explicitly define its transitive dependencies as direct dependencies then remove this exemption
-  disable_strict_deps_check = true
-
   sources = [
     "keyboard_shortcuts.dart",
     "src/keyboard_shortcuts.dart",
@@ -23,21 +19,23 @@
     "//sdk/fidl/fuchsia.ui.shortcut",
     "//sdk/fidl/fuchsia.ui.views",
     "//third_party/dart-pkg/git/flutter/packages/flutter",
+    "//third_party/dart-pkg/pub/meta",
     "//topaz/public/dart/fuchsia_services",
+    "//topaz/public/dart/zircon",
   ]
 }
 
 #fx run-host-tests keyboard_shortcuts_unittests
 flutter_test("keyboard_shortcuts_unittests") {
-  # TODO(fxb/57840): This package has transitive dependencies.
-  # Please explicitly define its transitive dependencies as direct dependencies then remove this exemption
-  disable_strict_deps_check = true
-
   sources = [ "keyboard_shortcuts_test.dart" ]
 
   deps = [
     ":keyboard_shortcuts",
+    "//sdk/fidl/fuchsia.ui.input2",
+    "//sdk/fidl/fuchsia.ui.shortcut",
+    "//sdk/fidl/fuchsia.ui.views",
     "//third_party/dart-pkg/git/flutter/packages/flutter_test",
     "//third_party/dart-pkg/pub/mockito",
+    "//third_party/dart-pkg/pub/test",
   ]
 }