move Environment.parse_makefile_deps to Util

This commit is contained in:
josh committed 2019-02-10 21:23:52 -05:00
1 parent db788cdd35
commit 1b63dc7503
7 files changed
+49 -47

No files matched your search

+1 -1
View File
@@ -111,7 +111,7 @@ module Rscons
if options[:command_status]
target, deps, cache, env, vars = options.values_at(:target, :sources, :cache, :env, :vars)
if File.exists?(vars['_DEPFILE'])
deps += Environment.parse_makefile_deps(vars['_DEPFILE'])
deps += Util.parse_makefile_deps(vars['_DEPFILE'])
end
cache.register_build(target, options[:tc].command, deps.uniq, env)
target
+1 -1
View File
@@ -49,7 +49,7 @@ module Rscons
if options[:command_status]
target, deps, cache, env, vars = options.values_at(:target, :sources, :cache, :env, :vars)
if File.exists?(vars['_DEPFILE'])
deps += Environment.parse_makefile_deps(vars['_DEPFILE'])
deps += Util.parse_makefile_deps(vars['_DEPFILE'])
end
cache.register_build(target, options[:tc].command, deps.uniq, env)
target
+1 -1
View File
@@ -96,7 +96,7 @@ module Rscons
if options[:command_status]
target, deps, cache, env, vars = options.values_at(:target, :sources, :cache, :env, :vars)
if File.exists?(vars['_DEPFILE'])
deps += Environment.parse_makefile_deps(vars['_DEPFILE'])
deps += Util.parse_makefile_deps(vars['_DEPFILE'])
end
cache.register_build(target, options[:tc].command, deps.uniq, env)
target