Chromium Code Reviews| Index: build/get_byteorder.py |
| diff --git a/build/get_byteorder.py b/build/get_byteorder.py |
| new file mode 100755 |
| index 0000000000000000000000000000000000000000..084bb0d38a5dc81f5a3048385f595239a8634eb8 |
| --- /dev/null |
| +++ b/build/get_byteorder.py |
| @@ -0,0 +1,16 @@ |
| +#!/usr/bin/env python |
| +# Copyright 2014 The Chromium Authors. All rights reserved. |
|
Michael Achenbach
2017/04/18 13:46:04
nit: 2017
|
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +"""Get Byteorder of host architecture""" |
| + |
| + |
| +import sys |
| + |
| +def main(): |
| + print sys.byteorder |
| + return 0 |
| + |
| +if __name__ == '__main__': |
| + sys.exit(main()) |
|
Michael Achenbach
2017/04/18 13:46:04
nit: Wonder if the boiler plate is necessary. Mayb
|