diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /media/webrtc/trunk/tools/gyp/test/generator-output/rules/subdir1 | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'media/webrtc/trunk/tools/gyp/test/generator-output/rules/subdir1')
7 files changed, 95 insertions, 0 deletions
diff --git a/media/webrtc/trunk/tools/gyp/test/generator-output/rules/subdir1/build/README.txt b/media/webrtc/trunk/tools/gyp/test/generator-output/rules/subdir1/build/README.txt new file mode 100644 index 000000000..1b052c9a2 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/generator-output/rules/subdir1/build/README.txt @@ -0,0 +1,4 @@ +A place-holder for this Xcode build output directory, so that the
+test script can verify that .xcodeproj files are not created in
+their normal location by making the src/ read-only, and then
+selectively making this build directory writable.
diff --git a/media/webrtc/trunk/tools/gyp/test/generator-output/rules/subdir1/define3.in0 b/media/webrtc/trunk/tools/gyp/test/generator-output/rules/subdir1/define3.in0 new file mode 100644 index 000000000..cc29c643f --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/generator-output/rules/subdir1/define3.in0 @@ -0,0 +1 @@ +#define STRING3 "Hello from define3.in0\n" diff --git a/media/webrtc/trunk/tools/gyp/test/generator-output/rules/subdir1/define4.in0 b/media/webrtc/trunk/tools/gyp/test/generator-output/rules/subdir1/define4.in0 new file mode 100644 index 000000000..c9b0467b3 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/generator-output/rules/subdir1/define4.in0 @@ -0,0 +1 @@ +#define STRING4 "Hello from define4.in0\n" diff --git a/media/webrtc/trunk/tools/gyp/test/generator-output/rules/subdir1/executable.gyp b/media/webrtc/trunk/tools/gyp/test/generator-output/rules/subdir1/executable.gyp new file mode 100644 index 000000000..42bee4d74 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/generator-output/rules/subdir1/executable.gyp @@ -0,0 +1,59 @@ +# Copyright (c) 2009 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. + +{ + 'targets': [ + { + 'target_name': 'program', + 'type': 'executable', + 'msvs_cygwin_shell': 0, + 'sources': [ + 'program.c', + 'function1.in1', + 'function2.in1', + 'define3.in0', + 'define4.in0', + ], + 'include_dirs': [ + '<(INTERMEDIATE_DIR)', + ], + 'rules': [ + { + 'rule_name': 'copy_file_0', + 'extension': 'in0', + 'inputs': [ + '../copy-file.py', + ], + 'outputs': [ + # TODO: fix Make to support generated files not + # in a variable-named path like <(INTERMEDIATE_DIR) + #'<(RULE_INPUT_ROOT).c', + '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).h', + ], + 'action': [ + 'python', '<(_inputs)', '<(RULE_INPUT_PATH)', '<@(_outputs)', + ], + 'process_outputs_as_sources': 0, + }, + { + 'rule_name': 'copy_file_1', + 'extension': 'in1', + 'inputs': [ + '../copy-file.py', + ], + 'outputs': [ + # TODO: fix Make to support generated files not + # in a variable-named path like <(INTERMEDIATE_DIR) + #'<(RULE_INPUT_ROOT).c', + '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).c', + ], + 'action': [ + 'python', '<(_inputs)', '<(RULE_INPUT_PATH)', '<@(_outputs)', + ], + 'process_outputs_as_sources': 1, + }, + ], + }, + ], +} diff --git a/media/webrtc/trunk/tools/gyp/test/generator-output/rules/subdir1/function1.in1 b/media/webrtc/trunk/tools/gyp/test/generator-output/rules/subdir1/function1.in1 new file mode 100644 index 000000000..545e7ca16 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/generator-output/rules/subdir1/function1.in1 @@ -0,0 +1,6 @@ +#include <stdio.h> + +void function1(void) +{ + printf("Hello from function1.in1\n"); +} diff --git a/media/webrtc/trunk/tools/gyp/test/generator-output/rules/subdir1/function2.in1 b/media/webrtc/trunk/tools/gyp/test/generator-output/rules/subdir1/function2.in1 new file mode 100644 index 000000000..6bad43f9c --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/generator-output/rules/subdir1/function2.in1 @@ -0,0 +1,6 @@ +#include <stdio.h> + +void function2(void) +{ + printf("Hello from function2.in1\n"); +} diff --git a/media/webrtc/trunk/tools/gyp/test/generator-output/rules/subdir1/program.c b/media/webrtc/trunk/tools/gyp/test/generator-output/rules/subdir1/program.c new file mode 100644 index 000000000..56b320632 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/generator-output/rules/subdir1/program.c @@ -0,0 +1,18 @@ +#include <stdio.h> +#include "define3.h" +#include "define4.h" + +extern void function1(void); +extern void function2(void); +extern void function3(void); +extern void function4(void); + +int main(void) +{ + printf("Hello from program.c\n"); + function1(); + function2(); + printf("%s", STRING3); + printf("%s", STRING4); + return 0; +} |