diff options
Diffstat (limited to 'media/webrtc/trunk/tools/gyp/test/generator-output/src/subdir3')
4 files changed, 48 insertions, 0 deletions
diff --git a/media/webrtc/trunk/tools/gyp/test/generator-output/src/subdir3/build/README.txt b/media/webrtc/trunk/tools/gyp/test/generator-output/src/subdir3/build/README.txt new file mode 100644 index 000000000..90ef88619 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/generator-output/src/subdir3/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/src/subdir3/inc3/include3.h b/media/webrtc/trunk/tools/gyp/test/generator-output/src/subdir3/inc3/include3.h new file mode 100644 index 000000000..bf53bf1f0 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/generator-output/src/subdir3/inc3/include3.h @@ -0,0 +1 @@ +#define INCLUDE3_STRING "inc3/include3.h" diff --git a/media/webrtc/trunk/tools/gyp/test/generator-output/src/subdir3/prog3.c b/media/webrtc/trunk/tools/gyp/test/generator-output/src/subdir3/prog3.c new file mode 100644 index 000000000..c72233da1 --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/generator-output/src/subdir3/prog3.c @@ -0,0 +1,18 @@ +#include <stdio.h> + +#include "inc.h" +#include "include1.h" +#include "include2.h" +#include "include3.h" +#include "deeper.h" + +int main(void) +{ + printf("Hello from prog3.c\n"); + printf("Hello from %s\n", INC_STRING); + printf("Hello from %s\n", INCLUDE1_STRING); + printf("Hello from %s\n", INCLUDE2_STRING); + printf("Hello from %s\n", INCLUDE3_STRING); + printf("Hello from %s\n", DEEPER_STRING); + return 0; +} diff --git a/media/webrtc/trunk/tools/gyp/test/generator-output/src/subdir3/prog3.gyp b/media/webrtc/trunk/tools/gyp/test/generator-output/src/subdir3/prog3.gyp new file mode 100644 index 000000000..46c5e000a --- /dev/null +++ b/media/webrtc/trunk/tools/gyp/test/generator-output/src/subdir3/prog3.gyp @@ -0,0 +1,25 @@ +# 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. + +{ + 'includes': [ + '../symroot.gypi', + ], + 'targets': [ + { + 'target_name': 'prog3', + 'type': 'executable', + 'include_dirs': [ + '..', + '../inc1', + '../subdir2/inc2', + 'inc3', + '../subdir2/deeper', + ], + 'sources': [ + 'prog3.c', + ], + }, + ], +} |