diff options
author | Fedor Indutny <fedor.indutny@gmail.com> | 2014-01-13 16:50:37 +0000 |
---|---|---|
committer | Timothy J Fontaine <tjfontaine@gmail.com> | 2014-01-13 22:03:40 -0800 |
commit | 346b59e4a3296b92f2f00c2a697819bc56b7df71 (patch) | |
tree | c157f4b9aa25a8ea1d51fef53bdd0e161390ca95 /tools/gyp/pylib/gyp/generator/make.py | |
parent | 7bd6e333182c9d45a7376092c861d746592bf62b (diff) | |
download | android-node-v8-346b59e4a3296b92f2f00c2a697819bc56b7df71.tar.gz android-node-v8-346b59e4a3296b92f2f00c2a697819bc56b7df71.tar.bz2 android-node-v8-346b59e4a3296b92f2f00c2a697819bc56b7df71.zip |
deps: update gyp to 1eae492b
Diffstat (limited to 'tools/gyp/pylib/gyp/generator/make.py')
-rw-r--r-- | tools/gyp/pylib/gyp/generator/make.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/gyp/pylib/gyp/generator/make.py b/tools/gyp/pylib/gyp/generator/make.py index 8fb856fad2..b88a433d3d 100644 --- a/tools/gyp/pylib/gyp/generator/make.py +++ b/tools/gyp/pylib/gyp/generator/make.py @@ -1951,7 +1951,8 @@ def GenerateOutput(target_list, target_dicts, data, params): # We write the file in the base_path directory. output_file = os.path.join(options.depth, base_path, base_name) if options.generator_output: - output_file = os.path.join(options.generator_output, output_file) + output_file = os.path.join( + options.depth, options.generator_output, base_path, base_name) base_path = gyp.common.RelativePath(os.path.dirname(build_file), options.toplevel_dir) return base_path, output_file @@ -1974,7 +1975,8 @@ def GenerateOutput(target_list, target_dicts, data, params): makefile_path = os.path.join(options.toplevel_dir, makefile_name) if options.generator_output: global srcdir_prefix - makefile_path = os.path.join(options.generator_output, makefile_path) + makefile_path = os.path.join( + options.toplevel_dir, options.generator_output, makefile_name) srcdir = gyp.common.RelativePath(srcdir, options.generator_output) srcdir_prefix = '$(srcdir)/' @@ -2094,7 +2096,8 @@ def GenerateOutput(target_list, target_dicts, data, params): this_make_global_settings = data[build_file].get('make_global_settings', []) assert make_global_settings_array == this_make_global_settings, ( - "make_global_settings needs to be the same for all targets.") + "make_global_settings needs to be the same for all targets. %s vs. %s" % + (this_make_global_settings, make_global_settings)) build_files.add(gyp.common.RelativePath(build_file, options.toplevel_dir)) included_files = data[build_file]['included_files'] |