* Expose Brave Shields Utils to iOS - Create new `BraveShieldsSettings` class to expose Brave Shield utility apis for per-domain Shield settings and global/default settings. - Add obj-c wrapper for `BraveShieldsSettings` to expose to iOS, structured within the component. - Move some of the duplicated function logic from `BraveShieldsTabHelper` to `BraveShieldsSettings` so more logic can be shared and prevent issues with, for example, `SetAdBlockMode` calling 2 separate `brave_shields` utility funcs. - Move shared Shields mojom enums to `shields_settings.mojom`. - Move logic using shared mojom enums to `BraveShieldsSettings`. - Expose FingerprintMode to iOS to align with other platforms, but use DCHECK to validate it's not used on iOS. - Add default getter / setter helpers to `BraveShieldsSettings`. - Remove unregister/register of javascript content setting. - Use a patch to add iOS platform to javascript content setting. - In case FingerprintMode setting is sync'd later, map `STRICT_MODE` to `STANDARD_MODE` on iOS.
26 lines
750 B
Python
26 lines
750 B
Python
|
|
from brave_chromium_utils import inline_file
|
|
inline_file('//ios/chrome/app/DEPS', globals(), locals())
|
|
|
|
include_rules += [
|
|
"+ios/chrome/app",
|
|
"+ios/web_view",
|
|
"+brave/ios/app",
|
|
"+brave/ios/browser",
|
|
|
|
"+brave/components/ai_chat",
|
|
"+brave/components/brave_component_updater",
|
|
"+brave/components/brave_sync/buildflags.h",
|
|
"+brave/components/brave_shields/ios/browser",
|
|
"+brave/components/brave_user_agent/browser",
|
|
"+brave/components/ntp_background_images/browser",
|
|
"+brave/components/ntp_background_images/common",
|
|
"+brave/components/p3a",
|
|
"+brave/components/update_client/buildflags.h",
|
|
"+brave/components/variations",
|
|
|
|
"+components/browser_sync",
|
|
"+components/safe_browsing/core/common",
|
|
"+components/sync/base",
|
|
]
|