Remove use of epoxy from Linux shell (flutter/engine#8334)

Simplifies the build and runtime requirements for the Linux shell.
Since the engine does GL extension lookup manually anway, an extension
loader library isn't necessary.
This commit is contained in:
stuartmorgan
2019-03-27 19:24:03 -04:00
committed by GitHub
parent c9556833a9
commit fcc2ff8886
4 changed files with 1 additions and 11 deletions

View File

@@ -8,4 +8,4 @@
set -e
sudo apt-get -y install libglfw3-dev libepoxy-dev libgtk-3-dev libx11-dev
sudo apt-get -y install libglfw3-dev libgtk-3-dev libx11-dev

View File

@@ -59,7 +59,6 @@ source_set("flutter_glfw") {
libs = [ "GL" ]
configs += [
"$flutter_root/shell/platform/linux/config:epoxy",
"$flutter_root/shell/platform/linux/config:glfw3",
"$flutter_root/shell/platform/linux/config:gtk3",
"$flutter_root/shell/platform/linux/config:x11",

View File

@@ -10,11 +10,6 @@
#include <cstdlib>
#include <iostream>
#ifdef __linux__
// Epoxy must be included before any graphics-related code.
#include <epoxy/gl.h>
#endif
#include <GLFW/glfw3.h>
#include "flutter/shell/platform/common/cpp/client_wrapper/include/flutter/plugin_registrar.h"

View File

@@ -4,10 +4,6 @@
import("//build/config/linux/pkg_config.gni")
pkg_config("epoxy") {
packages = [ "epoxy" ]
}
pkg_config("glfw3") {
packages = [ "glfw3" ]
}