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

Issue 1794943006: Make the allocator_features gyp target target-only (Closed)

Created:
4 years, 9 months ago by Primiano Tucci (use gerrit)
Modified:
4 years, 9 months ago
Reviewers:
brettw
CC:
chromium-reviews, wfh+watch_chromium.org, Dai Mikurube (NOT FULLTIME)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make the allocator_features gyp target target-only allocator_features uses buildflag_header to generate a header at build time. In host/target builds, both the #host and #target targets have a ninja rule for the same path, which is bad. This CL makes allocator_features follow the same pattern of base_debugging_flags (target-only, everything else explicitly refers to the #target veriant) I verified that the problem reproduces without this patch by doing: $ build/gyp_chromium -DOS=android -Duse_experimental_allocator_shim=1 $ ninja -w dupbuild=err -n -C out_android/Release/ all ninja: warning: multiple rules generate gen/base/allocator/features.h. builds involving this target will not be correct; And this CL fixes it. BUG=593695 Committed: https://crrev.com/d19a104896da1904ac7b013a5cd6b4ffc205098d Cr-Commit-Position: refs/heads/master@{#381289}

Patch Set 1 #

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M base/allocator/allocator.gyp View 1 chunk +2 lines, -1 line 0 comments Download
M base/base.gyp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (5 generated)
Primiano Tucci (use gerrit)
brettw PTAL, small fix to avoid duplicated generation of allocator header. Q: is there anything ...
4 years, 9 months ago (2016-03-14 13:49:45 UTC) #3
sdefresne
On 2016/03/14 at 13:49:45, primiano wrote: > brettw PTAL, small fix to avoid duplicated generation ...
4 years, 9 months ago (2016-03-15 10:53:50 UTC) #4
brettw
lgtm
4 years, 9 months ago (2016-03-15 17:01:55 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1794943006/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1794943006/20001
4 years, 9 months ago (2016-03-15 18:05:16 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-15 19:47:37 UTC) #9
commit-bot: I haz the power
4 years, 9 months ago (2016-03-15 19:50:17 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d19a104896da1904ac7b013a5cd6b4ffc205098d
Cr-Commit-Position: refs/heads/master@{#381289}

Powered by Google App Engine
This is Rietveld 408576698