Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Update embedder example apps to run with the current engine tree #51995

Merged
merged 1 commit into from
Apr 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions examples/glfw/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ if (build_embedder_examples) {

sources = [ "FlutterEmbedderGLFW.cc" ]

ldflags = [ "-rdynamic" ]

deps = [
"//flutter/shell/platform/embedder:embedder",
"//flutter/third_party/glfw",
Expand Down
2 changes: 1 addition & 1 deletion examples/glfw/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class _MyHomePageState extends State<MyHomePage> {
),
Text(
'$_counter',
style: Theme.of(context).textTheme.headline4,
style: Theme.of(context).textTheme.headlineMedium,
),
],
),
Expand Down
2 changes: 1 addition & 1 deletion examples/glfw/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions examples/glfw_drm/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ if (build_embedder_examples) {

sources = [ "FlutterEmbedderGLFW.cc" ]

ldflags = [ "-rdynamic" ]

deps = [
"//flutter/shell/platform/embedder:embedder",
"//flutter/third_party/glfw",
Expand Down
2 changes: 1 addition & 1 deletion examples/glfw_drm/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions examples/vulkan_glfw/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ executable("vulkan_glfw") {

sources = [ "src/main.cc" ]

ldflags = [ "-rdynamic" ]

deps = [
"//flutter/shell/platform/embedder:embedder",
"//flutter/third_party/glfw",
Expand Down
2 changes: 1 addition & 1 deletion examples/vulkan_glfw/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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