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

Issue 2575973002: Add a GN arg to include PartitionAlloc sources (Closed)

Created:
4 years ago by xunjieli
Modified:
4 years ago
Reviewers:
palmer, dcheng
CC:
chromium-reviews, vmpstr+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a GN arg to include PartitionAlloc sources This CL adds a GN arg so that the PartitionAlloc sources can be included or excluded. Since PartitionAlloc is still under development and not used by all components that depend on base/, this will give an option to binary size sensitive projects(e.g. Cronet) to not bear the size increase in the meanwhile. BUG=674570 Committed: https://crrev.com/7519f1f1bff997fade77a4dec1f4bcbe2bc858aa Cr-Commit-Position: refs/heads/master@{#438842}

Patch Set 1 : self review #

Patch Set 2 : change to include by default #

Total comments: 2

Patch Set 3 : address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -2 lines) Patch
M base/BUILD.gn View 1 2 3 chunks +7 lines, -2 lines 0 comments Download

Messages

Total messages: 36 (27 generated)
xunjieli
palmer@: PTAL. Will something like this work for you?
4 years ago (2016-12-14 19:46:48 UTC) #5
palmer
You'll need to also set enable_partition_alloc = true for (currently) all build targets that use ...
4 years ago (2016-12-14 19:52:12 UTC) #8
xunjieli
On 2016/12/14 19:52:12, palmer wrote: > You'll need to also set enable_partition_alloc = true for ...
4 years ago (2016-12-14 22:04:44 UTC) #13
palmer
LGTM. https://codereview.chromium.org/2575973002/diff/40001/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/2575973002/diff/40001/base/BUILD.gn#newcode46 base/BUILD.gn:46: exclude_partition_alloc = is_ios Nit: My instinct is to ...
4 years ago (2016-12-14 23:28:54 UTC) #18
xunjieli
dcheng@chromium.org: Please review changes in base/BUILD.gn Thanks! https://codereview.chromium.org/2575973002/diff/40001/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/2575973002/diff/40001/base/BUILD.gn#newcode46 base/BUILD.gn:46: exclude_partition_alloc = ...
4 years ago (2016-12-15 15:07:53 UTC) #23
dcheng
lgtm
4 years ago (2016-12-15 16:04:10 UTC) #26
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/2575973002/60001
4 years ago (2016-12-15 16:10:44 UTC) #31
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years ago (2016-12-15 16:15:01 UTC) #34
commit-bot: I haz the power
4 years ago (2016-12-15 16:19:07 UTC) #36
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7519f1f1bff997fade77a4dec1f4bcbe2bc858aa
Cr-Commit-Position: refs/heads/master@{#438842}

Powered by Google App Engine
This is Rietveld 408576698