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

Issue 2544803002: [GN] Sanitize environment variables when running ninja from Xcode. (Closed)

Created:
4 years ago by sdefresne
Modified:
4 years ago
Reviewers:
Dirk Pranke
CC:
chromium-reviews, Dirk Pranke, tfarina, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[GN] Sanitize environment variables when running ninja from Xcode. When invoking build script from Xcode, many environment variables are exported by Xcode based on the project settings. Sanitize the environment as those variable interact poorly with the hermetic build (see linked bug for detail of failure more). BUG=634501 Committed: https://crrev.com/84aac8fc963ba786889000c40bb5c5a7e95b1b3b Cr-Commit-Position: refs/heads/master@{#435707}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -10 lines) Patch
M tools/gn/xcode_writer.cc View 5 chunks +37 lines, -10 lines 2 comments Download

Messages

Total messages: 14 (8 generated)
sdefresne
Please take a look and send to CQ if LGTY. I've tested that I can ...
4 years ago (2016-12-01 13:05:35 UTC) #4
Dirk Pranke
lgtm lgtm. Feel free to address the comments in a follow-up patch. https://codereview.chromium.org/2544803002/diff/1/tools/gn/xcode_writer.cc File tools/gn/xcode_writer.cc ...
4 years ago (2016-12-01 20:53:22 UTC) #8
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/2544803002/1
4 years ago (2016-12-01 20:54:21 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-01 20:59:00 UTC) #11
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/84aac8fc963ba786889000c40bb5c5a7e95b1b3b Cr-Commit-Position: refs/heads/master@{#435707}
4 years ago (2016-12-01 21:01:33 UTC) #13
sdefresne
4 years ago (2016-12-06 14:02:49 UTC) #14
Message was sent while issue was closed.
Followup changes addressed with https://codereview.chromium.org/2556743002/

Powered by Google App Engine
This is Rietveld 408576698