mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
Meta: Add an option for building against AppKit
Some checks are pending
CI / Lagom (false, FUZZ, ubuntu-22.04, Linux, Clang) (push) Waiting to run
CI / Lagom (false, NO_FUZZ, macos-14, macOS, Clang) (push) Waiting to run
CI / Lagom (false, NO_FUZZ, ubuntu-22.04, Linux, GNU) (push) Waiting to run
CI / Lagom (true, NO_FUZZ, ubuntu-22.04, Linux, Clang) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (macos-14, macOS, macOS-universal2) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (ubuntu-22.04, Linux, Linux-x86_64) (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Push notes / build (push) Waiting to run
Some checks are pending
CI / Lagom (false, FUZZ, ubuntu-22.04, Linux, Clang) (push) Waiting to run
CI / Lagom (false, NO_FUZZ, macos-14, macOS, Clang) (push) Waiting to run
CI / Lagom (false, NO_FUZZ, ubuntu-22.04, Linux, GNU) (push) Waiting to run
CI / Lagom (true, NO_FUZZ, ubuntu-22.04, Linux, Clang) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (macos-14, macOS, macOS-universal2) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (ubuntu-22.04, Linux, Linux-x86_64) (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Push notes / build (push) Waiting to run
The build assumed QT or AppKit are the only build UI frameworks. This extends the default assumption away from that to start experimenting with building on other platforms.
This commit is contained in:
parent
60e7a6ea28
commit
a7a24fed68
Notes:
github-actions[bot]
2024-09-25 20:57:34 +00:00
Author: https://github.com/compnerd Commit: https://github.com/LadybirdBrowser/ladybird/commit/a7a24fed688 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1531
2 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
import("//Ladybird/compile_qt_resource_file.gni")
|
||||
import("//Ladybird/enable_appkit.gni")
|
||||
import("//Ladybird/enable_qt.gni")
|
||||
import("//Ladybird/link_qt.gni")
|
||||
import("//Ladybird/moc_qt_objects.gni")
|
||||
|
@ -110,7 +111,7 @@ executable("ladybird_executable") {
|
|||
":compile_resource_file",
|
||||
":generate_moc",
|
||||
]
|
||||
} else {
|
||||
} else if (enable_appkit) {
|
||||
sources += [
|
||||
"AppKit/Application/Application.mm",
|
||||
"AppKit/Application/ApplicationBridge.cpp",
|
||||
|
|
4
Meta/gn/secondary/Ladybird/enable_appkit.gni
Normal file
4
Meta/gn/secondary/Ladybird/enable_appkit.gni
Normal file
|
@ -0,0 +1,4 @@
|
|||
declare_args() {
|
||||
# Build the Ladybird application using the AppKit chrome.
|
||||
enable_appkit = current_os == "mac"
|
||||
}
|
Loading…
Reference in a new issue