[examples] Move story shell examples

TEST=
- fx set x64 -product ermine --available topaz/packages/buildbot
- fx build

Change-Id: I140def482e94acddaca4af5f6004d4c4c5fa399c
diff --git a/examples/mondrian_test/analysis_options.yaml b/examples/mondrian_test/analysis_options.yaml
deleted file mode 100644
index 9d84659..0000000
--- a/examples/mondrian_test/analysis_options.yaml
+++ /dev/null
@@ -1,5 +0,0 @@
-# Copyright 2018 The Fuchsia Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-include: ../../tools/analysis_options.yaml
diff --git a/examples/example_manual_relationships/BUILD.gn b/lib/story_shell/examples/example_manual_relationships/BUILD.gn
similarity index 100%
rename from examples/example_manual_relationships/BUILD.gn
rename to lib/story_shell/examples/example_manual_relationships/BUILD.gn
diff --git a/examples/example_manual_relationships/MAINTAINERS b/lib/story_shell/examples/example_manual_relationships/MAINTAINERS
similarity index 100%
rename from examples/example_manual_relationships/MAINTAINERS
rename to lib/story_shell/examples/example_manual_relationships/MAINTAINERS
diff --git a/examples/example_manual_relationships/analysis_options.yaml b/lib/story_shell/examples/example_manual_relationships/analysis_options.yaml
similarity index 76%
rename from examples/example_manual_relationships/analysis_options.yaml
rename to lib/story_shell/examples/example_manual_relationships/analysis_options.yaml
index c7bbb17..f9496ca 100644
--- a/examples/example_manual_relationships/analysis_options.yaml
+++ b/lib/story_shell/examples/example_manual_relationships/analysis_options.yaml
@@ -2,4 +2,4 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-include: ../../tools/analysis_options.yaml
+include: ../../../../tools/analysis_options.yaml
diff --git a/examples/example_manual_relationships/lib/grouping.dart b/lib/story_shell/examples/example_manual_relationships/lib/grouping.dart
similarity index 100%
rename from examples/example_manual_relationships/lib/grouping.dart
rename to lib/story_shell/examples/example_manual_relationships/lib/grouping.dart
diff --git a/examples/example_manual_relationships/lib/launch_copresent_button.dart b/lib/story_shell/examples/example_manual_relationships/lib/launch_copresent_button.dart
similarity index 100%
rename from examples/example_manual_relationships/lib/launch_copresent_button.dart
rename to lib/story_shell/examples/example_manual_relationships/lib/launch_copresent_button.dart
diff --git a/examples/example_manual_relationships/lib/main.dart b/lib/story_shell/examples/example_manual_relationships/lib/main.dart
similarity index 97%
rename from examples/example_manual_relationships/lib/main.dart
rename to lib/story_shell/examples/example_manual_relationships/lib/main.dart
index b25df58..0127e7f 100644
--- a/examples/example_manual_relationships/lib/main.dart
+++ b/lib/story_shell/examples/example_manual_relationships/lib/main.dart
@@ -51,8 +51,9 @@
 
 /// Starts a predefined test container
 void startContainerInShell() {
-  IntentBuilder intentBuilder =
-      new IntentBuilder.handler('example_manual_relationships');
+  IntentBuilder intentBuilder = new IntentBuilder.handler(
+      'fuchsia-pkg://fuchsia.com/example_manual_relationships#meta/example_manual_relationships.cmx');
+
   const List<double> leftRect = const <double>[0.0, 0.0, 0.5, 1.0];
   const List<double> trRect = const <double>[0.5, 0.0, 0.5, 0.5];
   const List<double> brRect = const <double>[0.5, 0.5, 0.5, 0.5];
diff --git a/examples/example_manual_relationships/lib/start_module_button.dart b/lib/story_shell/examples/example_manual_relationships/lib/start_module_button.dart
similarity index 92%
rename from examples/example_manual_relationships/lib/start_module_button.dart
rename to lib/story_shell/examples/example_manual_relationships/lib/start_module_button.dart
index 33c0868..89a315c 100644
--- a/examples/example_manual_relationships/lib/start_module_button.dart
+++ b/lib/story_shell/examples/example_manual_relationships/lib/start_module_button.dart
@@ -2,7 +2,8 @@
 import 'package:fidl_fuchsia_modular/fidl.dart';
 import 'package:lib.module_resolver.dart/intent_builder.dart';
 
-const String _kModuleUrl = 'example_manual_relationships';
+const String _kModuleUrl =
+    'fuchsia-pkg://fuchsia.com/example_manual_relationships#meta/example_manual_relationships.cmx';
 
 typedef GenerateChildId = String Function();
 
diff --git a/examples/example_manual_relationships/meta/example_manual_relationships.cmx b/lib/story_shell/examples/example_manual_relationships/meta/example_manual_relationships.cmx
similarity index 100%
rename from examples/example_manual_relationships/meta/example_manual_relationships.cmx
rename to lib/story_shell/examples/example_manual_relationships/meta/example_manual_relationships.cmx
diff --git a/examples/example_manual_relationships/pubspec.yaml b/lib/story_shell/examples/example_manual_relationships/pubspec.yaml
similarity index 100%
rename from examples/example_manual_relationships/pubspec.yaml
rename to lib/story_shell/examples/example_manual_relationships/pubspec.yaml
diff --git a/examples/mondrian_test/BUILD.gn b/lib/story_shell/examples/mondrian_test/BUILD.gn
similarity index 100%
rename from examples/mondrian_test/BUILD.gn
rename to lib/story_shell/examples/mondrian_test/BUILD.gn
diff --git a/examples/mondrian_test/MAINTAINERS b/lib/story_shell/examples/mondrian_test/MAINTAINERS
similarity index 100%
rename from examples/mondrian_test/MAINTAINERS
rename to lib/story_shell/examples/mondrian_test/MAINTAINERS
diff --git a/examples/story_shell_test/analysis_options.yaml b/lib/story_shell/examples/mondrian_test/analysis_options.yaml
similarity index 76%
rename from examples/story_shell_test/analysis_options.yaml
rename to lib/story_shell/examples/mondrian_test/analysis_options.yaml
index 099ef46..39d351f 100644
--- a/examples/story_shell_test/analysis_options.yaml
+++ b/lib/story_shell/examples/mondrian_test/analysis_options.yaml
@@ -2,5 +2,4 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-include: ../../tools/analysis_options.yaml
-
+include: ../../../../tools/analysis_options.yaml
diff --git a/examples/mondrian_test/lib/main.dart b/lib/story_shell/examples/mondrian_test/lib/main.dart
similarity index 100%
rename from examples/mondrian_test/lib/main.dart
rename to lib/story_shell/examples/mondrian_test/lib/main.dart
diff --git a/examples/mondrian_test/meta/mondrian_test.cmx b/lib/story_shell/examples/mondrian_test/meta/mondrian_test.cmx
similarity index 100%
rename from examples/mondrian_test/meta/mondrian_test.cmx
rename to lib/story_shell/examples/mondrian_test/meta/mondrian_test.cmx
diff --git a/examples/mondrian_test/pubspec.yaml b/lib/story_shell/examples/mondrian_test/pubspec.yaml
similarity index 100%
rename from examples/mondrian_test/pubspec.yaml
rename to lib/story_shell/examples/mondrian_test/pubspec.yaml
diff --git a/examples/story_shell_test/.gitignore b/lib/story_shell/examples/story_shell_test/.gitignore
similarity index 100%
rename from examples/story_shell_test/.gitignore
rename to lib/story_shell/examples/story_shell_test/.gitignore
diff --git a/examples/story_shell_test/BUILD.gn b/lib/story_shell/examples/story_shell_test/BUILD.gn
similarity index 100%
rename from examples/story_shell_test/BUILD.gn
rename to lib/story_shell/examples/story_shell_test/BUILD.gn
diff --git a/examples/story_shell_test/MAINTAINERS b/lib/story_shell/examples/story_shell_test/MAINTAINERS
similarity index 100%
rename from examples/story_shell_test/MAINTAINERS
rename to lib/story_shell/examples/story_shell_test/MAINTAINERS
diff --git a/examples/story_shell_test/analysis_options.yaml b/lib/story_shell/examples/story_shell_test/analysis_options.yaml
similarity index 76%
copy from examples/story_shell_test/analysis_options.yaml
copy to lib/story_shell/examples/story_shell_test/analysis_options.yaml
index 099ef46..184e6c0 100644
--- a/examples/story_shell_test/analysis_options.yaml
+++ b/lib/story_shell/examples/story_shell_test/analysis_options.yaml
@@ -2,5 +2,5 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-include: ../../tools/analysis_options.yaml
+include: ../../../../tools/analysis_options.yaml
 
diff --git a/examples/story_shell_test/meta/key_listener_device_tests.cmx b/lib/story_shell/examples/story_shell_test/meta/key_listener_device_tests.cmx
similarity index 100%
rename from examples/story_shell_test/meta/key_listener_device_tests.cmx
rename to lib/story_shell/examples/story_shell_test/meta/key_listener_device_tests.cmx
diff --git a/examples/story_shell_test/pubspec.yaml b/lib/story_shell/examples/story_shell_test/pubspec.yaml
similarity index 100%
rename from examples/story_shell_test/pubspec.yaml
rename to lib/story_shell/examples/story_shell_test/pubspec.yaml
diff --git a/examples/story_shell_test/test/key_listener_test.dart b/lib/story_shell/examples/story_shell_test/test/key_listener_test.dart
similarity index 100%
rename from examples/story_shell_test/test/key_listener_test.dart
rename to lib/story_shell/examples/story_shell_test/test/key_listener_test.dart
diff --git a/packages/examples/mondrian b/packages/examples/mondrian
index acb95fe..9d3e695 100644
--- a/packages/examples/mondrian
+++ b/packages/examples/mondrian
@@ -1,6 +1,6 @@
 {
     "packages": [
-        "//topaz/examples/example_manual_relationships",
-        "//topaz/examples/mondrian_test"
+        "//topaz/lib/story_shell/examples/example_manual_relationships",
+        "//topaz/lib/story_shell/examples/mondrian_test"
     ]
 }
diff --git a/packages/tests/key_listener_test b/packages/tests/key_listener_test
index 954803c..890f173 100644
--- a/packages/tests/key_listener_test
+++ b/packages/tests/key_listener_test
@@ -1,5 +1,5 @@
 {
     "packages": [
-        "//topaz/examples/story_shell_test:key_listener_device_tests"
+        "//topaz/lib/story_shell/examples/story_shell_test:key_listener_device_tests"
     ]
-}
\ No newline at end of file
+}