summaryrefslogtreecommitdiffstats
path: root/native_client_sdk
diff options
context:
space:
mode:
authorsbc@chromium.org <sbc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-06 18:29:41 +0000
committersbc@chromium.org <sbc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-06 18:29:41 +0000
commit75b24f79e43fc84cc1f3e86c941eda469a97c058 (patch)
tree5fc0168166179614fdd50845aaa1e6886077bbb2 /native_client_sdk
parent831298513386600668ea491b8d81862dbf75547f (diff)
downloadchromium_src-75b24f79e43fc84cc1f3e86c941eda469a97c058.zip
chromium_src-75b24f79e43fc84cc1f3e86c941eda469a97c058.tar.gz
chromium_src-75b24f79e43fc84cc1f3e86c941eda469a97c058.tar.bz2
[NaCl SDK] sort json keys when writing out manifest
BUG=None NOTRY=true Review URL: https://chromiumcodereview.appspot.com/12541005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186465 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'native_client_sdk')
-rw-r--r--native_client_sdk/src/build_tools/manifest_util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/native_client_sdk/src/build_tools/manifest_util.py b/native_client_sdk/src/build_tools/manifest_util.py
index 9091453..fad583a 100644
--- a/native_client_sdk/src/build_tools/manifest_util.py
+++ b/native_client_sdk/src/build_tools/manifest_util.py
@@ -51,7 +51,7 @@ def GetHostOS():
def DictToJSON(pydict):
"""Convert a dict to a JSON-formatted string."""
- pretty_string = json.dumps(pydict, sort_keys=False, indent=2)
+ pretty_string = json.dumps(pydict, sort_keys=True, indent=2)
# json.dumps sometimes returns trailing whitespace and does not put
# a newline at the end. This code fixes these problems.
pretty_lines = pretty_string.split('\n')