[PA] Add configuration for iOS binary experiment
To drive the experiment smoothly, we want to make it configurable with
only `//ios` changes.
`enable_ios_corruption_hardening` is now exposed through build overrides
and toggles `enable_partition_lock_reentrancy_check`,
`use_partition_cookie`, `smaller_partition_cookie`, and
`force_disable_backup_ref_ptr_feature`.
Bug: 371135823
Change-Id: I1e8361f69a054b75942b6269e62449d5eaf5ac19
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5925058
Commit-Queue: Mark Cogan <[email protected]>
Reviewed-by: Takashi Sakamoto <[email protected]>
Auto-Submit: Mikihito Matsuura <[email protected]>
Reviewed-by: Mark Cogan <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1367388}
diff --git a/ios/features.gni b/ios/features.gni
index 4200ec1f..2e029796 100644
--- a/ios/features.gni
+++ b/ios/features.gni
@@ -11,6 +11,11 @@
# Temporarily disable for rollout -- see crbug.com/1412190 for details.
ios_partition_alloc_enabled = true
+ # Control whether PartitionAlloc for iOS builds has extra checks for
+ # metadata corruption issue investigation.
+ # TODO(crbug.com/371135823): Remove upon completion of the investigation.
+ ios_partition_alloc_corruption_hardening_enabled = false
+
# Control whether //ios/chrome and //ios/web targets are build. This
# is used by bots from projects based on top of Chromium that want to
# only reuse shared code (//ios/net, //remoting/ios, ...).