Index: test/ninja/action_dependencies/src/b.c |
diff --git a/test/ninja/action_dependencies/src/b.c b/test/ninja/action_dependencies/src/b.c |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8d47fc6d3932ff811320600bb8720feb5fcd36f7 |
--- /dev/null |
+++ b/test/ninja/action_dependencies/src/b.c |
@@ -0,0 +1,16 @@ |
+/* Copyright (c) 2011 Google Inc. All rights reserved. |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. */ |
+ |
+#include <stdio.h> |
+ |
+#include "b.h" |
+ |
+int main(int argc, char** argv) { |
+ if (argc < 2) |
+ return 1; |
+ FILE* f = fopen(argv[1], "wt"); |
+ fprintf(f, "#define VALUE %d\n", funcA()); |
+ fclose(f); |
+ return 0; |
+} |