Skip to content

Commit

Permalink
Revert "Build GLFW from source for Linux shell (flutter#8327)"
Browse files Browse the repository at this point in the history
This reverts commit f4a6dc9.
  • Loading branch information
RBogie committed Apr 8, 2019
1 parent 727df62 commit a49ad93
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ allowed_hosts = [
]

deps = {
'src': 'https://github.com/flutter/buildroot.git' + '@' + 'ad098fcdb1b41fcf57c22e46e898d0dc04d3a178',
'src': 'https://github.com/flutter/buildroot.git' + '@' + 'ee817fb84542865e253bcce1866bc13e4065ca4d',

# Fuchsia compatibility
#
Expand Down
2 changes: 1 addition & 1 deletion build/install-build-deps-linux-desktop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@

set -e

sudo apt-get -y install libgtk-3-dev libx11-dev
sudo apt-get -y install libglfw3-dev libgtk-3-dev libx11-dev
2 changes: 1 addition & 1 deletion shell/platform/glfw/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ source_set("flutter_glfw") {
"$flutter_root/shell/platform/common/cpp/client_wrapper:client_wrapper",
"$flutter_root/shell/platform/embedder:embedder",
"$flutter_root/shell/platform/glfw/client_wrapper:client_wrapper_glfw",
"//build/secondary/third_party/glfw",
"//third_party/rapidjson",
]

if (is_linux) {
libs = [ "GL" ]

configs += [
"$flutter_root/shell/platform/linux/config:glfw3",
"$flutter_root/shell/platform/linux/config:gtk3",
"$flutter_root/shell/platform/linux/config:x11",
]
Expand Down
4 changes: 4 additions & 0 deletions shell/platform/linux/config/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

import("//build/config/linux/pkg_config.gni")

pkg_config("glfw3") {
packages = [ "glfw3" ]
}

pkg_config("gtk3") {
packages = [ "gtk+-3.0" ]
}
Expand Down

0 comments on commit a49ad93

Please sign in to comment.