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

Issue 9516005: Move the build config logic for our memory tools into common.gypi. (Closed)

Created:
8 years, 9 months ago by Reid Kleckner
Modified:
8 years, 9 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Move the build config logic for our memory tools into common.gypi. This change allows us to tweak these options without restarting the build masters and submit try jobs that tweak them. It also simplifies usage of these tools, because instead of copying and pasting a large block of gyp variables from tools/build/scripts/masters/factor/chromium_factory.py into GYP_DEFINES or .gyp/include.gyp, developers can simply set build_for_tool=mytool. My plan is to change the chromium.fyi master to use build_for_tool=* first, and revert if those bots break. If they stay green, I'll send a change to update chromium.memory.fyi and completely remove ChromiumFactory.MEMORY_TOOLS_GYP_DEFINES. I intend to remove all the otherwise unused (win_)(release|debug)_* options that we exposed later. This change is supposed to be the simplest thing that works. R=maruel@chromium.org,timurrrr@chromium.org BUG=109780 TEST=built with build_for_tool=drmemory locally Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=124323

Patch Set 1 #

Total comments: 6

Patch Set 2 : change comments #

Patch Set 3 : set build_for_tool="" by default. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -0 lines) Patch
M build/common.gypi View 1 2 2 chunks +54 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Reid Kleckner
8 years, 9 months ago (2012-02-28 22:29:18 UTC) #1
Marc-Antoine Ruel (Google)
lgtm https://chromiumcodereview.appspot.com/9516005/diff/1/build/common.gypi File build/common.gypi (right): https://chromiumcodereview.appspot.com/9516005/diff/1/build/common.gypi#newcode960 build/common.gypi:960: '-g -fno-inline -fno-omit-frame-pointer -fno-builtin -fno-optimize-sibling-calls', style nit: you ...
8 years, 9 months ago (2012-02-29 00:03:41 UTC) #2
Timur Iskhodzhanov
LGTM with a couple of suggestions https://chromiumcodereview.appspot.com/9516005/diff/1/build/common.gypi File build/common.gypi (right): https://chromiumcodereview.appspot.com/9516005/diff/1/build/common.gypi#newcode964 build/common.gypi:964: # MSVS flags ...
8 years, 9 months ago (2012-02-29 09:14:18 UTC) #3
Reid Kleckner
mostly comment changes, going to CQ http://codereview.chromium.org/9516005/diff/1/build/common.gypi File build/common.gypi (right): http://codereview.chromium.org/9516005/diff/1/build/common.gypi#newcode960 build/common.gypi:960: '-g -fno-inline -fno-omit-frame-pointer ...
8 years, 9 months ago (2012-02-29 20:20:16 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rnk@chromium.org/9516005/6001
8 years, 9 months ago (2012-02-29 20:20:35 UTC) #5
commit-bot: I haz the power
Try job failure for 9516005-6001 on win_rel for step "update". http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=5255 Step "update" is always ...
8 years, 9 months ago (2012-02-29 20:25:41 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rnk@chromium.org/9516005/14001
8 years, 9 months ago (2012-02-29 20:38:30 UTC) #7
commit-bot: I haz the power
Try job failure for 9516005-14001 (retry) on linux_rel for step "ui_tests". It's a second try, ...
8 years, 9 months ago (2012-02-29 22:09:40 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rnk@chromium.org/9516005/14001
8 years, 9 months ago (2012-02-29 22:16:47 UTC) #9
commit-bot: I haz the power
8 years, 9 months ago (2012-03-01 01:29:48 UTC) #10
Change committed as 124323

Powered by Google App Engine
This is Rietveld 408576698