Commit 2011089e authored by torne's avatar torne Committed by Commit bot

android_webview: avoid depending on locale at gyp time.

To keep the generated makefiles relatively stable, we sort a number of
file lists at gyp time, but this sort ordering is dependent on the
calling user's locale. Fix this by forcing LC_COLLATE to "C" in
gyp_webview.

BUG=
NOTRY=true

Review URL: https://codereview.chromium.org/649633002

Cr-Commit-Position: refs/heads/master@{#299103}
parent 5ed09293
...@@ -15,6 +15,10 @@ echo "Generating makefiles for $PLATFORM" ...@@ -15,6 +15,10 @@ echo "Generating makefiles for $PLATFORM"
export PYTHONDONTWRITEBYTECODE=1 export PYTHONDONTWRITEBYTECODE=1
# Override the calling user's locale sort order as this affects the generated
# makefiles.
export LC_COLLATE=C
CHROME_SRC="$(readlink -f "$(dirname "$0")/../..")" CHROME_SRC="$(readlink -f "$(dirname "$0")/../..")"
GYP="${CHROME_SRC}/build/gyp_chromium" GYP="${CHROME_SRC}/build/gyp_chromium"
......
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