--
--
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/CANHK6RabRuUqNdBLWR7HHCYY3vchf1yxF48xV5yOwVXdMzB0Lg%40mail.gmail.com.
This broke the Chrome ebuilds in Chrome OS for me, see http://crbug.com/855791#c18 for details. I have a partial fix at http://crrev.com/c/1118162 but there are missing dynamic libraries and I do not know how to put those in the search path correctly.
- Bartosz
On 28/06/18 07:22, Scott Graham wrote:
--After r571031, the location of the GN binary has changed. You'll need to run: `gn gen out/whatever`.
Details:
The GN binary moved from buildtools/$os/gn[.exe] => third_party/gn/gn[.exe].
This breaks GN's automatic regeneration because GN tries to re-run the binary that was used initially to generate the project. That old location has been replaced with a binary that says the same thing as this PSA and errors out, because we wanted to be sure that there were no lingering scripts pointing at the old location (which could have caused much confusion later on.)
When you manually run "gn", it will be using the wrapper script in depot_tools which will forward to the correct (new) location, but auto-regeneration doesn't do that.
Apologies for the churn.
--
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+unsubscribe@chromium.org.
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/CANHK6RabRuUqNdBLWR7HHCYY3vchf1yxF48xV5yOwVXdMzB0Lg%40mail.gmail.com.
--
--
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 view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/426832d7-4092-42dd-b61b-6cf25d18064a%40chromium.org.
Software Engineer
Google Germany GmbH
Erika-Mann-Straße 33 80636 München
Geschäftsführer: Paul Manicle, Halimah DeLaine Prado
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Diese E-Mail ist vertraulich. Falls sie diese fälschlicherweise erhalten haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen, dass die E-Mail an die falsche Person gesendet wurde. This e-mail is confidential. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it has gone to the wrong person.
--
--
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 view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CANHK6RabRuUqNdBLWR7HHCYY3vchf1yxF48xV5yOwVXdMzB0Lg%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+unsubscribe@chromium.org.
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/76ca65b8-8e93-448e-ae54-67a21f10ac1b%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/76ca65b8-8e93-448e-ae54-67a21f10ac1b%40chromium.org.
Scott Graham <sco...@chromium.org> writes:
> After r571031, the location of the GN binary has changed. You'll need
> to run: `gn gen out/whatever`.
>
> Details:
>
> The GN binary moved from buildtools/$os/gn[.exe] =>
> third_party/gn/gn[.exe].
>
> This breaks GN's automatic regeneration because GN tries to re-run the
> binary that was used initially to generate the project. That old
> location has been replaced with a binary that says the same thing as
> this PSA and errors out
Actually, that did not happen here.
ninja: Entering directory `out/Debug/'
[1/1] Regenerating ninja files
FAILED: build.ninja
../../buildtools/mac/gn --root=../.. -q gen .
/bin/sh: ../../buildtools/mac/gn: Permission denied
ninja: error: rebuilding 'build.ninja': subcommand failed
Then I did a chmod +x on that file, and THEN I got the message.
> Apologies for the churn.
Will this happen every time we move before or past this commit
(e.g. when bisecting)?
This broke the Chrome ebuilds in Chrome OS for me, see http://crbug.com/855791#c18 for details. I have a partial fix at http://crrev.com/c/1118162 but there are missing dynamic libraries and I do not know how to put those in the search path correctly.
Hi Scott,This probably broke every project based on Chromium that fetches src/ via a recurse_deps due to how the gn wrapper works [1]. What those projects usually do is to fetch their repository in a sub-directory of src/, say src/$internal/, and use a recurse_deps in src/$internal/DEPS to fetch src/. Both iOS and Android internal repositories at Google are set up this way, and from the email thread, it appears this may also be the case for Chrome OS. Branch builds using buildspec are also setup this way (but this may have changed, I've not build a branch for some time).For those affected (i.e. people working on downstream iOS, Android, Chrome OS repositories), a quick workaround is to create a symlink from src/$internal/third_party/gn pointing to src/third_party/gn.-- Sylvain