Add comments to pdf_use_partition_alloc GN arg.
Change-Id: Ie15ec5cd877ba47d6ebe79cac233368657bd17b3
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/110250
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
diff --git a/pdfium.gni b/pdfium.gni
index 2296f2d..ffa740a 100644
--- a/pdfium.gni
+++ b/pdfium.gni
@@ -41,7 +41,11 @@
# standalone PDFium, and not when PDFium is embedded in our projects.
pdf_use_cxx20 = (is_win && is_component_build) || is_fuchsia
- # Build PDFium with PartitionAlloc as the memory allocator.
+ # Build PDFium against PartitionAlloc. When false, PDFium must build without
+ # requiring any PartitionAlloc headers or code to be present. When true,
+ # PDFium will use PartitionAlloc partitions to separate strings, scalars,
+ # etc. from other allocations. However, the use of PartitionAlloc for new or
+ # malloc is controlled by args in build_overrides/partition_alloc.gni.
pdf_use_partition_alloc = pdf_use_partition_alloc_override
# Build PDFium to use Skia (experimental) for all PDFium graphics.