mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 17:49:40 +00:00
CMake: Rename SERENITY_* helper variables to LADYBIRD_*
Some checks are pending
CI / macOS, arm64, Sanitizer_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, Clang (push) Waiting to run
Package the js repl as a binary artifact / Linux, arm64 (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / 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
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
Some checks are pending
CI / macOS, arm64, Sanitizer_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, Clang (push) Waiting to run
Package the js repl as a binary artifact / Linux, arm64 (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / 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
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
This commit is contained in:
parent
d897bfae91
commit
f737ec2570
Notes:
github-actions[bot]
2025-07-03 21:21:14 +00:00
Author: https://github.com/ayeteadoe
Commit: f737ec2570
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5249
Reviewed-by: https://github.com/gmta ✅
14 changed files with 42 additions and 42 deletions
|
@ -13,14 +13,14 @@ function(ladybird_generated_sources target_name)
|
|||
endfunction()
|
||||
|
||||
function(ladybird_testjs_test test_src sub_dir)
|
||||
cmake_parse_arguments(PARSE_ARGV 2 SERENITY_TEST "" "CUSTOM_MAIN" "LIBS")
|
||||
if ("${SERENITY_TEST_CUSTOM_MAIN}" STREQUAL "")
|
||||
set(SERENITY_TEST_CUSTOM_MAIN "$<TARGET_OBJECTS:JavaScriptTestRunnerMain>")
|
||||
cmake_parse_arguments(PARSE_ARGV 2 LADYBIRD_TEST "" "CUSTOM_MAIN" "LIBS")
|
||||
if ("${LADYBIRD_TEST_CUSTOM_MAIN}" STREQUAL "")
|
||||
set(LADYBIRD_TEST_CUSTOM_MAIN "$<TARGET_OBJECTS:JavaScriptTestRunnerMain>")
|
||||
endif()
|
||||
list(APPEND SERENITY_TEST_LIBS LibJS LibCore LibFileSystem)
|
||||
list(APPEND LADYBIRD_TEST_LIBS LibJS LibCore LibFileSystem)
|
||||
ladybird_test(${test_src} ${sub_dir}
|
||||
CUSTOM_MAIN "${SERENITY_TEST_CUSTOM_MAIN}"
|
||||
LIBS ${SERENITY_TEST_LIBS})
|
||||
CUSTOM_MAIN "${LADYBIRD_TEST_CUSTOM_MAIN}"
|
||||
LIBS ${LADYBIRD_TEST_LIBS})
|
||||
endfunction()
|
||||
|
||||
function(remove_path_if_version_changed version version_file cache_path)
|
||||
|
@ -76,7 +76,7 @@ function(invoke_py_generator name script primary_source header implementation)
|
|||
find_package(Python3 REQUIRED COMPONENTS Interpreter)
|
||||
invoke_generator_impl(
|
||||
${name}
|
||||
"${SerenityOS_SOURCE_DIR}/Meta/${script}"
|
||||
"${LADYBIRD_PROJECT_ROOT}/Meta/${script}"
|
||||
${primary_source}
|
||||
${header}
|
||||
${implementation}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue