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

Issue 1517983003: tools/gn: depend on malloc_dump_provider.cc to keep bootstrap working (Closed)

Created:
5 years ago by tfarina
Modified:
5 years ago
Reviewers:
brettw, ionlupascu
CC:
chromium-reviews, tfarina, Dirk Pranke
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

tools/gn: depend on malloc_dump_provider.cc to keep bootstrap working This patch adds the missing base/trace_event/malloc_dump_provider.cc to the sources list to keep the boostrap process working and to fix the undefined reference error as below: Undefined symbols for architecture x86_64: "base::trace_event::MallocDumpProvider::GetInstance()", referenced from: base::trace_event::MemoryDumpManager::Initialize(base::trace_event::MemoryDumpManagerDelegate*, bool) in base.a(memory_dump_manager.o) "base::trace_event::MallocDumpProvider::kAllocatedObjects", referenced from: base::trace_event::MemoryDumpManager::kSystemAllocatorPoolName in base.a(memory_dump_manager.o) BUG=568437 TEST=./tools/gn/bootstrap/bootstrap.py TBR=brettw@chromium.org Committed: https://crrev.com/8c8cc28366502d308586eec95f8ad919c6dc7ab4 Cr-Commit-Position: refs/heads/master@{#364802}

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M tools/gn/bootstrap/bootstrap.py View 1 chunk +1 line, -0 lines 4 comments Download

Messages

Total messages: 10 (3 generated)
tfarina
TBRing...
5 years ago (2015-12-11 20:03:47 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1517983003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1517983003/1
5 years ago (2015-12-11 20:06:08 UTC) #3
brettw
lgtm
5 years ago (2015-12-11 20:06:33 UTC) #4
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-12-11 21:13:47 UTC) #5
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/8c8cc28366502d308586eec95f8ad919c6dc7ab4 Cr-Commit-Position: refs/heads/master@{#364802}
5 years ago (2015-12-11 21:15:34 UTC) #7
ionlupascu
Please apply a correct fix by not braking windows build. https://codereview.chromium.org/1517983003/diff/1/tools/gn/bootstrap/bootstrap.py File tools/gn/bootstrap/bootstrap.py (right): https://codereview.chromium.org/1517983003/diff/1/tools/gn/bootstrap/bootstrap.py#newcode251 ...
5 years ago (2015-12-11 21:48:17 UTC) #9
tfarina
5 years ago (2015-12-11 22:18:24 UTC) #10
Message was sent while issue was closed.
https://codereview.chromium.org/1517983003/diff/1/tools/gn/bootstrap/bootstra...
File tools/gn/bootstrap/bootstrap.py (right):

https://codereview.chromium.org/1517983003/diff/1/tools/gn/bootstrap/bootstra...
tools/gn/bootstrap/bootstrap.py:251: 'base/trace_event/malloc_dump_provider.cc',
On 2015/12/11 21:48:17, ionlupascu wrote:
> Your fix is wrong.
> By doing this you brake windows build.
> 
> please add it to the to mac specific. On linux is already added.

Done. https://codereview.chromium.org/1521063002

Powered by Google App Engine
This is Rietveld 408576698