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

Issue 1497813002: allocator cleanup: set use_allocator=none for mac and ios (Closed)

Created:
5 years ago by Primiano Tucci (use gerrit)
Modified:
5 years ago
Reviewers:
Mark Mentovai, Nico
CC:
chromium-reviews, ssid
Base URL:
https://chromium.googlesource.com/chromium/src.git@allocator_gyp
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

allocator cleanup: set use_allocator=none for mac and ios Conversely to what the title suggests, this CL doesn't have any real effect on mac/ios. Rationale: today mac/ios have use_allocator:tcmalloc just because that (tcmalloc) is the default value in common.gypi. As a matter of facts, all the targets that include allocator.gyp are conditioned by the flags os=win or os=linux (or variants) and never actually depend on allocator on mac/ios. In gn instead (see build/config/allocator.gni), use_allocator is explicitly 'none' for mac and ios. In essence this CL just re-establishes order in the value of use_allocator on mac/ios in GYP, setting it to 'none'. This is part of the allocator cleanup, phase 1 (see http://bit.ly/allocator-cleanup). After this CL, the various gyp targets are still conditionally depending on allocator.gyp. Those will be cleaned up in subsequent CLs. The effect of this CL can be seen in the diff ninja files: os=mac: http://pastebin.com/UWvGRUz3 os=mac component=shared_library http://pastebin.com/E8cdSZDe The only difference there is that the targets 'allocator' and 'allocator_unittest' are not built anymore. Previously they where built but not depended on. BUG=564618 Committed: https://crrev.com/79a9c7f80d3059e696b8c8dd0e00546f3fa6edf8 Cr-Commit-Position: refs/heads/master@{#363182}

Patch Set 1 #

Total comments: 1

Patch Set 2 : add comment #

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

Depends on Patchset:

Messages

Total messages: 18 (11 generated)
Primiano Tucci (use gerrit)
PTAL to this one liner (in the most insane file of our codebase)
5 years ago (2015-12-03 17:09:15 UTC) #4
Mark Mentovai
LGTM
5 years ago (2015-12-03 20:38:57 UTC) #7
Nico
lgtm https://codereview.chromium.org/1497813002/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/1497813002/diff/1/build/common.gypi#newcode1898 build/common.gypi:1898: 'use_allocator%': 'none', Maybe add a short comment what ...
5 years ago (2015-12-03 20:49:46 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1497813002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1497813002/20001
5 years ago (2015-12-04 09:32:47 UTC) #13
Primiano Tucci (use gerrit)
+ssid FYI
5 years ago (2015-12-04 09:36:07 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-04 10:47:10 UTC) #16
commit-bot: I haz the power
5 years ago (2015-12-04 10:48:11 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/79a9c7f80d3059e696b8c8dd0e00546f3fa6edf8
Cr-Commit-Position: refs/heads/master@{#363182}

Powered by Google App Engine
This is Rietveld 408576698