From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- .../python/gyp/test/subdirectory/src/prog1.c | 7 +++++++ .../python/gyp/test/subdirectory/src/prog1.gyp | 21 +++++++++++++++++++++ .../python/gyp/test/subdirectory/src/subdir/prog2.c | 7 +++++++ .../gyp/test/subdirectory/src/subdir/prog2.gyp | 18 ++++++++++++++++++ .../test/subdirectory/src/subdir/subdir2/prog3.c | 7 +++++++ .../test/subdirectory/src/subdir/subdir2/prog3.gyp | 18 ++++++++++++++++++ .../python/gyp/test/subdirectory/src/symroot.gypi | 16 ++++++++++++++++ 7 files changed, 94 insertions(+) create mode 100644 third_party/python/gyp/test/subdirectory/src/prog1.c create mode 100644 third_party/python/gyp/test/subdirectory/src/prog1.gyp create mode 100644 third_party/python/gyp/test/subdirectory/src/subdir/prog2.c create mode 100644 third_party/python/gyp/test/subdirectory/src/subdir/prog2.gyp create mode 100644 third_party/python/gyp/test/subdirectory/src/subdir/subdir2/prog3.c create mode 100644 third_party/python/gyp/test/subdirectory/src/subdir/subdir2/prog3.gyp create mode 100644 third_party/python/gyp/test/subdirectory/src/symroot.gypi (limited to 'third_party/python/gyp/test/subdirectory/src') diff --git a/third_party/python/gyp/test/subdirectory/src/prog1.c b/third_party/python/gyp/test/subdirectory/src/prog1.c new file mode 100644 index 0000000000..218e99401c --- /dev/null +++ b/third_party/python/gyp/test/subdirectory/src/prog1.c @@ -0,0 +1,7 @@ +#include + +int main(void) +{ + printf("Hello from prog1.c\n"); + return 0; +} diff --git a/third_party/python/gyp/test/subdirectory/src/prog1.gyp b/third_party/python/gyp/test/subdirectory/src/prog1.gyp new file mode 100644 index 0000000000..2aa66ce7d7 --- /dev/null +++ b/third_party/python/gyp/test/subdirectory/src/prog1.gyp @@ -0,0 +1,21 @@ +# 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': 'prog1', + 'type': 'executable', + 'dependencies': [ + 'subdir/prog2.gyp:prog2', + ], + 'sources': [ + 'prog1.c', + ], + }, + ], +} diff --git a/third_party/python/gyp/test/subdirectory/src/subdir/prog2.c b/third_party/python/gyp/test/subdirectory/src/subdir/prog2.c new file mode 100644 index 0000000000..12a31883b9 --- /dev/null +++ b/third_party/python/gyp/test/subdirectory/src/subdir/prog2.c @@ -0,0 +1,7 @@ +#include + +int main(void) +{ + printf("Hello from prog2.c\n"); + return 0; +} diff --git a/third_party/python/gyp/test/subdirectory/src/subdir/prog2.gyp b/third_party/python/gyp/test/subdirectory/src/subdir/prog2.gyp new file mode 100644 index 0000000000..c6cd35f7f8 --- /dev/null +++ b/third_party/python/gyp/test/subdirectory/src/subdir/prog2.gyp @@ -0,0 +1,18 @@ +# 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': 'prog2', + 'type': 'executable', + 'sources': [ + 'prog2.c', + ], + }, + ], +} diff --git a/third_party/python/gyp/test/subdirectory/src/subdir/subdir2/prog3.c b/third_party/python/gyp/test/subdirectory/src/subdir/subdir2/prog3.c new file mode 100644 index 0000000000..a326dc61b6 --- /dev/null +++ b/third_party/python/gyp/test/subdirectory/src/subdir/subdir2/prog3.c @@ -0,0 +1,7 @@ +#include + +int main(void) +{ + printf("Hello from prog3.c\n"); + return 0; +} diff --git a/third_party/python/gyp/test/subdirectory/src/subdir/subdir2/prog3.gyp b/third_party/python/gyp/test/subdirectory/src/subdir/subdir2/prog3.gyp new file mode 100644 index 0000000000..b49fb59113 --- /dev/null +++ b/third_party/python/gyp/test/subdirectory/src/subdir/subdir2/prog3.gyp @@ -0,0 +1,18 @@ +# 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', + 'sources': [ + 'prog3.c', + ], + }, + ], +} diff --git a/third_party/python/gyp/test/subdirectory/src/symroot.gypi b/third_party/python/gyp/test/subdirectory/src/symroot.gypi new file mode 100644 index 0000000000..519916427c --- /dev/null +++ b/third_party/python/gyp/test/subdirectory/src/symroot.gypi @@ -0,0 +1,16 @@ +# 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. + +{ + 'variables': { + 'set_symroot%': 0, + }, + 'conditions': [ + ['set_symroot == 1', { + 'xcode_settings': { + 'SYMROOT': '<(DEPTH)/build', + }, + }], + ], +} -- cgit v1.2.3