diff options
Diffstat (limited to '')
-rw-r--r-- | third_party/python/gyp/test/ninja/action_dependencies/src/b.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/third_party/python/gyp/test/ninja/action_dependencies/src/b.c b/third_party/python/gyp/test/ninja/action_dependencies/src/b.c new file mode 100644 index 0000000000..824464695a --- /dev/null +++ b/third_party/python/gyp/test/ninja/action_dependencies/src/b.c @@ -0,0 +1,18 @@ +/* Copyright (c) 2012 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) { + FILE* f; + if (argc < 2) + return 1; + f = fopen(argv[1], "wt"); + fprintf(f, "#define VALUE %d\n", funcA()); + fclose(f); + return 0; +} |