| Index: tools/get_byteorder.py
|
| diff --git a/tools/get_byteorder.py b/tools/get_byteorder.py
|
| new file mode 100755
|
| index 0000000000000000000000000000000000000000..598948b42ab0dc0e46a720e289e3733795ba7fcd
|
| --- /dev/null
|
| +++ b/tools/get_byteorder.py
|
| @@ -0,0 +1,17 @@
|
| +#!/usr/bin/env python
|
| +#
|
| +# Copyright 2017 the V8 project authors. All rights reserved.
|
| +# 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())
|
|
|