72e8b2882f
* Fix unresponsive event when in beforeunload handler. * Compile with clang 3.4 under Linux.
26 lines
546 B
Python
26 lines
546 B
Python
#!/usr/bin/env python
|
|
|
|
import platform
|
|
import sys
|
|
|
|
NODE_VERSION = 'v0.11.13'
|
|
BASE_URL = 'https://gh-contractor-zcbenz.s3.amazonaws.com/libchromiumcontent'
|
|
LIBCHROMIUMCONTENT_COMMIT = 'fb188f45e178380e31300a0a6e5c686c35bf8542'
|
|
|
|
ARCH = {
|
|
'cygwin': '32bit',
|
|
'darwin': '64bit',
|
|
'linux2': platform.architecture()[0],
|
|
'win32': '32bit',
|
|
}[sys.platform]
|
|
DIST_ARCH = {
|
|
'32bit': 'ia32',
|
|
'64bit': 'x64',
|
|
}[ARCH]
|
|
|
|
TARGET_PLATFORM = {
|
|
'cygwin': 'win32',
|
|
'darwin': 'darwin',
|
|
'linux2': 'linux',
|
|
'win32': 'win32',
|
|
}[sys.platform]
|