mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 07:37:03 +00:00
Ladybird/SimpleWebView: Install and check for content filters in res/
This allows installed ladybird and Andriod ladybird to find the content filters without copying all of Base/home/anon into the install tree.
This commit is contained in:
parent
02b3a89d96
commit
fb1ca02a74
Notes:
sideshowbarker
2024-07-17 07:14:09 +09:00
Author: https://github.com/ADKaster
Commit: fb1ca02a74
Pull-request: https://github.com/SerenityOS/serenity/pull/16583
Reviewed-by: https://github.com/awesomekling ✅
Reviewed-by: https://github.com/linusg
3 changed files with 23 additions and 2 deletions
|
@ -49,6 +49,12 @@ copy_res_folder(emoji)
|
|||
copy_res_folder(themes)
|
||||
copy_res_folder(color-palettes)
|
||||
copy_res_folder(cursor-themes)
|
||||
add_custom_target(copy-content-filters
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||
"${SERENITY_SOURCE_DIR}/Base/home/anon/.config/BrowserContentFilters.txt"
|
||||
"asset-bundle/res/ladybird/BrowserContentFilters.txt"
|
||||
)
|
||||
add_dependencies(archive-assets copy-content-filters)
|
||||
add_custom_target(copy-assets COMMAND ${CMAKE_COMMAND} -E copy_if_different ladybird-assets.tar.gz "${CMAKE_SOURCE_DIR}/android/assets")
|
||||
add_dependencies(copy-assets archive-assets)
|
||||
add_dependencies(ladybird copy-assets)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue