Portable Chromium build

147 views
Skip to first unread message

Anton Gerasimov

unread,
Apr 6, 2021, 8:31:43 AM4/6/21
to Chromium-dev
Dear Chromium experts,

What is a best build (/flags) to make chrome.exe as a  kind of portable (at least, with a minimum dll dependencies)?
To hand over Chrome.exe to another PC for testing, etc.

Thank you

David Bienvenu

unread,
Apr 6, 2021, 9:37:38 AM4/6/21
to embedde...@gmail.com, Chromium-dev
On windows, you can build the mini_installer target and run it on the other machine.

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/74062099-8071-4864-8553-b1ead8b9ae68n%40chromium.org.

Dirk Pranke

unread,
Apr 6, 2021, 12:26:06 PM4/6/21
to davidb...@chromium.org, embedde...@gmail.com, Chromium-dev
That works for Windows.

Cross-platform, the easiest way I know to do it is to use the `MB` tool's `zip`, which will package up the executable and all its runtime dependencies into a zip file, e.g.:

    $ python tools/mb/mb.py zip --no-build //out/Default chrome chrome.zip 

-- Dirk

Reply all
Reply to author
Forward
0 new messages