Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(304)

Issue 2255783003: Make the outdated build detector disabler load and run on XP. (Closed)

Created:
4 years, 4 months ago by grt (UTC plus 2)
Modified:
4 years, 4 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make the outdated build detector disabler load and run on XP. This change: - removes the dependency on base - builds with cl.exe options to target old CPUs and runtimes - drops GYP support - drops building and testing on x64 - archives the tool and symbols on official builders BUG=623986 Committed: https://crrev.com/3f0e4ff02d59664e584a9dff250f8a658b585653 Cr-Commit-Position: refs/heads/master@{#413080}

Patch Set 1 #

Patch Set 2 : fix configs #

Patch Set 3 : tweaks #

Total comments: 2

Patch Set 4 : BUILD.gn simplification #

Patch Set 5 : suppress wstring warnings #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+215 lines, -337 lines) Patch
M BUILD.gn View 1 2 3 3 chunks +5 lines, -1 line 0 comments Download
M build/all.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M build/gn_migration.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/tools/build/win/FILES.cfg View 1 chunk +19 lines, -0 lines 0 comments Download
M chrome/tools/disable_outdated_build_detector/BUILD.gn View 2 chunks +20 lines, -7 lines 2 comments Download
M chrome/tools/disable_outdated_build_detector/constants.h View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/tools/disable_outdated_build_detector/constants.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/tools/disable_outdated_build_detector/disable_outdated_build_detector.h View 2 chunks +1 line, -7 lines 0 comments Download
M chrome/tools/disable_outdated_build_detector/disable_outdated_build_detector.cc View 1 2 3 4 3 chunks +91 lines, -32 lines 0 comments Download
D chrome/tools/disable_outdated_build_detector/disable_outdated_build_detector.gyp View 1 chunk +0 lines, -123 lines 0 comments Download
D chrome/tools/disable_outdated_build_detector/disable_outdated_build_detector.exe.manifest View 1 chunk +0 lines, -11 lines 0 comments Download
M chrome/tools/disable_outdated_build_detector/disable_outdated_build_detector_main.cc View 1 2 1 chunk +14 lines, -17 lines 0 comments Download
M chrome/tools/disable_outdated_build_detector/disable_outdated_build_detector_unittest.cc View 10 chunks +11 lines, -11 lines 0 comments Download
D chrome/tools/disable_outdated_build_detector/disable_outdated_build_detector_unittests.isolate View 1 chunk +0 lines, -19 lines 0 comments Download
M chrome/tools/disable_outdated_build_detector/google_update_integration.h View 1 2 3 4 2 chunks +10 lines, -10 lines 0 comments Download
M chrome/tools/disable_outdated_build_detector/google_update_integration.cc View 1 2 3 4 2 chunks +38 lines, -30 lines 0 comments Download
M testing/buildbot/chromium.fyi.json View 1 8 chunks +0 lines, -48 lines 0 comments Download
M testing/buildbot/chromium.win.json View 1 2 chunks +0 lines, -12 lines 0 comments Download

Messages

Total messages: 35 (23 generated)
grt (UTC plus 2)
fix configs
4 years, 4 months ago (2016-08-18 08:54:28 UTC) #5
grt (UTC plus 2)
The motivation for this change is to get a ToT build through our official build ...
4 years, 4 months ago (2016-08-18 13:14:27 UTC) #17
Dirk Pranke
lgtm https://codereview.chromium.org/2255783003/diff/40001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/2255783003/diff/40001/BUILD.gn#newcode114 BUILD.gn:114: deps += [ "//chrome/tools/disable_outdated_build_detector:disable_outdated_build_detector" ] This should just ...
4 years, 4 months ago (2016-08-18 17:04:56 UTC) #18
S. Ganesh
lgtm
4 years, 4 months ago (2016-08-18 18:37:53 UTC) #19
grt (UTC plus 2)
Thanks https://codereview.chromium.org/2255783003/diff/40001/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/2255783003/diff/40001/BUILD.gn#newcode114 BUILD.gn:114: deps += [ "//chrome/tools/disable_outdated_build_detector:disable_outdated_build_detector" ] On 2016/08/18 17:04:56, ...
4 years, 4 months ago (2016-08-18 20:33:08 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2255783003/60001
4 years, 4 months ago (2016-08-18 20:34:07 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/241153)
4 years, 4 months ago (2016-08-18 20:42:30 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2255783003/80001
4 years, 4 months ago (2016-08-19 06:50:34 UTC) #28
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-19 07:51:31 UTC) #30
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/3f0e4ff02d59664e584a9dff250f8a658b585653 Cr-Commit-Position: refs/heads/master@{#413080}
4 years, 4 months ago (2016-08-19 07:53:06 UTC) #32
Reid Kleckner
https://codereview.chromium.org/2255783003/diff/80001/chrome/tools/disable_outdated_build_detector/BUILD.gn File chrome/tools/disable_outdated_build_detector/BUILD.gn (right): https://codereview.chromium.org/2255783003/diff/80001/chrome/tools/disable_outdated_build_detector/BUILD.gn#newcode13 chrome/tools/disable_outdated_build_detector/BUILD.gn:13: "NTDDI_VERSION=0x05010200", This define conflicts with the global one: https://cs.chromium.org/chromium/src/build/config/win/BUILD.gn?q=NTDDI_VERSION%3D&sq=package:chromium&l=183&dr=C ...
4 years, 4 months ago (2016-08-20 15:30:45 UTC) #34
grt (UTC plus 2)
4 years, 4 months ago (2016-08-20 15:43:59 UTC) #35
Message was sent while issue was closed.
https://codereview.chromium.org/2255783003/diff/80001/chrome/tools/disable_ou...
File chrome/tools/disable_outdated_build_detector/BUILD.gn (right):

https://codereview.chromium.org/2255783003/diff/80001/chrome/tools/disable_ou...
chrome/tools/disable_outdated_build_detector/BUILD.gn:13:
"NTDDI_VERSION=0x05010200",
On 2016/08/20 15:30:45, Reid Kleckner wrote:
> This define conflicts with the global one:
>
https://cs.chromium.org/chromium/src/build/config/win/BUILD.gn?q=NTDDI_VERSIO...
> 
> We're getting -Wmacro-redefined warnings on clang buildbots:
>
https://build.chromium.org/p/chromium.fyi/builders/CrWinAsan/builds/3989/step...
> 
> FAILED: obj/chrome/tools/disable_outdated_build_detector/lib/constants.obj
> ...
> In file included from <built-in>:322:
> <command line>(54,9):  error: 'NTDDI_VERSION' macro redefined
> [-Werror,-Wmacro-redefined]
> #define NTDDI_VERSION 0x05010200
>         ^
> <command line>(42,9):  note: previous definition is here
> #define NTDDI_VERSION 0x0A000000
>         ^

I was afraid of that. There's no easy way around it, as the original definition
is in here:
https://cs.chromium.org/chromium/src/build/config/win/BUILD.gn?dr=C&q=runtime....

Can we live with it for a short time, or disable the warning on these targets?

Powered by Google App Engine
This is Rietveld 408576698