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:
@@ -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" ]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user