Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Unified Diff: tools/get_byteorder.py

Issue 2736993004: [build] Add v8gen support for PPC/s390 architecture (Closed)
Patch Set: reverted bots to use gyp Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « infra/mb/mb_config.pyl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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())
« no previous file with comments | « infra/mb/mb_config.pyl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698