Граф коммитов

94 Коммитов

Автор SHA1 Сообщение Дата
Nico Weber 504a6e4a0f Make reorder-imports.py not depend on .exe files.
This attempts to port https://github.com/google/syzygy/blob/master/syzygy/swapimport/swapimport_app.cc#L143

The motivation is to be able to run this on non-Windows hosts. This is
the last thing that's required to be able to link chrome.exe (with some
other local changes).
Not relying on a checked-in binary also makes changing the script easier.

Bug: 761849
Change-Id: I9956ce5c0929dcb3fd1309a8f0b2acc80b7b92ce
Reviewed-on: https://chromium-review.googlesource.com/649810
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: Scott Graham <scottmg@chromium.org>
Reviewed-by: Chris Hamilton <chrisha@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#499824}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cf357e4d70c3f537994bbbce771b678bc6ef2d3e
2017-09-06 01:01:04 +00:00
Nico Weber aa433c8382 mc: Explicitly sort #define blocks.
Some versions of mc.exe apparently don't do that, see chromium-dev
"message_compiler.py build failure due to innocent enum ordering changes"

Also print a slightly more detailed diff.

Bug: 756607
Change-Id: I100891d0d1d06256448e568b9fa0ed8938d5957b
Reviewed-on: https://chromium-review.googlesource.com/649768
Reviewed-by: Scott Graham <scottmg@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#499663}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 570a3b4c38a155a075e4370a37bf184c7d35bbd4
2017-09-05 17:32:28 +00:00
Nico Weber 61717683e1 Reland "mc: Copy over checked-in outputs on non-Windows hosts."
This reverts commit ea662297506102da12eb1ee04e40fad15b77a1d5.

This also reverts https://chromium-review.googlesource.com/c/chromium/src/+/584691
for non-iOS to make sure that remoting .mc outputs are not different in
official and unofficial builds.

Change-Id: I58fc96c40d1639c9145f576136afca2468459389
Bug: 756607,747637
Reviewed-on: https://chromium-review.googlesource.com/648113
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#499409}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6cff7e77ad345f90dcc46b106620baf4cab3cef8
2017-09-03 02:59:23 +00:00
Łukasz Anforowicz 2fc869313f Revert "mc: Copy over checked-in outputs on non-Windows hosts."
This reverts commit d000a95b5c7189076d3e6d61f243caef3edeaa48.

Reason for revert: Speculating that this CL has caused a tree closure - see https://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Win/builds/21668

Original change's description:
> mc: Copy over checked-in outputs on non-Windows hosts.
> 
> On Windows hosts, verify that the checked-in outputs are identical to
> what mc.exe actually produces.
> 
> Bug: 756607
> Change-Id: If827c2b5d64730a27cf409af25783794366c1843
> Reviewed-on: https://chromium-review.googlesource.com/646659
> Commit-Queue: Nico Weber <thakis@chromium.org>
> Reviewed-by: Scott Graham <scottmg@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#499221}

TBR=thakis@chromium.org,scottmg@chromium.org

Change-Id: I9d2dc77942bdba7198ed442cedb2f3d815510f9f
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 756607
Reviewed-on: https://chromium-review.googlesource.com/648146
Reviewed-by: Łukasz Anforowicz <lukasza@chromium.org>
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#499227}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ea662297506102da12eb1ee04e40fad15b77a1d5
2017-09-01 17:42:14 +00:00
Nico Weber 1285fcddfc mc: Copy over checked-in outputs on non-Windows hosts.
On Windows hosts, verify that the checked-in outputs are identical to
what mc.exe actually produces.

Bug: 756607
Change-Id: If827c2b5d64730a27cf409af25783794366c1843
Reviewed-on: https://chromium-review.googlesource.com/646659
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: Scott Graham <scottmg@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#499221}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d000a95b5c7189076d3e6d61f243caef3edeaa48
2017-09-01 17:03:31 +00:00
Nico Weber 630092e8be Make copy_cdb_to_output work on non-Windows hosts.
Bug: 495204
Change-Id: I3d5e70f019b73841c6c34df26584e8018deeb972
Reviewed-on: https://chromium-review.googlesource.com/646649
Reviewed-by: Scott Graham <scottmg@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#498976}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c8fe09cb98cdfd3e956202251d70415bfcdd0ece
2017-08-31 20:23:42 +00:00
Nico Weber 6932ee9819 win: Let linker convert .manifest file to an embedded resource instead of calling rc.exe.
This has a bunch of minor advantages:
1. It's less code
2. It's a build step less per windows_manifest
3. /manifest:embed automatically sets 1 or 2 based on /dll, so
   clients of windows_manifest() clients no longer need to set type
4. rc.exe is no longer required for every single binary, which
   helps bootstrapping of cross-building some chrome/win binaries
   on non-win

No intended behavior change.

TBR=sergeyu,grt

Bug: 495204
Cq-Include-Trybots: master.tryserver.chromium.win:win10_chromium_x64_rel_ng
Change-Id: I13cd9103829fa535997fa7a7e5ec009dbc1b8039
Reviewed-on: https://chromium-review.googlesource.com/585109
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: Scott Graham <scottmg@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#489729}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 132e149a98b37ee78eaf86434dbe37f22fa40d4c
2017-07-26 19:46:08 +00:00
sebmarchand aa821bdef5 Fix typo in merge_pgc_files.py
BUG=528632
TBR=scottmg@chromium.org
NOTRY=true

Review-Url: https://codereview.chromium.org/2933493002
Cr-Original-Commit-Position: refs/heads/master@{#478182}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f38c70f4d88bc524ca299a5692510852a5d307be
2017-06-09 03:30:11 +00:00
Sebastien Marchand f34c461c7a Add a retry logic in merge_pgc_files.py
pgomgr.exe sometime fails to merge too many files at the same time, with
what seems to be a memory issue (process peak at ~4GB before failing,
it's a 64-bit process so it's probably a size_t/uint32_t issue). I've a
local repro that I'll send to MS, but in the meantime this fix is
required to fix the official build (and the PGO ones in general).

Bug: 729894
Change-Id: I9c862c0179de50ee89b22a03789c9fb0a1071d48
Reviewed-on: https://chromium-review.googlesource.com/528354
Commit-Queue: Sébastien Marchand <sebmarchand@chromium.org>
Reviewed-by: Scott Graham <scottmg@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#478066}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0c6adbef4d5f4722e2a224c90164f30ec9cf26dd
2017-06-08 20:10:47 +00:00
sebmarchand 1caf3a69f3 Update merge_pgc_files.py in preparation for VS2017
pgomgr.exe has been moved to a different location in VS2017 so the logic
that find it should be updated.

It can't just be copied to the build directory because we always run the
x64 bit version of this binary (and we don't want to mix x86 and x64
binaries in the same build dir)

BUG=719319

Review-Url: https://codereview.chromium.org/2884613003
Cr-Original-Commit-Position: refs/heads/master@{#473438}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ab3a1821bb57a51d11be2b038b3a698236ccd5fc
2017-05-20 15:00:06 +00:00
sebmarchand 3f03a3296d Make the PGO profiling step work with VS2017
The PGO build is failing for the VS2017 binaries because some of the
dependencies (pgort140.dll, pgosweep.exe...) have moved to a different
directory of the toolchain.

There's also a change to the profiling script to use a copy of
pgosweep.exe from the build directory rather than the one in the
toolchain's directory, this is required in order to be able to use
Swarming for the profiling step (and this is probably cleaner because
it avoid duplicating the logic that find these runtime dependencies).

BUG=719319

Review-Url: https://codereview.chromium.org/2878693002
Cr-Original-Commit-Position: refs/heads/master@{#471299}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 79a9cbda265c5ab725a0a25d725980bd0b376439
2017-05-12 15:29:26 +00:00
sebmarchand 7db8c546e8 Remove Speedometer from the PGO training set.
This benchmark has been failing (timing out) for months now, so removing it won't affect the performance.

The issue seem to be that Speedometer takes a while to tun, and it's much slower in a PGI build, so we timeout after 10 minutes and at this
point the benchmark is still running. We could increase the timeout
but as mentioned above this has been failing for months and we haven't noticed a performance regression.

BUG=650432

Review-Url: https://codereview.chromium.org/2814103003
Cr-Original-Commit-Position: refs/heads/master@{#465682}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: aa335b32311ded1c056247d4a8baca404de732c6
2017-04-19 18:55:48 +00:00
perezju ae65e15a78 [tools/perf] Remove remaining references to indexeddb_perf benchmark
Benchmark does not exist any more.

BUG=669832

Review-Url: https://codereview.chromium.org/2788643003
Cr-Original-Commit-Position: refs/heads/master@{#461393}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2b8d3e9460b771a757adfc985fa4d1d19bd2d55c
2017-04-03 09:33:49 +00:00
jochen 199e673c90 Enable content shell crash integration test on Windows
BUG=688737,706744
R=dpranke@chromium.org

Review-Url: https://codereview.chromium.org/2782603002
Cr-Original-Commit-Position: refs/heads/master@{#461175}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2511b73c11a55d8bb8a4c730d0cb308fbc821780
2017-03-31 18:24:15 +00:00
sebmarchand 1e7adaaf94 Add a script to merge the PGC files.
Workaround for a flakyness in pgomgr.exe where it can run out of address
space while trying to merge all the PGC files at the same time.

This will also allow to upload the pgd file before running the optimize step.

BUG=674956

Review-Url: https://codereview.chromium.org/2575543002
Review-Url: https://codereview.chromium.org/2575543002
Cr-Original-Commit-Position: refs/heads/master@{#449082}
Committed: 6c18b1e861
Cr-Original-Original-Commit-Position: refs/heads/master@{#448332}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4a19948e1bc13344a301c439445d36b44c207bb1
2017-02-08 20:37:22 +00:00
sebmarchand a5b79d9869 Revert of Add a script to merge the PGC files (patchset #6 id:120001 of https://codereview.chromium.org/2575543002/ )
Reason for revert:
Breaks the PGO bots.

Original issue's description:
> Add a script to merge the PGC files.
>
> Workaround for a flakyness in pgomgr.exe where it can run out of address
> space while trying to merge all the PGC files at the same time.
>
> This will also allow to upload the pgd file before running the optimize step.
>
> BUG=674956
>
> Review-Url: https://codereview.chromium.org/2575543002
> Cr-Commit-Position: refs/heads/master@{#448332}
> Committed: 6c18b1e861

TBR=scottmg@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=674956

Review-Url: https://codereview.chromium.org/2680683002
Cr-Original-Commit-Position: refs/heads/master@{#448561}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6c2f8b4bd17f67d03b3e4d85401a0eaa68597afa
2017-02-07 06:11:01 +00:00
sebmarchand df35027309 Add a script to merge the PGC files.
Workaround for a flakyness in pgomgr.exe where it can run out of address
space while trying to merge all the PGC files at the same time.

This will also allow to upload the pgd file before running the optimize step.

BUG=674956

Review-Url: https://codereview.chromium.org/2575543002
Cr-Original-Commit-Position: refs/heads/master@{#448332}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6c18b1e861ec6a9c96d24b3bd962688e50c83597
2017-02-06 19:05:05 +00:00
scottmg 4bcb7439fc Strip invalid utf-8 characters from mc.exe header output
R=brettw@chromium.org
BUG=454858, 637203

Review-Url: https://codereview.chromium.org/2523593002
Cr-Original-Commit-Position: refs/heads/master@{#433898}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7fff8524e1dc70a10e330b659acddf5ed72eee5f
2016-11-22 17:26:21 +00:00
sebmarchand eb8eb7a953 Remove the syzygy optimization code.
BUG=651078

Review-Url: https://codereview.chromium.org/2420943002
Cr-Original-Commit-Position: refs/heads/master@{#425775}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: dc24dfdf83e70db531ca2dcb1d9a304415951400
2016-10-17 21:04:02 +00:00
sebmarchand 990df4ed18 Fix a typo in the syzygy owners file.
TBR=chrisha@chromium.org

Review-Url: https://codereview.chromium.org/2424493002
Cr-Original-Commit-Position: refs/heads/master@{#425455}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1359025d6eae2635ea7a73fafd273bb3ad4ec7ed
2016-10-14 20:41:30 +00:00
sebmarchand 2107ad980b Add a script to run the PGO benchmarks.
This is mostly a copy of https://cs.chromium.org/chromium/build/scripts/slave/recipe_modules/pgo/resources/run_benchmark.py (which will disappear)

I think that it make more sense to keep this script in the Chrome repo, so people can easily do a local PGO build.

BUG=309849

Review-Url: https://codereview.chromium.org/2368353003
Cr-Original-Commit-Position: refs/heads/master@{#421276}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f3595515a0d2f5345ce56ba276077ad8694c2521
2016-09-27 18:37:21 +00:00
brettw ffe5408f3a Remove GYP files in breakpad, build, and tools.
These are now unused.

Review-Url: https://codereview.chromium.org/2331893004
Cr-Original-Commit-Position: refs/heads/master@{#418010}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8c0eb8ed764590108f0278e5bbbddec3fc14b522
2016-09-12 19:55:25 +00:00
brucedawson 625d00bab6 Switch to VS 2015 Update 3
VS 2015 Update 3 offers numerous improvements such as improved
language conformance, fixes to avoid linker crashes, and
improved code-gen for faster performance. Update 3 also resolves
some problems with incremental linking silently falling back to
a full link.

It also fixes an internal compiler error in /analyze builds.

The landmines change is needed because otherwise things like the
out\Release\cdb directory do not get regenerated.

The process for creating this package is:
- Create a clean Windows VM running Windows Server 2012 R2 (en_windows_server_2012_r2_vl_with_update_x64_dvd_6052766.iso, SHA1: 247EAEE5628850A41F0C51471656AAFB2492EA08, Standard Edition)
- Install depot tools, run ‘gclient’, and add depot_tools to the path
- Install VS 2015 Professional Update 3 - must have been installed after July 12th to get the latest fixes - with these settings and nothing else:
 * Visual C++ and make sure the three nodes underneath are also selected
 * Under Universal Windows App Development Tools make sure the "Tools (1.4.1) and Windows 10 SDK (10.0.14393)" and the "Windows 10 SDK (10.0.10586)" nodes are selected and nothing else
- Copy the *Debugger and Tools*.msi installers from another machine and run them. The 10.0.14393 versions (Anniversary Edition) should be used.
- Then run:
    python depot_tools\win_toolchain\package_from_installed.py 2015

It is also possible to package the 14393 SDK by running this command,
but that change is being saved for later:
    python depot_tools\win_toolchain\package_from_installed.py 2015 -w 10.0.14393.0

BUG=627216,636468,427616,637456

Review-Url: https://codereview.chromium.org/2106203002
Cr-Original-Commit-Position: refs/heads/master@{#417157}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 02343c661ee0482cb73ad0cf861999f2c57eeb11
2016-09-08 01:54:27 +00:00
sebmarchand ffd63e26f2 Move the Syzygy scripts out of //chrome/
Also move the syzygy_optimize and syzygy_asan GN templates to //build/win/syzygy so they can be reused in //content (without adding a dependency with //chrome).

BUG=619086

Committed: https://crrev.com/71a43cab53042f33d77fe8eebe8c2463a92f9758
Review-Url: https://codereview.chromium.org/2126673002
Cr-Original-Commit-Position: refs/heads/master@{#404672}
Cr-Original-Original-Commit-Position: refs/heads/master@{#404503}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3e9548c2068ea978a3ad882e6394cf3493b81dab
2016-07-11 16:34:38 +00:00
sebmarchand 766297ee7f Revert of Move the Syzygy scripts out of //chrome/ (patchset #5 id:80001 of https://codereview.chromium.org/2126673002/ )
Reason for revert:
It's breaking the Gyp Official build and I can't fix this right now.

BUG=626828

Original issue's description:
> Move the Syzygy scripts out of //chrome/
>
> Also move the syzygy_optimize and syzygy_asan GN templates to //build/win/syzygy so they can be reused in //content (without adding a dependency with //chrome).
>
> BUG=619086
>
> Committed: https://crrev.com/71a43cab53042f33d77fe8eebe8c2463a92f9758
> Cr-Commit-Position: refs/heads/master@{#404503}

TBR=chrisha@chromium.org,dpranke@chromium.org,gab@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=619086

Review-Url: https://codereview.chromium.org/2129333002
Cr-Original-Commit-Position: refs/heads/master@{#404530}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 6318d34b911380a6ebb3f1c8787024ba3e3400eb
2016-07-08 23:27:54 +00:00
sebmarchand f6072cc8b8 Move the Syzygy scripts out of //chrome/
Also move the syzygy_optimize and syzygy_asan GN templates to //build/win/syzygy so they can be reused in //content (without adding a dependency with //chrome).

BUG=619086

Review-Url: https://codereview.chromium.org/2126673002
Cr-Original-Commit-Position: refs/heads/master@{#404503}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 71a43cab53042f33d77fe8eebe8c2463a92f9758
2016-07-08 22:04:52 +00:00
kbr e7f16f0d66 Copy more helper DLLs for cdb.exe.
These are required to get access to the !uniqstack command, to be able
to dump all threads' stacks from a minidump.

BUG=609252

Review-Url: https://codereview.chromium.org/2092083004
Cr-Original-Commit-Position: refs/heads/master@{#402295}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: f9319d64b21f372bddd073b46c6bd0a089dc657f
2016-06-27 21:40:34 +00:00
brucedawson f96a4c677f Handle case where WINDOWSSDKDIR is not set
If DEPOT_TOOLS_WIN_TOOLCHAIN=0 and vcvarsall.bat has not been run then
WINDOWSSDKDIR will probably not be set and copying cdb\cdb.exe will fail
when copy_cdb_to_output.py tries to read WINDOWSSDKDIR from environ.
This change handles that case by using the default SDK location.

BUG=616146

Review-Url: https://codereview.chromium.org/2030723002
Cr-Original-Commit-Position: refs/heads/master@{#397483}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 250abd283b7db0274df689e6b0dad571fd180a4f
2016-06-02 18:52:11 +00:00
brettw b1067679c5 Remove user32 delay imports for XP, more GN imports match GYP.
This delay loads additional libraries so the set of delay-loaded and non-delay-loaded libraries is the same between GYP and GN for 32-bit Windows official builds of chrome.exe and chrome.dll. I checked the imported libraries but not the individual functions.

Remove user32 delay imports. This was a hack for Windows XP. I checked all the functions in the list of imports and they are all available on Windows 7. There was a lot of machinery required for this that was removed.

BUG=512861
Reland of https://crrev.com/080e7e885be49295f8373eb0fa54e6772206bc64 with fix.

Review-Url: https://codereview.chromium.org/2008643002
Cr-Original-Commit-Position: refs/heads/master@{#395432}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cc84b6cdb2ba06927c498632c86cb0c81e50e9ec
2016-05-23 22:15:02 +00:00
robliao 3a31f18b44 Add x86 to copy_cdb_to_output Allowed Architectures
GN's target_cpu for a 32-bit build is x86, not ia32. This change allows x86
to be specified.

BUG=604429

Review URL: https://codereview.chromium.org/1899833002

Cr-Original-Commit-Position: refs/heads/master@{#387992}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9612107a4aa97c640fea495fec1eca8bd70c9f76
2016-04-18 20:04:25 +00:00
dyen 86da098fac Ported cdb copying from GYP to GN.
R=scottmg@chromium.org
BUG=561763

Review URL: https://codereview.chromium.org/1884303005

Cr-Original-Commit-Position: refs/heads/master@{#387755}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 22fdd41106d484763d987238b5fda54b4326decf
2016-04-15 23:59:21 +00:00
kbr d2aaa35b46 Added needed call to close() in _HexDigest.
BUG=561763
TBR=dpranke@chromium.org

Review URL: https://codereview.chromium.org/1873493003

Cr-Original-Commit-Position: refs/heads/master@{#385910}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 91e5254fa5611aedf5cb9c540a85aef0a19b92e3
2016-04-07 22:52:05 +00:00
kbr 4e0c864169 Copy cdb.exe into telemetry_chrome_test's isolate.
This binary needs to be available on the Swarming bots, but only
Google employees and the bots have access to the hermetic Windows
toolchain. Since the isolates are only built by these entities, only
copy and bundle them in this situation.

BUG=561763
R=scottmg@chromium.org, nednguyen@chromium.org
TBR=maruel@chromium.org

Review URL: https://codereview.chromium.org/1859013002

Cr-Original-Commit-Position: refs/heads/master@{#385880}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 52685e82ecadd2824732bd6990b8c377142b8b81
2016-04-07 21:39:01 +00:00
scottmg b5d7cc5110 Remove now-unnecessary dbghelp.dll suitable for XP
I added this in
https://bugs.chromium.org/p/chromium/issues/detail?id=460506. I believe
it to be unnecessary now. This is not a shipped DLL, it's only in the
output dir for bots.

R=mark@chromium.org
BUG=579196

Review URL: https://codereview.chromium.org/1857413002

Cr-Original-Commit-Position: refs/heads/master@{#385356}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: cef76b58729443b9fa1c3b1cfa03be50694d20f8
2016-04-06 01:08:40 +00:00
brettw d856275da2 Disable etw_manifest in the GN Windows build.
This is currently hooked up incorrectly, resulting in some extra size. Since nobody depends on using this now, we can disable it.

TBR=brucedawson@chromium.org
BUG=569989

Review URL: https://codereview.chromium.org/1528093003

Cr-Original-Commit-Position: refs/heads/master@{#365645}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b8207ad6c963446716e84d265c03c8d7e90508d9
2015-12-16 22:39:10 +00:00
brettw b568c14f50 Roll buildtools 4a95614772..3ba3ca22ec
In order to roll GN c51453e958..d6763a7390 (r358852:r358968) and pick up
  the following changes:

  d6763a7 Support script response files in GN.
  9eca8d0 include what you use: errno.h in exec_process.cc

Adds shell=True to the message compiler wrapper script. This is required for the new way that GN sets the environment on actions, and matches how it used to run (gyp-win-tool used to set this).

Do the same plus set the environment for the prep_libc step.

TBR=dpranke@chromium.org
CQ_EXTRA_TRYBOTS=tryserver.chromium.mac:mac_chromium_gn_dbg;tryserver.chromium.win:win8_chromium_gn_dbg,win_chromium_gn_x64_rel

Review URL: https://codereview.chromium.org/1433093002

Cr-Original-Commit-Position: refs/heads/master@{#359365}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 46c86d0ba1f6bf1abea78629ccb099eb8285ea7e
2015-11-12 20:12:26 +00:00
brettw e1a94fa35e Unify mc.exe calling in GN, set environment.
There were previously two message compiler wrapper scripts which this unifies into one template and script in build.

Explicitly sets the environment block when running mc.exe. Currently GN sets this automatically but will soon stop doing this.

Review URL: https://codereview.chromium.org/1440693003

Cr-Original-Commit-Position: refs/heads/master@{#359155}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4744642adb27d4c27a8a0cd0e55e1fbeffc9803b
2015-11-11 21:08:02 +00:00
brettw 703aaea4c4 Add cloud_print to the GN build.
There were some existing cloud_print targets that were hooked up only on Linux, but most of the code was Windows-only. This adds the missing targets and should bring us up to GYP parity.

Fix the cloud print size_t to int warnings and remove the warning disable from GYP.

Move generated resources file from cloud_print/resources.h to cloud_print/service/resources.h to match where the source file is.

Cloud print does some messy things to get the content switches constants, including the file directly in its sources and manually setting LINK_CONTENT_STATICALLY for all targets. In GN, this adds a static_switches target in content that does this in an official way.

Reland of https://codereview.chromium.org/1397433004/ with grid directory fixes
Reland of https://codereview.chromium.org/1393123003/ with warning fixes
TBR=dpranke

Review URL: https://codereview.chromium.org/1408623002

Cr-Original-Commit-Position: refs/heads/master@{#354154}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 70b359a5032e58cb8309a16068868f63cba00c45
2015-10-14 23:45:43 +00:00
mpearson 236b5d9e90 Revert of Add cloud_print to the GN build. (patchset #1 id:1 of https://codereview.chromium.org/1397433004/ )
Reason for revert:
Causes compile failures:
http://build.chromium.org/p/chromium/builders/Win/builds/36509/steps/compile/logs/stdio

ninja:error: 'gen/cloud_print/service_resources_en.rc', needed by 'obj/cloud_print/service/win/gen/cloud_print/cloud_print_service.service_resources_en.res', missing and no known rule to make it

Original issue's description:
> Add cloud_print to the GN build.
>
> There were some existing cloud_print targets that were hooked up only on Linux, but most of the code was Windows-only. This adds the missing targets and should bring us up to GYP parity.
>
> Fix the cloud print size_t to int warnings and remove the warning disable from GYP.
>
> Move generated resources file from cloud_print/resources.h to cloud_print/service/resources.h to match where the source file is.
>
> Cloud print does some messy things to get the content switches constants, including the file directly in its sources and manually setting LINK_CONTENT_STATICALLY for all targets. In GN, this adds a static_switches target in content that does this in an official way.
>
> Reland of https://codereview.chromium.org/1393123003/ with warning fixes
> TBR=dpranke
>
> Committed: https://crrev.com/70d2f990df7755c6e76aa20f156ff1f92a25f318
> Cr-Commit-Position: refs/heads/master@{#354089}

TBR=dpranke@google.com,brettw@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

Review URL: https://codereview.chromium.org/1409563002

Cr-Original-Commit-Position: refs/heads/master@{#354098}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 297953be4033da6b26b9d084350b96c326aacefb
2015-10-14 20:26:57 +00:00
brettw 70518b2b24 Add cloud_print to the GN build.
There were some existing cloud_print targets that were hooked up only on Linux, but most of the code was Windows-only. This adds the missing targets and should bring us up to GYP parity.

Fix the cloud print size_t to int warnings and remove the warning disable from GYP.

Move generated resources file from cloud_print/resources.h to cloud_print/service/resources.h to match where the source file is.

Cloud print does some messy things to get the content switches constants, including the file directly in its sources and manually setting LINK_CONTENT_STATICALLY for all targets. In GN, this adds a static_switches target in content that does this in an official way.

Reland of https://codereview.chromium.org/1393123003/ with warning fixes
TBR=dpranke

Review URL: https://codereview.chromium.org/1397433004

Cr-Original-Commit-Position: refs/heads/master@{#354089}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 70d2f990df7755c6e76aa20f156ff1f92a25f318
2015-10-14 19:52:52 +00:00
thakis 91cb25d599 Revert of Add cloud_print to the GN build. (patchset #5 id:80001 of https://codereview.chromium.org/1393123003/ )
Reason for revert:
Broke http://build.chromium.org/p/chromium.win/builders/Win%20x64%20Builder%20%28dbg%29/builds/14017

Original issue's description:
> Add cloud_print to the GN build.
>
> There were some existing cloud_print targets that were hooked up only on Linux, but most of the code was Windows-only. This adds the missing targets and should bring us up to GYP parity.
>
> Fix the cloud print size_t to int warnings and remove the warning disable from GYP.
>
> Move generated resources file from cloud_print/resources.h to cloud_print/service/resources.h to match where the source file is.
>
> Cloud print does some messy things to get the content switches constants, including the file directly in its sources and manually setting LINK_CONTENT_STATICALLY for all targets. In GN, this adds a static_switches target in content that does this in an official way.
>
> Committed: https://crrev.com/53eae14bacb401632d4f2045ed8715705dcd8d1d
> Cr-Commit-Position: refs/heads/master@{#353928}

TBR=dpranke@chromium.org,brettw@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

Review URL: https://codereview.chromium.org/1407623003

Cr-Original-Commit-Position: refs/heads/master@{#353938}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 515fe9b0261a76412f696062c0c70440db743118
2015-10-14 01:24:31 +00:00
brettw b992877cf7 Add cloud_print to the GN build.
There were some existing cloud_print targets that were hooked up only on Linux, but most of the code was Windows-only. This adds the missing targets and should bring us up to GYP parity.

Fix the cloud print size_t to int warnings and remove the warning disable from GYP.

Move generated resources file from cloud_print/resources.h to cloud_print/service/resources.h to match where the source file is.

Cloud print does some messy things to get the content switches constants, including the file directly in its sources and manually setting LINK_CONTENT_STATICALLY for all targets. In GN, this adds a static_switches target in content that does this in an official way.

Review URL: https://codereview.chromium.org/1393123003

Cr-Original-Commit-Position: refs/heads/master@{#353928}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 53eae14bacb401632d4f2045ed8715705dcd8d1d
2015-10-14 00:50:16 +00:00
thakis 6d10b865bc win: Let reorder-imports.py fail if its invocation of swapimport.exe fails.
At first I didn't hook up the script correctly in the gn build.  swapimport.exe
printed

  ERROR:swapimport_app.cc(214)] Path does not exist: ../../chrome/initialexe\chrome.exe

but that didn't make the build fail -- instead, it silently left the old
chrome.exe (from prior builds) around.  Make it so that swapimport.exe failing
makes the build fail.

BUG=505062, 512599

Review URL: https://codereview.chromium.org/1363243002

Cr-Original-Commit-Position: refs/heads/master@{#350482}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7c3c949a348b5f6e47eea84f5d533918d816fba4
2015-09-24 05:09:26 +00:00
brettw aceefa533a Preliminary support for Windows manifests in the GN build.
Adds manifest data for content shell. The result matches the GYP build.

Attaches a default manifest to all tests in the GN build. The GYP build's tests have manifests that specify elevation only. In GN it also specifies Windows and common control compat that matches what we ship with Chrome.

BUG=510612
TBR=dpranke@chromium.org
Reland of https://codereview.chromium.org/1240893004/ with no cloud print or remoting changes

Review URL: https://codereview.chromium.org/1238293005

Cr-Original-Commit-Position: refs/heads/master@{#339709}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2e2220c02f2bbd3116b7b718aad627f37ad59b92
2015-07-21 18:57:19 +00:00
Nico Weber 42d869161d Revert "Preliminary support for Windows manifests in the GN build."
This reverts https://codereview.chromium.org/1240893004/ , it broke
building remoting in the gyp build (see comment on the review).

TBR=brettw@chromium.org

Review URL: https://codereview.chromium.org/1249723002.

Cr-Original-Commit-Position: refs/heads/master@{#339669}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 13e350d3f0ff78bd0e6b96c83ffbd428d695acac
2015-07-21 17:02:40 +00:00
brettw 0d6d43867d Preliminary support for Windows manifests in the GN build.
Adds manifest data for content shell. The result matches the GYP build.

Attaches a default manifest to all tests in the GN build. The GYP build's tests have manifests that specify elevation only. In GN it also specifies Windows and common control compat that matches what we ship with Chrome.

Moved the common control compat files that were duplicated to a shared place in build/win, update cloud_print and remoting which had their own copies to use this shared one.

BUG=510612

Review URL: https://codereview.chromium.org/1240893004

Cr-Original-Commit-Position: refs/heads/master@{#339663}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c34cad367a0557d8b029fb81d04cc37b5979fee0
2015-07-21 16:17:11 +00:00
hans 577b38e6e8 Update Clang build script and gyp file for 3.8.0 version bump
BUG=510304

Review URL: https://codereview.chromium.org/1239653004

Cr-Original-Commit-Position: refs/heads/master@{#338942}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 1fc27722fcfed8dc4b8e6e1c98062d50de36e2a1
2015-07-15 23:07:31 +00:00
thakis e72f6f6aae clang/win: Make diagnostics colored if ansicon is around at runhooks time.
BUG=82385
TEST=Run gyp or gn with ansicon active, build. Diagnostics should be colored
in cmd.exe.

Review URL: https://codereview.chromium.org/1194823004

Cr-Original-Commit-Position: refs/heads/master@{#335394}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 59fc7718fefd2c93e1acd94c4d5a405949a0cf10
2015-06-19 23:44:00 +00:00
Scott Graham 7599696007 Fix +x on Windows-only binary after 92d69f7733
TBR=cpu@chromium.org

Review URL: https://codereview.chromium.org/948923002

Cr-Original-Commit-Position: refs/heads/master@{#317659}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8a75f28fac6c844bd77d593990fcd19d81d65731
2015-02-23 21:53:20 +00:00
Scott Graham f7c6ccd43b Add dbghelp.dll that works on XP, and include in base.isolate
This fixes the hang that caused the addition of the early out in
stack_trace_win.cc.

Removing that in turn fixes symbolization of stack traces on XP bots.

R=cpu@chromium.org
BUG=460506

Review URL: https://codereview.chromium.org/943933005

Cr-Original-Commit-Position: refs/heads/master@{#317651}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 92d69f7733f4028cf8b3d5b4b97a31173e687594
2015-02-23 21:15:53 +00:00