1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:27:46 +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:
Andrew Kaster 2022-10-03 18:28:31 -06:00
parent 02b3a89d96
commit fb1ca02a74
3 changed files with 23 additions and 2 deletions

View file

@ -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)