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

7 Коммитов

Автор SHA1 Сообщение Дата
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
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
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