Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
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
8 changes: 0 additions & 8 deletions shell/platform/glfw/client_wrapper/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,6 @@ source_set("client_wrapper_glfw") {
]
}

# Copies the GLFW client wrapper code to the output directory in the legacy
# unsuffixed location.
# TODO: Remove this copy once build recipes are using the _glfw version below.
publish_client_wrapper_extension("publish_wrapper_unprefixed") {
public = _wrapper_includes
sources = _wrapper_sources
}

# Copies the GLFW client wrapper code to the output directory with a _glfw
# suffix.
publish_client_wrapper_extension("publish_wrapper_glfw") {
Expand Down
14 changes: 0 additions & 14 deletions shell/platform/linux/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@ import("$flutter_root/shell/platform/glfw/config.gni")
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",
]
}
}
Expand All @@ -29,18 +27,6 @@ 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",
]

configs += [ ":disable_fatal_link_warnings" ]

public_configs = [ "$flutter_root:config" ]
}

shared_library("flutter_linux_glfw") {
deps = [
"$flutter_root/shell/platform/glfw:flutter_glfw",
Expand Down
25 changes: 4 additions & 21 deletions shell/platform/windows/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -92,19 +92,9 @@ copy("publish_headers_windows") {
]
}

shared_library("flutter_windows_win32") {
deps = [
":flutter_windows_source",
]

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",
":flutter_windows_source",
]

public_configs = [ "$flutter_root:config" ]
Expand All @@ -118,27 +108,20 @@ shared_library("flutter_windows_glfw") {
public_configs = [ "$flutter_root:config" ]
}

group("windows_win32") {
deps = [
":flutter_windows_win32",
":publish_headers_windows",
"$flutter_root/shell/platform/windows/client_wrapper:publish_wrapper_windows",
]
}

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",
]
}

group("windows") {
deps = [
":windows_win32",
":flutter_windows",
":publish_headers_windows",
"$flutter_root/shell/platform/windows/client_wrapper:publish_wrapper_windows",
]
if (build_glfw_shell) {
deps += [ ":windows_glfw" ]
Expand Down
4 changes: 1 addition & 3 deletions shell/platform/windows/client_wrapper/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,10 @@ source_set("client_wrapper_windows") {
]
}

# Copies the Windows client wrapper code to the output directory with a _windows
# suffix.
# Copies the Windows client wrapper code to the output directory.
publish_client_wrapper_extension("publish_wrapper_windows") {
public = _wrapper_includes
sources = _wrapper_sources
directory_suffix = "windows"
}

source_set("client_wrapper_library_stubs_windows") {
Expand Down