Meta+Documentation+Ladybird: Update places that use ladybird filename

Fallout from 01feae24b2

These places referred to the filename "ladybird" directly, but we
changed the OUTPUT_NAME of ladybird to "Ladybird".
This commit is contained in:
Andrew Kaster 2023-10-26 21:05:16 -06:00 committed by Andreas Kling
parent 8b49bdb724
commit 4dbb73b360
Notes: sideshowbarker 2024-07-17 06:20:50 +09:00
4 changed files with 7 additions and 10 deletions

View file

@ -157,7 +157,7 @@ ninja -C Build/ladybird debug
To run without ninja rule: To run without ninja rule:
``` ```
export SERENITY_SOURCE_DIR=$(realpath ../) export SERENITY_SOURCE_DIR=$(realpath ../)
./Build/ladybird/bin/ladybird # or, in macOS: open ./Build/ladybird/bin/ladybird.app ./Build/ladybird/bin/Ladybird # or, in macOS: open ./Build/ladybird/bin/Ladybird.app
``` ```
### Debugging with CLion ### Debugging with CLion

View file

@ -32,7 +32,7 @@ static ErrorOr<pid_t> launch_process(StringView application, ReadonlySpan<char c
static ErrorOr<pid_t> launch_browser(DeprecatedString const& socket_path) static ErrorOr<pid_t> launch_browser(DeprecatedString const& socket_path)
{ {
return launch_process("ladybird"sv, return launch_process("Ladybird"sv,
Array { Array {
"--webdriver-content-path", "--webdriver-content-path",
socket_path.characters(), socket_path.characters(),

View file

@ -2,7 +2,7 @@ import("//Meta/gn/build/toolchain/compiler.gni")
group("default") { group("default") {
deps = [ deps = [
"//Ladybird:ladybird", "//Ladybird",
"//Meta/Lagom/Tools/CodeGenerators/IPCCompiler", "//Meta/Lagom/Tools/CodeGenerators/IPCCompiler",
"//Tests", "//Tests",
"//Userland/Libraries/LibWeb", "//Userland/Libraries/LibWeb",

View file

@ -2,7 +2,7 @@ import("//Ladybird/compile_qt_resource_file.gni")
import("//Ladybird/link_qt.gni") import("//Ladybird/link_qt.gni")
import("//Ladybird/moc_qt_objects.gni") import("//Ladybird/moc_qt_objects.gni")
group("ladybird") { group("Ladybird") {
if (current_os == "mac") { if (current_os == "mac") {
deps = [ ":ladybird.app" ] deps = [ ":ladybird.app" ]
} else { } else {
@ -98,10 +98,7 @@ executable("ladybird_executable") {
] ]
sources += get_target_outputs(":generate_moc") + sources += get_target_outputs(":generate_moc") +
get_target_outputs(":compile_resource_file") get_target_outputs(":compile_resource_file")
if (current_os == "android") { output_name = "Ladybird"
sources += [ "AndroidPlatform.cpp" ]
}
output_name = "ladybird"
} }
executable("headless-browser") { executable("headless-browser") {
@ -149,13 +146,13 @@ if (current_os == "mac") {
"WebSocket", "WebSocket",
] ]
sources = [ sources = [
"$root_out_dir/bin/Ladybird",
"$root_out_dir/bin/RequestServer", "$root_out_dir/bin/RequestServer",
"$root_out_dir/bin/SQLServer", "$root_out_dir/bin/SQLServer",
"$root_out_dir/bin/WebContent", "$root_out_dir/bin/WebContent",
"$root_out_dir/bin/WebDriver", "$root_out_dir/bin/WebDriver",
"$root_out_dir/bin/WebSocket", "$root_out_dir/bin/WebSocket",
"$root_out_dir/bin/headless-browser", "$root_out_dir/bin/headless-browser",
"$root_out_dir/bin/ladybird",
] ]
outputs = [ "{{bundle_executable_dir}}/{{source_file_part}}" ] outputs = [ "{{bundle_executable_dir}}/{{source_file_part}}" ]
} }
@ -288,7 +285,7 @@ if (current_os == "mac") {
outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ] outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ]
} }
create_bundle("ladybird.app") { create_bundle("Ladybird.app") {
product_type = "com.apple.product-type.application" product_type = "com.apple.product-type.application"
bundle_root_dir = "$root_build_dir/$target_name" bundle_root_dir = "$root_build_dir/$target_name"