summaryrefslogtreecommitdiff
path: root/chromium/docs/win_cross.md
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2018-05-03 13:42:47 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2018-05-15 10:27:51 +0000
commit8c5c43c7b138c9b4b0bf56d946e61d3bbc111bec (patch)
treed29d987c4d7b173cf853279b79a51598f104b403 /chromium/docs/win_cross.md
parent830c9e163d31a9180fadca926b3e1d7dfffb5021 (diff)
downloadqtwebengine-chromium-8c5c43c7b138c9b4b0bf56d946e61d3bbc111bec.tar.gz
BASELINE: Update Chromium to 66.0.3359.156
Change-Id: I0c9831ad39911a086b6377b16f995ad75a51e441 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'chromium/docs/win_cross.md')
-rw-r--r--chromium/docs/win_cross.md38
1 files changed, 17 insertions, 21 deletions
diff --git a/chromium/docs/win_cross.md b/chromium/docs/win_cross.md
index 926a5529143..2ba25add7ba 100644
--- a/chromium/docs/win_cross.md
+++ b/chromium/docs/win_cross.md
@@ -8,13 +8,14 @@ What does *not* work:
* goma. Sorry. ([internal bug](http://b/64390790)) You can use the
[jumbo build](jumbo.md) for faster build times.
-* mini_installer ([bug](https://crbug.com/762073))
+* 64-bit renderer processes don't use V8 snapshots, slowing down their startup
+ ([bug](https://crbug.com/803591))
* on Mac hosts, building a 32-bit chrome ([bug](https://crbug.com/794838))
All other targets build fine (including `chrome`, `browser_tests`, ...).
Uses of `.asm` files have been stubbed out. As a result, some of Skia's
-software rendering paths are not present in cross builds, Crashpad cannot
+software rendering fast paths are not present in cross builds, Crashpad cannot
report crashes, and NaCl defaults to disabled and cannot be enabled in
cross builds ([.asm bug](https://crbug.com/762167)).
@@ -51,26 +52,21 @@ Add `target_os = "win"` to your args.gn. Then just build, e.g.
ninja -C out/gnwin base_unittests.exe
+## Copying and running chrome
+
+A convenient way to copy chrome over to a Windows box is to build the
+`mini_installer` target. Then, copy just `mini_installer.exe` over
+to the Windows box and run it to install the chrome you just built.
+
## Running tests on swarming
You can run the Windows binaries you built on swarming, like so:
- tools/mb/mb.py isolate //out/gnwin base_unittests
- tools/swarming_client/isolate.py archive \
- -I https://isolateserver.appspot.com \
- -i out/gnwin/base_unittests.isolate \
- -s out/gnwin/base_unittests.isolated
- tools/swarming_client/swarming.py trigger \
- -S https://chromium-swarm.appspot.com \
- -I https://isolateserver.appspot.com \
- -d os Windows -d pool Chrome -s <hash printed by previous command>
- [ -- <flag to target process, for example --gtest_filter>... ]
-
-Most tests that build should pass. However, the cross build uses
-the lld linker, and a couple of tests fail when using lld. You can look at
-https://build.chromium.org/p/chromium.clang/builders/CrWinClangLLD%20tester
-to get an idea of which tests fail with lld.
-
-TODO(thakis): It'd be nice if there was a script for doing this. Maybe make
-tools/fuchsa/run-swarmed.py work for win cross builds too, or create
-`run_base_unittests` script targets during the build (like Android).
+ tools/run_swarmed.py -C out/gnwin -t base_unittests [ --gtest_filter=... ]
+
+See the contents of run_swarmed.py for how to do this manually.
+
+There's a bot doing 64-bit release cross builds at
+https://ci.chromium.org/buildbot/chromium.clang/linux-win_cross-rel/
+which also runs tests. You can look at it to get an idea of which tests pass in
+the cross build.