--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
--
Are there any down sides to adding the target_os line in the .gclient
file? Will gclient forget to run some hooks as a result due to
thinking os=Android instead of os=Linux somewhere?
Are there any down sides to adding the target_os line in the .gclient
file? Will gclient forget to run some hooks as a result due to
thinking os=Android instead of os=Linux somewhere?
(sorry for the late reply on this topic)I've used to use an Android checkout to also develop for Linux and it worked well for most situations. The issue I had was that GYP configurations wouldn't be fully correct when compiling for Linux resulting in a slightly different build. In my case some tests that were expected to be built and run did not and I it took me a while to understand what was going on. This is apparently the case due to limitations on how GYP configuration works; maybe GN could to better in that area.
An android checkout is a strict superset of a Linux checkout, so if you have issues something is wrong and you should let us know exactly what so we can debug it. :)
I use btrfs snapshots to be able to work on an arbitrary number of things at once, by snapshotting my checkout to make a copy-on-write copy that can throw away when I'm done, with all unchanged files (including all the git data) shared.
--
An android checkout is a strict superset of a Linux checkout, so if you have issues something is wrong and you should let us know exactly what so we can debug it. :)
I use btrfs snapshots to be able to work on an arbitrary number of things at once, by snapshotting my checkout to make a copy-on-write copy that can throw away when I'm done, with all unchanged files (including all the git data) shared.
On Wed, Nov 11, 2015 at 12:07 PM Torne (Richard Coles) <to...@chromium.org> wrote:An android checkout is a strict superset of a Linux checkout, so if you have issues something is wrong and you should let us know exactly what so we can debug it. :)
In terms of the artifacts I'm pretty sure it is but not for the build configuration. In my specific case I was seeing differences between the set of *Prerender* and *SafeBrowsing* browser_tests when compiling for Linux on an (internal) Android checkout and a Chromium checkout. And yes, I was using separate output directories.As android has a much more limited SafeBrowsing implementation less tests are run for it and this characteristic seemed to be "escaping" the Android boundaries and affecting the Linux builds.But I just tried reproducing this (it originally happened around mid-September) and I couldn't: the lists of tests are now identical. So whatever the problem was it seems to be fixed. Maybe I just got a bad GYP configuration back then?
I use btrfs snapshots to be able to work on an arbitrary number of things at once, by snapshotting my checkout to make a copy-on-write copy that can throw away when I'm done, with all unchanged files (including all the git data) shared.
Looks like a good workflow to save on disk space (just learned what btrfs is). Is it really stable enough for regular usage?
--
Being able to share branches among the different working directories and saving on disk space and having to update from the remote branch only once sounds like the better solution so far. Thanks for those instructions, I'll take a look.
(sorry for the late reply on this topic)I've used to use an Android checkout to also develop for Linux and it worked well for most situations. The issue I had was that GYP configurations wouldn't be fully correct when compiling for Linux resulting in a slightly different build. In my case some tests that were expected to be built and run did not and I it took me a while to understand what was going on. This is apparently the case due to limitations on how GYP configuration works; maybe GN could to better in that area.