Add _glfw versions of the GLFW desktop libraries (flutter/engine#11024)

Part of restructuring the artifacts to support transitioning away from
GLFW embeddings on desktop.

https://github.com/flutter/flutter/issues/38589
This commit is contained in:
stuartmorgan
2019-08-15 14:41:15 -07:00
committed by GitHub
parent 2ab2ba99ce
commit 3746a89cb2
2 changed files with 24 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ group("linux") {
if (build_glfw_shell) {
deps = [
":flutter_linux",
":flutter_linux_glfw",
"$flutter_root/shell/platform/glfw:publish_headers_glfw",
"$flutter_root/shell/platform/glfw/client_wrapper:publish_wrapper_glfw",
"$flutter_root/shell/platform/glfw/client_wrapper:publish_wrapper_unprefixed",
@@ -28,6 +29,8 @@ config("disable_fatal_link_warnings") {
}
if (build_glfw_shell) {
# TODO: Remove this target once the _glfw copy is being uploaded instead. See
# https://github.com/flutter/flutter/issues/38589
shared_library("flutter_linux") {
deps = [
"$flutter_root/shell/platform/glfw:flutter_glfw",
@@ -37,4 +40,14 @@ if (build_glfw_shell) {
public_configs = [ "$flutter_root:config" ]
}
shared_library("flutter_linux_glfw") {
deps = [
"$flutter_root/shell/platform/glfw:flutter_glfw",
]
configs += [ ":disable_fatal_link_warnings" ]
public_configs = [ "$flutter_root:config" ]
}
}

View File

@@ -100,6 +100,8 @@ shared_library("flutter_windows_win32") {
public_configs = [ "$flutter_root:config" ]
}
# TODO: Remove this target once the _glfw copy is being uploaded instead. See
# https://github.com/flutter/flutter/issues/38589
shared_library("flutter_windows") {
deps = [
"$flutter_root/shell/platform/glfw:flutter_glfw",
@@ -108,6 +110,14 @@ shared_library("flutter_windows") {
public_configs = [ "$flutter_root:config" ]
}
shared_library("flutter_windows_glfw") {
deps = [
"$flutter_root/shell/platform/glfw:flutter_glfw",
]
public_configs = [ "$flutter_root:config" ]
}
group("windows_win32") {
deps = [
":flutter_windows_win32",
@@ -119,6 +129,7 @@ group("windows_win32") {
group("windows_glfw") {
deps = [
":flutter_windows",
":flutter_windows_glfw",
"$flutter_root/shell/platform/glfw:publish_headers_glfw",
"$flutter_root/shell/platform/glfw/client_wrapper:publish_wrapper_glfw",
"$flutter_root/shell/platform/glfw/client_wrapper:publish_wrapper_unprefixed",