From 2aa4a82499d4becd2284cdb482213d541b8804dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 16:29:10 +0200 Subject: Adding upstream version 86.0.1. Signed-off-by: Daniel Baumann --- .../src/use-built-dependencies-rule.gyp | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 third_party/python/gyp/test/rules-use-built-dependencies/src/use-built-dependencies-rule.gyp (limited to 'third_party/python/gyp/test/rules-use-built-dependencies/src/use-built-dependencies-rule.gyp') diff --git a/third_party/python/gyp/test/rules-use-built-dependencies/src/use-built-dependencies-rule.gyp b/third_party/python/gyp/test/rules-use-built-dependencies/src/use-built-dependencies-rule.gyp new file mode 100644 index 0000000000..92bfeda392 --- /dev/null +++ b/third_party/python/gyp/test/rules-use-built-dependencies/src/use-built-dependencies-rule.gyp @@ -0,0 +1,42 @@ +# 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': 'main', + 'toolsets': ['host'], + 'type': 'executable', + 'sources': [ + 'main.cc', + ], + }, + { + 'target_name': 'post', + 'toolsets': ['host'], + 'type': 'none', + 'dependencies': [ + 'main', + ], + 'sources': [ + # As this test is written it could easily be made into an action. + # An acutal use case would have a number of these 'sources'. + '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)main<(EXECUTABLE_SUFFIX)', + ], + 'rules': [ + { + 'rule_name': 'generate_output', + 'extension': '<(EXECUTABLE_SUFFIX)', + 'outputs': [ '<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)_output', ], + 'msvs_cygwin_shell': 0, + 'action': [ + '<(RULE_INPUT_PATH)', + '<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT)_output', + ], + 'message': 'Generating output for <(RULE_INPUT_ROOT)' + }, + ], + }, + ], +} -- cgit v1.2.3