| Index: pylib/gyp/generator/make.py
|
| diff --git a/pylib/gyp/generator/make.py b/pylib/gyp/generator/make.py
|
| index a4b1b1bcd37ab069ea94dbe0d5a5d3f935e0ee80..94748b0b83542e1ed0a06528d8a95270d7be9607 100644
|
| --- a/pylib/gyp/generator/make.py
|
| +++ b/pylib/gyp/generator/make.py
|
| @@ -24,6 +24,7 @@
|
| import os
|
| import re
|
| import sys
|
| +import subprocess
|
| import gyp
|
| import gyp.common
|
| import gyp.system_test
|
| @@ -1936,6 +1937,17 @@ def RunSystemTests(flavor):
|
| 'ARFLAGS.host': arflags_host }
|
|
|
|
|
| +def PerformBuild(data, configurations, params):
|
| + options = params['options']
|
| + for config in configurations:
|
| + arguments = ['make']
|
| + if options.toplevel_dir and options.toplevel_dir != '.':
|
| + arguments += '-C', options.toplevel_dir
|
| + arguments.append('BUILDTYPE=' + config)
|
| + print "Building [%s]: %s" % (config, arguments)
|
| + subprocess.check_call(arguments)
|
| +
|
| +
|
| def GenerateOutput(target_list, target_dicts, data, params):
|
| options = params['options']
|
| flavor = gyp.common.GetFlavor(params)
|
|
|