diff --git a/Meta/gn/secondary/Ladybird/BUILD.gn b/Meta/gn/secondary/Ladybird/BUILD.gn index 6e4583456e..33aef0e58f 100644 --- a/Meta/gn/secondary/Ladybird/BUILD.gn +++ b/Meta/gn/secondary/Ladybird/BUILD.gn @@ -1,12 +1,8 @@ import("//Ladybird/compile_qt_resource_file.gni") +import("//Ladybird/enable_qt.gni") import("//Ladybird/link_qt.gni") import("//Ladybird/moc_qt_objects.gni") -declare_args() { - # Build the Ladybird application using the Qt chrome. - enable_qt = current_os != "mac" -} - group("Ladybird") { if (current_os == "mac") { deps = [ ":Ladybird.app" ] diff --git a/Meta/gn/secondary/Ladybird/enable_qt.gni b/Meta/gn/secondary/Ladybird/enable_qt.gni new file mode 100644 index 0000000000..f88108a801 --- /dev/null +++ b/Meta/gn/secondary/Ladybird/enable_qt.gni @@ -0,0 +1,4 @@ +declare_args() { + # Build the Ladybird application using the Qt chrome. + enable_qt = current_os != "mac" +}