diff --git a/examples/glfw/BUILD.gn b/examples/glfw/BUILD.gn index 178bac61e4e05..7c367d4dac9b5 100644 --- a/examples/glfw/BUILD.gn +++ b/examples/glfw/BUILD.gn @@ -10,6 +10,8 @@ if (build_embedder_examples) { sources = [ "FlutterEmbedderGLFW.cc" ] + ldflags = [ "-rdynamic" ] + deps = [ "//flutter/shell/platform/embedder:embedder", "//flutter/third_party/glfw", diff --git a/examples/glfw/main.dart b/examples/glfw/main.dart index f1e74ab50be7c..557d020a1d6f6 100644 --- a/examples/glfw/main.dart +++ b/examples/glfw/main.dart @@ -107,7 +107,7 @@ class _MyHomePageState extends State { ), Text( '$_counter', - style: Theme.of(context).textTheme.headline4, + style: Theme.of(context).textTheme.headlineMedium, ), ], ), diff --git a/examples/glfw/run.sh b/examples/glfw/run.sh index 5fa0d0f8ea662..6d32ae0f5d44e 100755 --- a/examples/glfw/run.sh +++ b/examples/glfw/run.sh @@ -35,4 +35,4 @@ cd - ################################################################# # Run the Flutter Engine Embedder ################################################################# -./flutter_glfw ./myapp ../../../../third_party/icu/common/icudtl.dat +./flutter_glfw ./myapp ../../../third_party/icu/common/icudtl.dat diff --git a/examples/glfw_drm/BUILD.gn b/examples/glfw_drm/BUILD.gn index afa204c76c709..362d98d04c494 100644 --- a/examples/glfw_drm/BUILD.gn +++ b/examples/glfw_drm/BUILD.gn @@ -10,6 +10,8 @@ if (build_embedder_examples) { sources = [ "FlutterEmbedderGLFW.cc" ] + ldflags = [ "-rdynamic" ] + deps = [ "//flutter/shell/platform/embedder:embedder", "//flutter/third_party/glfw", diff --git a/examples/glfw_drm/run.sh b/examples/glfw_drm/run.sh index 5b4d9d4e4657f..20168612148e2 100755 --- a/examples/glfw_drm/run.sh +++ b/examples/glfw_drm/run.sh @@ -31,4 +31,4 @@ cd - ################################################################# # Run the Flutter Engine Embedder ################################################################# -./flutter_glfw ./myapp ../../../../third_party/icu/common/icudtl.dat +./flutter_glfw ./myapp ../../../third_party/icu/common/icudtl.dat diff --git a/examples/vulkan_glfw/BUILD.gn b/examples/vulkan_glfw/BUILD.gn index 92ce821ffe815..84ade67aecc07 100644 --- a/examples/vulkan_glfw/BUILD.gn +++ b/examples/vulkan_glfw/BUILD.gn @@ -10,6 +10,8 @@ executable("vulkan_glfw") { sources = [ "src/main.cc" ] + ldflags = [ "-rdynamic" ] + deps = [ "//flutter/shell/platform/embedder:embedder", "//flutter/third_party/glfw", diff --git a/examples/vulkan_glfw/run.sh b/examples/vulkan_glfw/run.sh index c2841dd88c4ce..1bd6c7cb9c9bf 100755 --- a/examples/vulkan_glfw/run.sh +++ b/examples/vulkan_glfw/run.sh @@ -25,6 +25,6 @@ popd > /dev/null ################################################################# # Run the Flutter Engine Embedder ################################################################# -./embedder_example_vulkan ./myapp ../../../../third_party/icu/common/icudtl.dat +./embedder_example_vulkan ./myapp ../../../third_party/icu/common/icudtl.dat popd > /dev/null