brave-core#32552 [Part 6 enable_brave_wallet flag] Add static_assert for ENABLE_BRAVE_WALLET in wallet headers
State: merged 2025-11-28 · created · closed · updated · discovered via search:zcash is:pr · matched body:zcash
CI/skip CI/run-network-audit feature/web3/wallet feature/web3/wallet/core
Adds compile-time assertions to wallet headers to ensure they are only included when wallet is enabled. This prevents accidental usage of wallet APIs when enable_brave_wallet=false. Added static_assert(BUILDFLAG(ENABLE_BRAVE_WALLET)) to: browser/brave_wallet/ (11 files): - asset_ratio_service_factory.h - brave_wallet_context_utils.h - brave_wallet_ipfs_service_factory.h - brave_wallet_provider_delegate_impl.h - brave_wallet_service_factory.h - brave_wallet_tab_helper.h -…
Timeline (3 of 7 events)
- 2025-11-26 03:20 Referenced by brave-core#32484 by bbondy
- 2025-11-28 12:59 Merged
wallet-build-flag-5by bbondy - 2025-11-28 12:59 Closed by bbondy