Port versioning to AMBuild 2 (bug 5997 part 8, r=ds).

This commit is contained in:
David Anderson
2013-12-30 17:50:59 -05:00
parent 75e622e879
commit c2cfe60102
4 changed files with 159 additions and 83 deletions
+4 -1
View File
@@ -30,6 +30,8 @@ files = [
spcomp_argv = [
os.path.join(builder.buildPath, SM.spcomp.binary.path),
'SM_GENERATED_BUILD=',
'-i' + os.path.relpath(os.path.join(builder.buildPath, 'includes'),
os.path.join(builder.buildPath, builder.buildFolder)),
'-i' + os.path.relpath(os.path.join(builder.sourcePath, 'plugins', 'include'),
os.path.join(builder.buildPath, builder.buildFolder)),
'-h',
@@ -48,7 +50,8 @@ def build_plugin(script_path, smx_file):
inputs = inputs,
argv = argv,
outputs = outputs,
dep_type = 'msvc'
dep_type = 'msvc',
weak_inputs = SM.generated_headers
)
SM.smx_files[smx_file] = smx_entry