From bebcbef2a999efe3f1222ee876007227b73e5fa5 Mon Sep 17 00:00:00 2001 From: Nikhil Sonti Date: Thu, 25 Sep 2025 09:08:11 -0700 Subject: [PATCH] updates to CONTRIBUTING.md --- CONTRIBUTING.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index dbace64ba..54148c74d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -164,14 +164,23 @@ Only needed if you're modifying browser-level features: # This typically goes in a separate directory outside this repo ``` -2. **Configure build:** +2. **Configure and build:** ```bash - # Use our Python build system + # Debug build (for development) python build/build.py --chromium-src /path/to/chromium/src --config build/config/debug.yaml + + # Release build (for production) + # macOS: + python build/build.py --chromium-src /path/to/chromium/src --config build/config/release.macos.yaml + # Linux: + python build/build.py --chromium-src /path/to/chromium/src --config build/config/release.linux.yaml + # Windows: + python build/build.py --chromium-src /path/to/chromium/src --config build/config/release.windows.yaml ``` -3. **Apply patches and build:** +3. **Alternative: Apply patches and build manually:** ```bash + # If you prefer to run steps individually python build/build.py --chromium-src /path/to/chromium/src --apply-patches --build ```