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/errors/dependency_cycle.gyp | 23 +++++++ .../python/gyp/test/errors/duplicate_basenames.gyp | 13 ++++ .../python/gyp/test/errors/duplicate_node.gyp | 12 ++++ .../python/gyp/test/errors/duplicate_rule.gyp | 22 ++++++ .../python/gyp/test/errors/duplicate_targets.gyp | 14 ++++ .../python/gyp/test/errors/error_command.gyp | 12 ++++ third_party/python/gyp/test/errors/file_cycle0.gyp | 17 +++++ third_party/python/gyp/test/errors/file_cycle1.gyp | 13 ++++ .../python/gyp/test/errors/gyptest-errors.py | 80 ++++++++++++++++++++++ .../python/gyp/test/errors/missing_command.gyp | 12 ++++ third_party/python/gyp/test/errors/missing_dep.gyp | 15 ++++ .../python/gyp/test/errors/missing_targets.gyp | 8 +++ 12 files changed, 241 insertions(+) create mode 100644 third_party/python/gyp/test/errors/dependency_cycle.gyp create mode 100644 third_party/python/gyp/test/errors/duplicate_basenames.gyp create mode 100644 third_party/python/gyp/test/errors/duplicate_node.gyp create mode 100644 third_party/python/gyp/test/errors/duplicate_rule.gyp create mode 100644 third_party/python/gyp/test/errors/duplicate_targets.gyp create mode 100644 third_party/python/gyp/test/errors/error_command.gyp create mode 100644 third_party/python/gyp/test/errors/file_cycle0.gyp create mode 100644 third_party/python/gyp/test/errors/file_cycle1.gyp create mode 100755 third_party/python/gyp/test/errors/gyptest-errors.py create mode 100644 third_party/python/gyp/test/errors/missing_command.gyp create mode 100644 third_party/python/gyp/test/errors/missing_dep.gyp create mode 100644 third_party/python/gyp/test/errors/missing_targets.gyp (limited to 'third_party/python/gyp/test/errors') diff --git a/third_party/python/gyp/test/errors/dependency_cycle.gyp b/third_party/python/gyp/test/errors/dependency_cycle.gyp new file mode 100644 index 0000000000..eef44bc9eb --- /dev/null +++ b/third_party/python/gyp/test/errors/dependency_cycle.gyp @@ -0,0 +1,23 @@ +# 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': 'target0', + 'type': 'none', + 'dependencies': [ 'target1' ], + }, + { + 'target_name': 'target1', + 'type': 'none', + 'dependencies': [ 'target2' ], + }, + { + 'target_name': 'target2', + 'type': 'none', + 'dependencies': [ 'target0' ], + }, + ], +} diff --git a/third_party/python/gyp/test/errors/duplicate_basenames.gyp b/third_party/python/gyp/test/errors/duplicate_basenames.gyp new file mode 100644 index 0000000000..b3dceb3949 --- /dev/null +++ b/third_party/python/gyp/test/errors/duplicate_basenames.gyp @@ -0,0 +1,13 @@ +# 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': 'foo', + 'type': 'static_library', + 'sources': ['foo.c', 'foo.cc'], + }, + ] +} diff --git a/third_party/python/gyp/test/errors/duplicate_node.gyp b/third_party/python/gyp/test/errors/duplicate_node.gyp new file mode 100644 index 0000000000..d6096096bd --- /dev/null +++ b/third_party/python/gyp/test/errors/duplicate_node.gyp @@ -0,0 +1,12 @@ +# Copyright (c) 2011 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' : 'foo', 'type': 'executable' }, + ], + 'targets': [ + { 'target_name' : 'bar', 'type': 'executable' }, + ] +} diff --git a/third_party/python/gyp/test/errors/duplicate_rule.gyp b/third_party/python/gyp/test/errors/duplicate_rule.gyp new file mode 100644 index 0000000000..dab98e96c2 --- /dev/null +++ b/third_party/python/gyp/test/errors/duplicate_rule.gyp @@ -0,0 +1,22 @@ +# Copyright (c) 2011 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': 'foo', + 'type': 'executable', + 'rules': [ + { + 'rule_name': 'bar', + 'extension': '', + }, + { + 'rule_name': 'bar', + 'extension': '', + }, + ], + }, + ], +} diff --git a/third_party/python/gyp/test/errors/duplicate_targets.gyp b/third_party/python/gyp/test/errors/duplicate_targets.gyp new file mode 100644 index 0000000000..aec470eefa --- /dev/null +++ b/third_party/python/gyp/test/errors/duplicate_targets.gyp @@ -0,0 +1,14 @@ +# 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': 'foo' + }, + { + 'target_name': 'foo' + }, + ] +} diff --git a/third_party/python/gyp/test/errors/error_command.gyp b/third_party/python/gyp/test/errors/error_command.gyp new file mode 100644 index 0000000000..1736fc9882 --- /dev/null +++ b/third_party/python/gyp/test/errors/error_command.gyp @@ -0,0 +1,12 @@ +# Copyright (c) 2015 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': 'foo', + 'type': '