Commit 5208b8e8 authored by Michał Pichliński's avatar Michał Pichliński Committed by Commit Bot

GN: Allow XCode projects to use ICECC environment variables.

Without them XCode cannot compile generated projects with ICECC.

Bug: 831500
Change-Id: I3b50c730660c4e8a6a06b9fda340e20edb87e40a
Reviewed-on: https://chromium-review.googlesource.com/1006577Reviewed-by: default avatarBrett Wilson <brettw@chromium.org>
Commit-Queue: Michal Pichlinski <mpichlinski@opera.com>
Cr-Commit-Position: refs/heads/master@{#550159}
parent 9823f09b
......@@ -48,9 +48,13 @@ struct SafeEnvironmentVariableInfo {
};
SafeEnvironmentVariableInfo kSafeEnvironmentVariables[] = {
{"HOME", true}, {"LANG", true}, {"PATH", true},
{"USER", true}, {"TMPDIR", false},
};
{"HOME", true},
{"LANG", true},
{"PATH", true},
{"USER", true},
{"TMPDIR", false},
{"ICECC_VERSION", true},
{"ICECC_CLANG_REMOTE_CPP", true}};
XcodeWriter::TargetOsType GetTargetOs(const Args& args) {
const Value* target_os_value = args.GetArgOverride(variables::kTargetOs);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment