mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:28:11 +00:00
Ladybird: Propagate autoplay settings to the WebContent process
This commit is contained in:
parent
fed2606591
commit
1ffd533ea2
3 changed files with 42 additions and 1 deletions
|
@ -49,12 +49,17 @@ copy_res_folder(emoji)
|
|||
copy_res_folder(themes)
|
||||
copy_res_folder(color-palettes)
|
||||
copy_res_folder(cursor-themes)
|
||||
add_custom_target(copy-autoplay-allowlist
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||
"${SERENITY_SOURCE_DIR}/Base/home/anon/.config/BrowserAutoplayAllowlist.txt"
|
||||
"asset-bundle/res/ladybird/BrowserAutoplayAllowlist.txt"
|
||||
)
|
||||
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_dependencies(archive-assets copy-autoplay-allowlist 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