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 --- third_party/python/gyp/test/win/shard/hello.cc | 7 ++++ third_party/python/gyp/test/win/shard/hello1.cc | 7 ++++ third_party/python/gyp/test/win/shard/hello2.cc | 7 ++++ third_party/python/gyp/test/win/shard/hello3.cc | 7 ++++ third_party/python/gyp/test/win/shard/hello4.cc | 7 ++++ third_party/python/gyp/test/win/shard/shard.gyp | 31 ++++++++++++++++ .../python/gyp/test/win/shard/shard_ref.gyp | 41 ++++++++++++++++++++++ 7 files changed, 107 insertions(+) create mode 100644 third_party/python/gyp/test/win/shard/hello.cc create mode 100644 third_party/python/gyp/test/win/shard/hello1.cc create mode 100644 third_party/python/gyp/test/win/shard/hello2.cc create mode 100644 third_party/python/gyp/test/win/shard/hello3.cc create mode 100644 third_party/python/gyp/test/win/shard/hello4.cc create mode 100644 third_party/python/gyp/test/win/shard/shard.gyp create mode 100644 third_party/python/gyp/test/win/shard/shard_ref.gyp (limited to 'third_party/python/gyp/test/win/shard') diff --git a/third_party/python/gyp/test/win/shard/hello.cc b/third_party/python/gyp/test/win/shard/hello.cc new file mode 100644 index 0000000000..a9dce62453 --- /dev/null +++ b/third_party/python/gyp/test/win/shard/hello.cc @@ -0,0 +1,7 @@ +// Copyright 2014 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. + +int main() { + return 0; +} diff --git a/third_party/python/gyp/test/win/shard/hello1.cc b/third_party/python/gyp/test/win/shard/hello1.cc new file mode 100644 index 0000000000..0eccf2861d --- /dev/null +++ b/third_party/python/gyp/test/win/shard/hello1.cc @@ -0,0 +1,7 @@ +// Copyright (c) 2013 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. + +int f1() { + return 0; +} diff --git a/third_party/python/gyp/test/win/shard/hello2.cc b/third_party/python/gyp/test/win/shard/hello2.cc new file mode 100644 index 0000000000..23fcb546cb --- /dev/null +++ b/third_party/python/gyp/test/win/shard/hello2.cc @@ -0,0 +1,7 @@ +// Copyright (c) 2013 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. + +int f2() { + return 0; +} diff --git a/third_party/python/gyp/test/win/shard/hello3.cc b/third_party/python/gyp/test/win/shard/hello3.cc new file mode 100644 index 0000000000..a72e2efb5a --- /dev/null +++ b/third_party/python/gyp/test/win/shard/hello3.cc @@ -0,0 +1,7 @@ +// Copyright (c) 2013 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. + +int f3() { + return 0; +} diff --git a/third_party/python/gyp/test/win/shard/hello4.cc b/third_party/python/gyp/test/win/shard/hello4.cc new file mode 100644 index 0000000000..a94df19499 --- /dev/null +++ b/third_party/python/gyp/test/win/shard/hello4.cc @@ -0,0 +1,7 @@ +// Copyright (c) 2013 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. + +int f4() { + return 0; +} diff --git a/third_party/python/gyp/test/win/shard/shard.gyp b/third_party/python/gyp/test/win/shard/shard.gyp new file mode 100644 index 0000000000..eac45fcff7 --- /dev/null +++ b/third_party/python/gyp/test/win/shard/shard.gyp @@ -0,0 +1,31 @@ +# Copyright (c) 2013 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': 'shard', + 'type': 'static_library', + 'msvs_shard': 4, + 'sources': [ + 'hello1.cc', + 'hello2.cc', + 'hello3.cc', + 'hello4.cc', + ], + 'product_dir': '<(PRODUCT_DIR)', + }, + { + 'target_name': 'refs_to_shard', + 'type': 'executable', + 'dependencies': [ + # Make sure references are correctly updated. + 'shard', + ], + 'sources': [ + 'hello.cc', + ], + }, + ] +} diff --git a/third_party/python/gyp/test/win/shard/shard_ref.gyp b/third_party/python/gyp/test/win/shard/shard_ref.gyp new file mode 100644 index 0000000000..3ec8d76f99 --- /dev/null +++ b/third_party/python/gyp/test/win/shard/shard_ref.gyp @@ -0,0 +1,41 @@ +# Copyright 2014 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': 'refs_to_shard_external_lib', + 'type': 'static_library', + 'dependencies': [ + # Make sure references in other files are updated correctly. + 'shard.gyp:shard', + ], + 'sources': [ + 'hello.cc', + ], + }, + { + 'target_name': 'refs_to_shard_external_exe', + 'type': 'executable', + 'dependencies': [ + # Make sure references in other files are updated correctly. + 'shard.gyp:shard', + ], + 'sources': [ + 'hello.cc', + ], + }, + { + 'target_name': 'refs_to_shard_external_dll', + 'type': 'shared_library', + 'dependencies': [ + # Make sure references in other files are updated correctly. + 'shard.gyp:shard', + ], + 'sources': [ + 'hello.cc', + ], + }, + ] +} -- cgit v1.2.3