Includes prior-session patches (carry forward so the app compiles): - crates/gpui/build.rs: cross-compile manifest fix - crates/gpui/src/platform.rs: PlatformWindow::activate_with_token trait method - crates/gpui/src/window.rs: Window::activate_with_token public API - crates/gpui_linux/src/linux/wayland/window.rs: WaylandWindow::activate_with_token + activate() keyboard-serial fix Plus the focus-serial fix: - serial.rs: SerialKind::KeyboardEnter - client.rs: store wl_keyboard.enter serial; latest_serial_of() Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
18 lines
545 B
Diff
18 lines
545 B
Diff
--- a/BUILD.gn
|
|
+++ b/BUILD.gn
|
|
@@ -143,8 +143,12 @@
|
|
# target_defaults and direct_dependent_settings.
|
|
config("common_inherited_config") {
|
|
defines = [ "PROTOBUF_ENABLE_DEBUG_LOGGING_MAY_LEAK_PII=0" ]
|
|
- cflags = []
|
|
- ldflags = []
|
|
+ cflags = [ "-fvisibility=default" ]
|
|
+ ldflags = [ "-lavutil", "-lavformat", "-lavcodec" ]
|
|
+
|
|
+ if (is_linux) {
|
|
+ ldflags += [ "-Wl,--version-script=" + rebase_path("//libwebrtc.version", root_build_dir) ]
|
|
+ }
|
|
|
|
if (rtc_objc_prefix != "") {
|
|
defines += [ "RTC_OBJC_TYPE_PREFIX=${rtc_objc_prefix}" ]
|