[C++] Add ninja_normalized_path2.mk and add a comment
Not sure what we can do for this issue, but leaving some
comments would help.
diff --git a/ninja.cc b/ninja.cc
index b36bee3..a0ac9b7 100644
--- a/ninja.cc
+++ b/ninja.cc
@@ -391,6 +391,10 @@
if (!p.second)
return;
+ // Removing this will fix auto_vars.mk, build_once.mk, and
+ // command_vars.mk. However, this change will make
+ // ninja_normalized_path2.mk fail and cause a lot of warnings for
+ // Android build.
if (node->cmds.empty() &&
node->deps.empty() && node->order_onlys.empty() && !node->is_phony) {
return;