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

Side by Side Diff: gypfiles/detect_v8_host_arch.py

Issue 1848553003: [gn] Move build to gypfiles (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Preserve old state for the dance Created 4 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 unified diff | Download patch
« no previous file with comments | « gypfiles/coverage_wrapper.py ('k') | gypfiles/download_gold_plugin.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2014 the V8 project authors. All rights reserved. 2 # Copyright 2014 the V8 project authors. All rights reserved.
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following 10 # copyright notice, this list of conditions and the following
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 # kernel with 32-bit userland, e.g. to give linker slightly more memory. 68 # kernel with 32-bit userland, e.g. to give linker slightly more memory.
69 # Distinguish between different userland bitness by querying 69 # Distinguish between different userland bitness by querying
70 # the python binary. 70 # the python binary.
71 if host_arch == 'x64' and platform.architecture()[0] == '32bit': 71 if host_arch == 'x64' and platform.architecture()[0] == '32bit':
72 host_arch = 'ia32' 72 host_arch = 'ia32'
73 73
74 return host_arch 74 return host_arch
75 75
76 if __name__ == '__main__': 76 if __name__ == '__main__':
77 sys.exit(main()) 77 sys.exit(main())
OLDNEW
« no previous file with comments | « gypfiles/coverage_wrapper.py ('k') | gypfiles/download_gold_plugin.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698