| Index: pylib/gyp/generator/xcode.py
|
| diff --git a/pylib/gyp/generator/xcode.py b/pylib/gyp/generator/xcode.py
|
| index 9ea4fbdff06b71f5615a81acc557981e4bb9da2b..7b21bae8a988fb0069b730e6337695ca9ec9a7fc 100644
|
| --- a/pylib/gyp/generator/xcode.py
|
| +++ b/pylib/gyp/generator/xcode.py
|
| @@ -587,6 +587,25 @@ def EscapeXCodeArgument(s):
|
| return '"' + s + '"'
|
|
|
|
|
| +
|
| +def PerformBuild(data, configurations, params):
|
| + options = params['options']
|
| +
|
| + for build_file, build_file_dict in data.iteritems():
|
| + (build_file_root, build_file_ext) = os.path.splitext(build_file)
|
| + if build_file_ext != '.gyp':
|
| + continue
|
| + xcodeproj_path = build_file_root + options.suffix + '.xcodeproj'
|
| + if options.generator_output:
|
| + xcodeproj_path = os.path.join(options.generator_output, xcodeproj_path)
|
| +
|
| + for config in configurations:
|
| + arguments = ['xcodebuild', '-project', xcodeproj_path]
|
| + arguments += ['-configuration', config]
|
| + print "Building [%s]: %s" % (config, arguments)
|
| + subprocess.check_call(arguments)
|
| +
|
| +
|
| def GenerateOutput(target_list, target_dicts, data, params):
|
| options = params['options']
|
| generator_flags = params.get('generator_flags', {})
|
|
|