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

Unified Diff: build/config/get_host_byteorder.py

Issue 2815453004: For building v8 using gn on aix_ppc64, linux_s390x and linux_ppc64. (Closed)
Patch Set: rebased Created 3 years, 7 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 | « build/config/gcc/BUILD.gn ('k') | build/config/host_byteorder.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/get_host_byteorder.py
diff --git a/build/config/get_host_byteorder.py b/build/config/get_host_byteorder.py
new file mode 100755
index 0000000000000000000000000000000000000000..c8fcf1f352566cb2141e3f31ed255b57024b69ea
--- /dev/null
+++ b/build/config/get_host_byteorder.py
@@ -0,0 +1,11 @@
+#!/usr/bin/env python
+# Copyright 2017 The Chromium 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
+
+print sys.byteorder
« no previous file with comments | « build/config/gcc/BUILD.gn ('k') | build/config/host_byteorder.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698