a7d07a3d29
Add PPC/s390 configs to mb_config and BUILD.gn. Also use a script to get host byte ordering. R=machenbach@chromium.org, dpranke@chromium.org BUG= LOG=N Review-Url: https://codereview.chromium.org/2736993004 Cr-Commit-Position: refs/heads/master@{#43751}
18 lines
336 B
Python
Executable File
18 lines
336 B
Python
Executable File
#!/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())
|