Discussion:
[chromium-dev] Build target containing chrome.exe and dependencies
Ken Russell
2018-11-08 02:05:17 UTC
Permalink
Fellow Chromium developers: does anyone understand the build targets
reasonably well and if so could you please comment on
http://crbug.com/902010 ? I was trying to use mb.py's "zip" functionality
to create an archive of chrome.exe (on Windows) and all of its
dependencies, and for some reason, everything except chrome.exe is included
in the archive - despite the fact that building the "chrome" target locally
produces chrome.exe.

Thanks for any help,

-Ken
--
--
Chromium Developers mailing list: chromium-***@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/CAMYvS2c5sV%3DgJV3UGgPNhruiczJE0uKLq9tWbYA9svNDwn1tvw%40mail.gmail.com.
Dirk Pranke
2018-11-08 02:42:24 UTC
Permalink
I've posted a fix for the issue (we were missing a data_deps declaration in
the //chrome:chrome target, so things would build correctly, but not be
bundled correctly).

-- Dirk
Post by Ken Russell
Fellow Chromium developers: does anyone understand the build targets
reasonably well and if so could you please comment on
http://crbug.com/902010 ? I was trying to use mb.py's "zip" functionality
to create an archive of chrome.exe (on Windows) and all of its
dependencies, and for some reason, everything except chrome.exe is included
in the archive - despite the fact that building the "chrome" target locally
produces chrome.exe.
Thanks for any help,
-Ken
--
--
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 view this discussion on the web visit https://groups.google.com/a/
chromium.org/d/msgid/chromium-dev/CAMYvS2c5sV%
3DgJV3UGgPNhruiczJE0uKLq9tWbYA9svNDwn1tvw%40mail.gmail.com
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAMYvS2c5sV%3DgJV3UGgPNhruiczJE0uKLq9tWbYA9svNDwn1tvw%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
--
--
Chromium Developers mailing list: chromium-***@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/CAEoffTAhc8DEioryOhAxe68HkQuU3zG5vSbKcr9rxctE8aFD%3Dw%40mail.gmail.com.
Nico Weber
2018-11-08 06:58:00 UTC
Permalink
Somewhat related: On Windows, if you want to get your locally built chrome
and all its dependencies on another machine, you can build the
"mini_installer" target, copy over mini_installer.exe, and run it on the
other machine. That way, you get exactly the files that the regular
installer bundles. This may be easier than using mb (albeit it's
windows-only).
Post by Dirk Pranke
I've posted a fix for the issue (we were missing a data_deps declaration
in the //chrome:chrome target, so things would build correctly, but not be
bundled correctly).
-- Dirk
Post by Ken Russell
Fellow Chromium developers: does anyone understand the build targets
reasonably well and if so could you please comment on
http://crbug.com/902010 ? I was trying to use mb.py's "zip"
functionality to create an archive of chrome.exe (on Windows) and all of
its dependencies, and for some reason, everything except chrome.exe is
included in the archive - despite the fact that building the "chrome"
target locally produces chrome.exe.
Thanks for any help,
-Ken
--
--
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 view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAMYvS2c5sV%3DgJV3UGgPNhruiczJE0uKLq9tWbYA9svNDwn1tvw%40mail.gmail.com
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAMYvS2c5sV%3DgJV3UGgPNhruiczJE0uKLq9tWbYA9svNDwn1tvw%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
--
--
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 view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAEoffTAhc8DEioryOhAxe68HkQuU3zG5vSbKcr9rxctE8aFD%3Dw%40mail.gmail.com
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAEoffTAhc8DEioryOhAxe68HkQuU3zG5vSbKcr9rxctE8aFD%3Dw%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
--
--
Chromium Developers mailing list: chromium-***@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/CAMGbLiEFs9sQAYqX7i24Xi9VuXO%3Da9BeVoqBZDV_s9-ZpVH%2BQw%40mail.gmail.com.
Ken Russell
2018-11-08 18:32:13 UTC
Permalink
Thanks Nico for the tip. I did end up using the mini_installer for this
purpose, but am excited that "mb.py zip" will work portably for moving
Chrome binaries around. Thank you Dirk for tracking down and fixing the
root cause!
Post by Nico Weber
Somewhat related: On Windows, if you want to get your locally built chrome
and all its dependencies on another machine, you can build the
"mini_installer" target, copy over mini_installer.exe, and run it on the
other machine. That way, you get exactly the files that the regular
installer bundles. This may be easier than using mb (albeit it's
windows-only).
Post by Dirk Pranke
I've posted a fix for the issue (we were missing a data_deps declaration
in the //chrome:chrome target, so things would build correctly, but not be
bundled correctly).
-- Dirk
Post by Ken Russell
Fellow Chromium developers: does anyone understand the build targets
reasonably well and if so could you please comment on
http://crbug.com/902010 ? I was trying to use mb.py's "zip"
functionality to create an archive of chrome.exe (on Windows) and all of
its dependencies, and for some reason, everything except chrome.exe is
included in the archive - despite the fact that building the "chrome"
target locally produces chrome.exe.
Thanks for any help,
-Ken
--
--
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 view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAMYvS2c5sV%3DgJV3UGgPNhruiczJE0uKLq9tWbYA9svNDwn1tvw%40mail.gmail.com
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAMYvS2c5sV%3DgJV3UGgPNhruiczJE0uKLq9tWbYA9svNDwn1tvw%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
--
--
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 view this discussion on the web visit
https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAEoffTAhc8DEioryOhAxe68HkQuU3zG5vSbKcr9rxctE8aFD%3Dw%40mail.gmail.com
<https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAEoffTAhc8DEioryOhAxe68HkQuU3zG5vSbKcr9rxctE8aFD%3Dw%40mail.gmail.com?utm_medium=email&utm_source=footer>
.
--
--
Chromium Developers mailing list: chromium-***@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/CAMYvS2cA0i-UMdKWzT75%2Bn60HRQm-kg8hytoz6gH-qAco87SJw%40mail.gmail.com.
Loading...