2011-04-14 12:38:55 +04:00
|
|
|
#!/usr/bin/env python
|
2009-09-16 03:52:14 +04:00
|
|
|
|
2012-05-14 22:39:27 +04:00
|
|
|
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
2009-09-16 23:44:02 +04:00
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
2009-09-16 03:52:14 +04:00
|
|
|
# This script is wrapper for Chromium that adds some support for how GYP
|
2009-09-16 23:44:02 +04:00
|
|
|
# is invoked by Chromium beyond what can be done in the gclient hooks.
|
2009-09-16 03:52:14 +04:00
|
|
|
|
|
|
|
import glob
|
2012-11-14 08:59:48 +04:00
|
|
|
import gyp_helper
|
2009-09-16 03:52:14 +04:00
|
|
|
import os
|
2014-04-16 00:34:51 +04:00
|
|
|
import re
|
2009-09-16 03:52:14 +04:00
|
|
|
import shlex
|
2011-02-23 05:00:06 +03:00
|
|
|
import subprocess
|
2013-12-05 00:28:10 +04:00
|
|
|
import string
|
2009-09-16 03:52:14 +04:00
|
|
|
import sys
|
2014-03-20 02:01:39 +04:00
|
|
|
import vs_toolchain
|
2009-09-16 03:52:14 +04:00
|
|
|
|
2012-07-11 23:34:17 +04:00
|
|
|
script_dir = os.path.dirname(os.path.realpath(__file__))
|
2011-04-19 13:33:24 +04:00
|
|
|
chrome_src = os.path.abspath(os.path.join(script_dir, os.pardir))
|
2009-09-16 23:44:02 +04:00
|
|
|
|
2010-07-13 01:56:56 +04:00
|
|
|
sys.path.insert(0, os.path.join(chrome_src, 'tools', 'gyp', 'pylib'))
|
2009-09-17 02:37:47 +04:00
|
|
|
import gyp
|
2009-09-16 03:52:14 +04:00
|
|
|
|
2013-12-04 03:14:46 +04:00
|
|
|
# Assume this file is in a one-level-deep subdirectory of the source root.
|
|
|
|
SRC_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
|
|
|
2011-08-17 00:43:27 +04:00
|
|
|
# Add paths so that pymod_do_main(...) can import files.
|
2014-01-17 05:40:31 +04:00
|
|
|
sys.path.insert(1, os.path.join(chrome_src, 'tools'))
|
2012-12-18 05:51:37 +04:00
|
|
|
sys.path.insert(1, os.path.join(chrome_src, 'tools', 'generate_shim_headers'))
|
2011-05-28 06:11:24 +04:00
|
|
|
sys.path.insert(1, os.path.join(chrome_src, 'tools', 'grit'))
|
2011-08-17 00:43:27 +04:00
|
|
|
sys.path.insert(1, os.path.join(chrome_src, 'chrome', 'tools', 'build'))
|
2012-05-18 04:33:11 +04:00
|
|
|
sys.path.insert(1, os.path.join(chrome_src, 'native_client', 'build'))
|
2013-11-14 10:10:14 +04:00
|
|
|
sys.path.insert(1, os.path.join(chrome_src, 'native_client_sdk', 'src',
|
|
|
|
'build_tools'))
|
2013-07-12 02:01:30 +04:00
|
|
|
sys.path.insert(1, os.path.join(chrome_src, 'remoting', 'tools', 'build'))
|
2013-12-04 07:34:57 +04:00
|
|
|
sys.path.insert(1, os.path.join(chrome_src, 'third_party', 'liblouis'))
|
2013-01-12 01:15:19 +04:00
|
|
|
sys.path.insert(1, os.path.join(chrome_src, 'third_party', 'WebKit',
|
2013-10-10 18:50:47 +04:00
|
|
|
'Source', 'build', 'scripts'))
|
2011-05-28 06:11:24 +04:00
|
|
|
|
2011-03-30 22:52:23 +04:00
|
|
|
# On Windows, Psyco shortens warm runs of build/gyp_chromium by about
|
|
|
|
# 20 seconds on a z600 machine with 12 GB of RAM, from 90 down to 70
|
|
|
|
# seconds. Conversely, memory usage of build/gyp_chromium with Psyco
|
|
|
|
# maxes out at about 158 MB vs. 132 MB without it.
|
|
|
|
#
|
|
|
|
# Psyco uses native libraries, so we need to load a different
|
|
|
|
# installation depending on which OS we are running under. It has not
|
|
|
|
# been tested whether using Psyco on our Mac and Linux builds is worth
|
|
|
|
# it (the GYP running time is a lot shorter, so the JIT startup cost
|
|
|
|
# may not be worth it).
|
|
|
|
if sys.platform == 'win32':
|
|
|
|
try:
|
|
|
|
sys.path.insert(0, os.path.join(chrome_src, 'third_party', 'psyco_win32'))
|
|
|
|
import psyco
|
|
|
|
except:
|
|
|
|
psyco = None
|
|
|
|
else:
|
|
|
|
psyco = None
|
|
|
|
|
2013-12-04 03:14:46 +04:00
|
|
|
|
|
|
|
def GetSupplementalFiles():
|
|
|
|
"""Returns a list of the supplemental files that are included in all GYP
|
|
|
|
sources."""
|
|
|
|
return glob.glob(os.path.join(chrome_src, '*', 'supplement.gypi'))
|
|
|
|
|
|
|
|
|
2014-01-08 04:32:04 +04:00
|
|
|
def ProcessGypDefinesItems(items):
|
|
|
|
"""Converts a list of strings to a list of key-value pairs."""
|
|
|
|
result = []
|
|
|
|
for item in items:
|
|
|
|
tokens = item.split('=', 1)
|
|
|
|
# Some GYP variables have hyphens, which we don't support.
|
|
|
|
if len(tokens) == 2:
|
2014-03-27 21:07:45 +04:00
|
|
|
result += [(tokens[0], tokens[1])]
|
2014-01-08 04:32:04 +04:00
|
|
|
else:
|
|
|
|
# No value supplied, treat it as a boolean and set it. Note that we
|
|
|
|
# use the string '1' here so we have a consistent definition whether
|
|
|
|
# you do 'foo=1' or 'foo'.
|
2014-03-27 21:07:45 +04:00
|
|
|
result += [(tokens[0], '1')]
|
2014-01-08 04:32:04 +04:00
|
|
|
return result
|
|
|
|
|
2014-02-22 01:27:24 +04:00
|
|
|
|
2014-03-27 21:07:45 +04:00
|
|
|
def GetGypVars(supplemental_files):
|
|
|
|
"""Returns a dictionary of all GYP vars."""
|
2014-02-22 01:27:24 +04:00
|
|
|
# Find the .gyp directory in the user's home directory.
|
|
|
|
home_dot_gyp = os.environ.get('GYP_CONFIG_DIR', None)
|
|
|
|
if home_dot_gyp:
|
|
|
|
home_dot_gyp = os.path.expanduser(home_dot_gyp)
|
|
|
|
if not home_dot_gyp:
|
|
|
|
home_vars = ['HOME']
|
|
|
|
if sys.platform in ('cygwin', 'win32'):
|
|
|
|
home_vars.append('USERPROFILE')
|
|
|
|
for home_var in home_vars:
|
|
|
|
home = os.getenv(home_var)
|
|
|
|
if home != None:
|
|
|
|
home_dot_gyp = os.path.join(home, '.gyp')
|
|
|
|
if not os.path.exists(home_dot_gyp):
|
|
|
|
home_dot_gyp = None
|
|
|
|
else:
|
|
|
|
break
|
|
|
|
|
|
|
|
if home_dot_gyp:
|
|
|
|
include_gypi = os.path.join(home_dot_gyp, "include.gypi")
|
|
|
|
if os.path.exists(include_gypi):
|
|
|
|
supplemental_files += [include_gypi]
|
2013-12-04 03:14:46 +04:00
|
|
|
|
2014-01-08 04:32:04 +04:00
|
|
|
# GYP defines from the supplemental.gypi files.
|
|
|
|
supp_items = []
|
2013-12-04 03:14:46 +04:00
|
|
|
for supplement in supplemental_files:
|
|
|
|
with open(supplement, 'r') as f:
|
|
|
|
try:
|
|
|
|
file_data = eval(f.read(), {'__builtins__': None}, None)
|
|
|
|
except SyntaxError, e:
|
|
|
|
e.filename = os.path.abspath(supplement)
|
|
|
|
raise
|
2013-12-05 06:11:23 +04:00
|
|
|
variables = file_data.get('variables', [])
|
2013-12-04 03:14:46 +04:00
|
|
|
for v in variables:
|
2014-03-27 21:07:45 +04:00
|
|
|
supp_items += [(v, str(variables[v]))]
|
2013-12-04 03:14:46 +04:00
|
|
|
|
2014-01-08 04:32:04 +04:00
|
|
|
# GYP defines from the environment.
|
|
|
|
env_items = ProcessGypDefinesItems(
|
|
|
|
shlex.split(os.environ.get('GYP_DEFINES', '')))
|
|
|
|
|
|
|
|
# GYP defines from the command line. We can't use optparse since we want
|
|
|
|
# to ignore all arguments other than "-D".
|
|
|
|
cmdline_input_items = []
|
|
|
|
for i in range(len(sys.argv))[1:]:
|
2014-01-23 13:55:45 +04:00
|
|
|
if sys.argv[i].startswith('-D'):
|
|
|
|
if sys.argv[i] == '-D' and i + 1 < len(sys.argv):
|
|
|
|
cmdline_input_items += [sys.argv[i + 1]]
|
|
|
|
elif len(sys.argv[i]) > 2:
|
|
|
|
cmdline_input_items += [sys.argv[i][2:]]
|
2014-01-08 04:32:04 +04:00
|
|
|
cmdline_items = ProcessGypDefinesItems(cmdline_input_items)
|
2013-12-04 03:14:46 +04:00
|
|
|
|
2014-02-22 01:27:24 +04:00
|
|
|
vars_dict = dict(supp_items + env_items + cmdline_items)
|
|
|
|
return vars_dict
|
|
|
|
|
2013-12-14 00:28:08 +04:00
|
|
|
|
2014-01-19 03:51:41 +04:00
|
|
|
def GetOutputDirectory():
|
|
|
|
"""Returns the output directory that GYP will use."""
|
|
|
|
# GYP generator flags from the command line. We can't use optparse since we
|
|
|
|
# want to ignore all arguments other than "-G".
|
|
|
|
needle = '-Goutput_dir='
|
|
|
|
cmdline_input_items = []
|
|
|
|
for item in sys.argv[1:]:
|
|
|
|
if item.startswith(needle):
|
|
|
|
return item[len(needle):]
|
|
|
|
|
|
|
|
env_items = shlex.split(os.environ.get('GYP_GENERATOR_FLAGS', ''))
|
|
|
|
needle = 'output_dir='
|
|
|
|
for item in env_items:
|
|
|
|
if item.startswith(needle):
|
|
|
|
return item[len(needle):]
|
|
|
|
|
|
|
|
return "out"
|
2013-12-14 00:28:08 +04:00
|
|
|
|
2014-02-22 01:27:24 +04:00
|
|
|
|
2013-12-04 03:14:46 +04:00
|
|
|
def additional_include_files(supplemental_files, args=[]):
|
2009-09-23 07:49:50 +04:00
|
|
|
"""
|
2013-12-04 03:14:46 +04:00
|
|
|
Returns a list of additional (.gypi) files to include, without duplicating
|
|
|
|
ones that are already specified on the command line. The list of supplemental
|
|
|
|
include files is passed in as an argument.
|
2009-09-23 07:49:50 +04:00
|
|
|
"""
|
|
|
|
# Determine the include files specified on the command line.
|
|
|
|
# This doesn't cover all the different option formats you can use,
|
|
|
|
# but it's mainly intended to avoid duplicating flags on the automatic
|
|
|
|
# makefile regeneration which only uses this format.
|
|
|
|
specified_includes = set()
|
|
|
|
for arg in args:
|
|
|
|
if arg.startswith('-I') and len(arg) > 2:
|
|
|
|
specified_includes.add(os.path.realpath(arg[2:]))
|
|
|
|
|
|
|
|
result = []
|
|
|
|
def AddInclude(path):
|
|
|
|
if os.path.realpath(path) not in specified_includes:
|
|
|
|
result.append(path)
|
|
|
|
|
2011-06-11 00:44:47 +04:00
|
|
|
# Always include common.gypi.
|
2009-09-23 07:49:50 +04:00
|
|
|
AddInclude(os.path.join(script_dir, 'common.gypi'))
|
|
|
|
|
|
|
|
# Optionally add supplemental .gypi files if present.
|
2013-12-04 03:14:46 +04:00
|
|
|
for supplement in supplemental_files:
|
2009-09-23 07:49:50 +04:00
|
|
|
AddInclude(supplement)
|
|
|
|
|
|
|
|
return result
|
|
|
|
|
2013-12-04 03:14:46 +04:00
|
|
|
|
2009-09-16 03:52:14 +04:00
|
|
|
if __name__ == '__main__':
|
|
|
|
args = sys.argv[1:]
|
|
|
|
|
2014-07-30 01:45:58 +04:00
|
|
|
# TODO(sky): remove analyzer2 once updated recipes.
|
2014-08-08 18:43:40 +04:00
|
|
|
use_analyzer = len(args) and (args[0] == '--analyzer' or
|
|
|
|
args[0] == '--analyzer2')
|
2014-06-24 08:14:19 +04:00
|
|
|
if use_analyzer:
|
|
|
|
args.pop(0)
|
2014-07-30 01:45:58 +04:00
|
|
|
os.environ['GYP_GENERATORS'] = 'analyzer'
|
|
|
|
args.append('-Gconfig_path=' + args.pop(0))
|
2014-07-31 03:08:19 +04:00
|
|
|
args.append('-Ganalyzer_output_path=' + args.pop(0))
|
2014-06-24 08:14:19 +04:00
|
|
|
|
2013-11-21 01:30:30 +04:00
|
|
|
if int(os.environ.get('GYP_CHROMIUM_NO_ACTION', 0)):
|
2014-06-04 15:05:46 +04:00
|
|
|
# Check for landmines (reasons to clobber the build) in any case.
|
|
|
|
print 'Running build/landmines.py...'
|
|
|
|
subprocess.check_call(
|
|
|
|
[sys.executable, os.path.join(script_dir, 'landmines.py')])
|
2013-11-21 01:30:30 +04:00
|
|
|
print 'Skipping gyp_chromium due to GYP_CHROMIUM_NO_ACTION env var.'
|
|
|
|
sys.exit(0)
|
|
|
|
|
2011-03-30 22:52:23 +04:00
|
|
|
# Use the Psyco JIT if available.
|
|
|
|
if psyco:
|
|
|
|
psyco.profile()
|
|
|
|
print "Enabled Psyco JIT."
|
|
|
|
|
2011-02-23 05:00:06 +03:00
|
|
|
# Fall back on hermetic python if we happen to get run under cygwin.
|
|
|
|
# TODO(bradnelson): take this out once this issue is fixed:
|
|
|
|
# http://code.google.com/p/gyp/issues/detail?id=177
|
|
|
|
if sys.platform == 'cygwin':
|
2014-02-21 04:30:29 +04:00
|
|
|
import find_depot_tools
|
2014-01-18 05:29:57 +04:00
|
|
|
depot_tools_path = find_depot_tools.add_depot_tools_to_path()
|
|
|
|
python_dir = sorted(glob.glob(os.path.join(depot_tools_path,
|
|
|
|
'python2*_bin')))[-1]
|
2011-02-23 05:00:06 +03:00
|
|
|
env = os.environ.copy()
|
|
|
|
env['PATH'] = python_dir + os.pathsep + env.get('PATH', '')
|
|
|
|
p = subprocess.Popen(
|
|
|
|
[os.path.join(python_dir, 'python.exe')] + sys.argv,
|
|
|
|
env=env, shell=False)
|
|
|
|
p.communicate()
|
|
|
|
sys.exit(p.returncode)
|
|
|
|
|
2012-11-14 08:59:48 +04:00
|
|
|
gyp_helper.apply_chromium_gyp_env()
|
2010-11-08 23:09:23 +03:00
|
|
|
|
2009-09-17 03:16:05 +04:00
|
|
|
# This could give false positives since it doesn't actually do real option
|
|
|
|
# parsing. Oh well.
|
|
|
|
gyp_file_specified = False
|
|
|
|
for arg in args:
|
|
|
|
if arg.endswith('.gyp'):
|
|
|
|
gyp_file_specified = True
|
|
|
|
break
|
|
|
|
|
2009-09-16 03:52:14 +04:00
|
|
|
# If we didn't get a file, check an env var, and then fall back to
|
2009-09-17 02:37:47 +04:00
|
|
|
# assuming 'all.gyp' from the same directory as the script.
|
2009-09-17 03:16:05 +04:00
|
|
|
if not gyp_file_specified:
|
|
|
|
gyp_file = os.environ.get('CHROMIUM_GYP_FILE')
|
|
|
|
if gyp_file:
|
|
|
|
# Note that CHROMIUM_GYP_FILE values can't have backslashes as
|
|
|
|
# path separators even on Windows due to the use of shlex.split().
|
|
|
|
args.extend(shlex.split(gyp_file))
|
|
|
|
else:
|
|
|
|
args.append(os.path.join(script_dir, 'all.gyp'))
|
|
|
|
|
2010-02-16 23:14:26 +03:00
|
|
|
# There shouldn't be a circular dependency relationship between .gyp files,
|
|
|
|
# but in Chromium's .gyp files, on non-Mac platforms, circular relationships
|
|
|
|
# currently exist. The check for circular dependencies is currently
|
|
|
|
# bypassed on other platforms, but is left enabled on the Mac, where a
|
|
|
|
# violation of the rule causes Xcode to misbehave badly.
|
|
|
|
# TODO(mark): Find and kill remaining circular dependencies, and remove this
|
|
|
|
# option. http://crbug.com/35878.
|
2010-05-24 04:48:16 +04:00
|
|
|
# TODO(tc): Fix circular dependencies in ChromiumOS then add linux2 to the
|
|
|
|
# list.
|
|
|
|
if sys.platform not in ('darwin',):
|
2010-02-16 23:14:26 +03:00
|
|
|
args.append('--no-circular-check')
|
|
|
|
|
2014-03-04 12:21:53 +04:00
|
|
|
# We explicitly don't support the make gyp generator (crbug.com/348686). Be
|
|
|
|
# nice and fail here, rather than choking in gyp.
|
2014-04-16 00:34:51 +04:00
|
|
|
if re.search(r'(^|,|\s)make($|,|\s)', os.environ.get('GYP_GENERATORS', '')):
|
2014-03-04 12:21:53 +04:00
|
|
|
print 'Error: make gyp generator not supported (check GYP_GENERATORS).'
|
|
|
|
sys.exit(1)
|
|
|
|
|
2014-01-09 09:08:41 +04:00
|
|
|
# Default to ninja on linux and windows, but only if no generator has
|
|
|
|
# explicitly been set.
|
2013-10-30 04:04:06 +04:00
|
|
|
# Also default to ninja on mac, but only when not building chrome/ios.
|
2013-05-11 07:18:37 +04:00
|
|
|
# . -f / --format has precedence over the env var, no need to check for it
|
|
|
|
# . set the env var only if it hasn't been set yet
|
|
|
|
# . chromium.gyp_env has been applied to os.environ at this point already
|
2014-03-05 02:32:02 +04:00
|
|
|
if sys.platform.startswith(('linux', 'win', 'freebsd')) and \
|
|
|
|
not os.environ.get('GYP_GENERATORS'):
|
2014-01-09 09:08:41 +04:00
|
|
|
os.environ['GYP_GENERATORS'] = 'ninja'
|
2013-10-30 04:04:06 +04:00
|
|
|
elif sys.platform == 'darwin' and not os.environ.get('GYP_GENERATORS') and \
|
2013-10-31 10:18:11 +04:00
|
|
|
not 'OS=ios' in os.environ.get('GYP_DEFINES', []):
|
2013-10-30 04:04:06 +04:00
|
|
|
os.environ['GYP_GENERATORS'] = 'ninja'
|
2013-05-11 07:18:37 +04:00
|
|
|
|
2014-04-09 05:56:20 +04:00
|
|
|
vs2013_runtime_dll_dirs = vs_toolchain.SetEnvironmentAndGetRuntimeDllDirs()
|
2013-12-03 21:48:26 +04:00
|
|
|
|
2010-03-26 21:40:49 +03:00
|
|
|
# If CHROMIUM_GYP_SYNTAX_CHECK is set to 1, it will invoke gyp with --check
|
|
|
|
# to enfore syntax checking.
|
|
|
|
syntax_check = os.environ.get('CHROMIUM_GYP_SYNTAX_CHECK')
|
|
|
|
if syntax_check and int(syntax_check):
|
|
|
|
args.append('--check')
|
|
|
|
|
2014-01-15 23:45:29 +04:00
|
|
|
supplemental_includes = GetSupplementalFiles()
|
2014-03-27 21:07:45 +04:00
|
|
|
gyp_vars_dict = GetGypVars(supplemental_includes)
|
2014-02-22 01:27:24 +04:00
|
|
|
|
2014-05-07 22:45:59 +04:00
|
|
|
# TODO(dmikurube): Remove these checks and messages after a while.
|
|
|
|
if ('linux_use_tcmalloc' in gyp_vars_dict or
|
|
|
|
'android_use_tcmalloc' in gyp_vars_dict):
|
|
|
|
print '*****************************************************************'
|
|
|
|
print '"linux_use_tcmalloc" and "android_use_tcmalloc" are deprecated!'
|
|
|
|
print '-----------------------------------------------------------------'
|
|
|
|
print 'You specify "linux_use_tcmalloc" or "android_use_tcmalloc" in'
|
|
|
|
print 'your GYP_DEFINES. Please switch them into "use_allocator" now.'
|
|
|
|
print 'See http://crbug.com/345554 for the details.'
|
|
|
|
print '*****************************************************************'
|
|
|
|
|
2014-02-22 01:27:24 +04:00
|
|
|
# Automatically turn on crosscompile support for platforms that need it.
|
|
|
|
# (The Chrome OS build sets CC_host / CC_target which implicitly enables
|
|
|
|
# this mode.)
|
|
|
|
if all(('ninja' in os.environ.get('GYP_GENERATORS', ''),
|
2014-03-27 21:07:45 +04:00
|
|
|
gyp_vars_dict.get('OS') in ['android', 'ios'],
|
2014-02-22 01:27:24 +04:00
|
|
|
'GYP_CROSSCOMPILE' not in os.environ)):
|
|
|
|
os.environ['GYP_CROSSCOMPILE'] = '1'
|
2014-04-03 02:14:53 +04:00
|
|
|
if gyp_vars_dict.get('OS') == 'android':
|
|
|
|
args.append('--check')
|
2014-02-22 01:27:24 +04:00
|
|
|
|
2014-01-15 23:45:29 +04:00
|
|
|
args.extend(
|
|
|
|
['-I' + i for i in additional_include_files(supplemental_includes, args)])
|
|
|
|
|
2014-01-19 03:51:41 +04:00
|
|
|
args.extend(['-D', 'gyp_output_dir=' + GetOutputDirectory()])
|
|
|
|
|
2014-06-24 08:14:19 +04:00
|
|
|
if not use_analyzer:
|
|
|
|
print 'Updating projects from gyp files...'
|
|
|
|
sys.stdout.flush()
|
2009-09-17 02:37:47 +04:00
|
|
|
|
2009-09-16 03:52:14 +04:00
|
|
|
# Off we go...
|
2014-02-05 02:11:57 +04:00
|
|
|
gyp_rc = gyp.main(args)
|
|
|
|
|
2014-06-24 08:14:19 +04:00
|
|
|
if not use_analyzer:
|
|
|
|
# Check for landmines (reasons to clobber the build). This must be run here,
|
|
|
|
# rather than a separate runhooks step so that any environment modifications
|
|
|
|
# from above are picked up.
|
|
|
|
print 'Running build/landmines.py...'
|
|
|
|
subprocess.check_call(
|
2014-02-06 06:44:55 +04:00
|
|
|
[sys.executable, os.path.join(script_dir, 'landmines.py')])
|
|
|
|
|
2014-06-24 08:14:19 +04:00
|
|
|
if vs2013_runtime_dll_dirs:
|
|
|
|
x64_runtime, x86_runtime = vs2013_runtime_dll_dirs
|
|
|
|
vs_toolchain.CopyVsRuntimeDlls(
|
2014-03-20 02:01:39 +04:00
|
|
|
os.path.join(chrome_src, GetOutputDirectory()),
|
|
|
|
(x86_runtime, x64_runtime))
|
2014-02-05 02:11:57 +04:00
|
|
|
|
|
|
|
sys.exit(gyp_rc)
|