@@ -2136,7 +2136,6 @@ def CalculateMakefilePath(build_file, base_name):
2136
2136
for target in gyp .common .AllTargets (target_list , target_dicts , build_file ):
2137
2137
needed_targets .add (target )
2138
2138
2139
- all_deps = set ()
2140
2139
build_files = set ()
2141
2140
include_list = set ()
2142
2141
for qualified_target in target_list :
@@ -2185,12 +2184,6 @@ def CalculateMakefilePath(build_file, base_name):
2185
2184
os .path .dirname (makefile_path ))
2186
2185
include_list .add (mkfile_rel_path )
2187
2186
2188
- if 'actions' in spec :
2189
- for action in spec ['actions' ]:
2190
- all_deps .update (map (writer .Absolutify , action ['inputs' ]))
2191
- if 'sources' in spec :
2192
- all_deps .update (map (writer .Absolutify , spec ['sources' ]))
2193
-
2194
2187
# Write out per-gyp (sub-project) Makefiles.
2195
2188
depth_rel_path = gyp .common .RelativePath (options .depth , os .getcwd ())
2196
2189
for build_file in build_files :
@@ -2234,10 +2227,3 @@ def CalculateMakefilePath(build_file, base_name):
2234
2227
root_makefile .write (SHARED_FOOTER )
2235
2228
2236
2229
root_makefile .close ()
2237
-
2238
- # Hack to get rid of $(obj)/path/to/foo.o deps that node.gyp adds manually.
2239
- all_deps = [s for s in all_deps if not '$' in s ]
2240
- all_deps_path = os .path .join (options .toplevel_dir , '.deps' )
2241
- with open (all_deps_path , 'w' ) as f :
2242
- f .write ('ALL_DEPS := \\ \n \t ' )
2243
- f .write (' \\ \n \t ' .join (sorted (all_deps )))
0 commit comments