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:
parent
02b3a89d96
commit
fb1ca02a74
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