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

Unified Diff: trunk/src/build/detect_host_arch.py

Issue 374383002: Revert 281831 "Fix nacl_integration to run 32bit tests with 32bi..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 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 | « no previous file | trunk/src/chrome/test/nacl_test_injection/buildbot_chrome_nacl_stage.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/build/detect_host_arch.py
===================================================================
--- trunk/src/build/detect_host_arch.py (revision 281998)
+++ trunk/src/build/detect_host_arch.py (working copy)
@@ -10,8 +10,13 @@
import sys
-def HostArch():
- """Returns the host architecture with a predictable string."""
+def main():
+ print DoMain([])
+ return 0
+
+def DoMain(_):
+ """Hook to be called from gyp without starting a separate python
+ interpreter."""
host_arch = platform.machine()
# Convert machine type to format recognized by gyp.
@@ -31,10 +36,5 @@
return host_arch
-def DoMain(_):
- """Hook to be called from gyp without starting a separate python
- interpreter."""
- return HostArch()
-
if __name__ == '__main__':
- print DoMain([])
+ sys.exit(main())
« no previous file with comments | « no previous file | trunk/src/chrome/test/nacl_test_injection/buildbot_chrome_nacl_stage.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698