Do not split quoted parameters with spaces inside.

_ProcessEntry function (which is called only on win) uses shlex.split
to split command line arguments. shlex.split function operates in posix
mode by default and stripps out all quotes, therefore arguments with
spaces in them are split into separate arguments and misinterpreted
later. For example -D"MY_DEFINE=\"MY VALUE\"" command line argument is
converted in two arguments -DMY_DEFINE=\MY VALUE\.

Change-Id: Ie0e92a903782c7f2578d2c99a61fc9c6f4bf57e3
Reviewed-on: https://chromium-review.googlesource.com/1046966
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Kalugin Alexander <akalugin@yandex-team.ru>
Cr-Original-Commit-Position: refs/heads/master@{#556679}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 2aa67b8a9b55fba5de59f512f4c7a819b7c8f63c
1 file changed