diff options
author | Mathew Robinson <chasinglogic@gmail.com> | 2020-01-31 17:25:20 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-01-31 22:37:45 +0000 |
commit | fc200fe8df4c2894b7a59c7b923eb6664996ac21 (patch) | |
tree | c2fa11de12a3dc7fc338e9a690ca5802a428b233 /SConstruct | |
parent | e1774c067b3074f9c28f284061d9de0820f942c7 (diff) | |
download | mongo-fc200fe8df4c2894b7a59c7b923eb6664996ac21.tar.gz |
Revert "SERVER-45824 Use Ninja's response files instead of hard coding them into the generated file"
This reverts commit 4dfbe1988c96cc0c46999095d3f1bbfd47ed2160.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/SConstruct b/SConstruct index 4ed8cbce671..98c6bb6d0df 100644 --- a/SConstruct +++ b/SConstruct @@ -3796,14 +3796,8 @@ if get_option('ninja') == 'true': description="Generating $out", deps="msvc", ) - - def get_idlc_command(env, node, action, targets, sources, executor=None): - _, variables = env.NinjaGetShellCommand(node, action, targets, sources, executor=executor) - variables["msvc_deps_prefix"] = "import file:" - return "IDLC", variables - - env.NinjaRuleMapping("$IDLCCOM", get_idlc_command) - env.NinjaRuleMapping(env["IDLCCOM"], get_idlc_command) + env.NinjaRuleMapping("$IDLCCOM", "IDLC") + env.NinjaRuleMapping(env["IDLCCOM"], "IDLC") # We can create empty files for FAKELIB in Ninja because it # does not care about content signatures. We have to |