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 --- .../copies-with-xcode-envvars.gyp | 87 ++++++++++++++++++++++ .../gyp/test/mac/copies-with-xcode-envvars/empty.c | 1 + .../gyp/test/mac/copies-with-xcode-envvars/file0 | 1 + .../gyp/test/mac/copies-with-xcode-envvars/file1 | 1 + .../gyp/test/mac/copies-with-xcode-envvars/file10 | 1 + .../gyp/test/mac/copies-with-xcode-envvars/file11 | 1 + .../gyp/test/mac/copies-with-xcode-envvars/file2 | 1 + .../gyp/test/mac/copies-with-xcode-envvars/file3 | 1 + .../gyp/test/mac/copies-with-xcode-envvars/file4 | 1 + .../gyp/test/mac/copies-with-xcode-envvars/file5 | 1 + .../gyp/test/mac/copies-with-xcode-envvars/file6 | 1 + .../gyp/test/mac/copies-with-xcode-envvars/file7 | 1 + .../gyp/test/mac/copies-with-xcode-envvars/file8 | 1 + .../gyp/test/mac/copies-with-xcode-envvars/file9 | 1 + 14 files changed, 100 insertions(+) create mode 100644 third_party/python/gyp/test/mac/copies-with-xcode-envvars/copies-with-xcode-envvars.gyp create mode 100644 third_party/python/gyp/test/mac/copies-with-xcode-envvars/empty.c create mode 100644 third_party/python/gyp/test/mac/copies-with-xcode-envvars/file0 create mode 100644 third_party/python/gyp/test/mac/copies-with-xcode-envvars/file1 create mode 100644 third_party/python/gyp/test/mac/copies-with-xcode-envvars/file10 create mode 100644 third_party/python/gyp/test/mac/copies-with-xcode-envvars/file11 create mode 100644 third_party/python/gyp/test/mac/copies-with-xcode-envvars/file2 create mode 100644 third_party/python/gyp/test/mac/copies-with-xcode-envvars/file3 create mode 100644 third_party/python/gyp/test/mac/copies-with-xcode-envvars/file4 create mode 100644 third_party/python/gyp/test/mac/copies-with-xcode-envvars/file5 create mode 100644 third_party/python/gyp/test/mac/copies-with-xcode-envvars/file6 create mode 100644 third_party/python/gyp/test/mac/copies-with-xcode-envvars/file7 create mode 100644 third_party/python/gyp/test/mac/copies-with-xcode-envvars/file8 create mode 100644 third_party/python/gyp/test/mac/copies-with-xcode-envvars/file9 (limited to 'third_party/python/gyp/test/mac/copies-with-xcode-envvars') diff --git a/third_party/python/gyp/test/mac/copies-with-xcode-envvars/copies-with-xcode-envvars.gyp b/third_party/python/gyp/test/mac/copies-with-xcode-envvars/copies-with-xcode-envvars.gyp new file mode 100644 index 0000000000..c1b1241fb7 --- /dev/null +++ b/third_party/python/gyp/test/mac/copies-with-xcode-envvars/copies-with-xcode-envvars.gyp @@ -0,0 +1,87 @@ +# Copyright (c) 2016 Mark Callow. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. +# +# For testing use of the UI settings & environment variables +# available in Xcode's PBXCopyFilesBuildPhase. +{ +'targets': [ + { + 'target_name': 'copies-with-xcode-envvars', + 'type': 'executable', + 'mac_bundle': 1, + 'sources': [ 'empty.c' ], + 'conditions': [ + ['OS == "ios" or OS == "mac"', { + 'copies': [{ + 'destination': '$(BUILT_PRODUCTS_DIR)', + 'files': [ + 'file0', + ], + }, { + 'destination': '$(BUILT_PRODUCTS_DIR)/$(WRAPPER_NAME)', + 'files': [ + 'file1', + ], + }, { + 'destination': '<(PRODUCT_DIR)/$(EXECUTABLE_FOLDER_PATH)', + 'files': [ + 'file2', + ], + }, { + 'destination': '<(PRODUCT_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)', + 'files': [ + 'file3', + ], + }, { + 'destination': '<(PRODUCT_DIR)/$(UNLOCALIZED_RESOURCES_FOLDER_PATH)/testimages', + 'files': [ + 'file4', + ], + }, { + 'destination': '$(BUILT_PRODUCTS_DIR)/$(JAVA_FOLDER_PATH)', + 'files': [ + 'file5', + ], + }, { + 'destination': '<(PRODUCT_DIR)/$(FRAMEWORKS_FOLDER_PATH)', + 'files': [ + 'file6', + ], + }, { + # NOTE: This is not an Xcode macro name but + # xcodeproj_file.py recognizes it and sends + # the output to the same place as + # $(FRAMEWORKS_FOLDER_PATH). xcode_emulation.py + # sets its value to an absolute path. + 'destination': '$(BUILT_FRAMEWORKS_DIR)', + 'files': [ + 'file7', + ], + }, { + 'destination': '<(PRODUCT_DIR)/$(SHARED_FRAMEWORKS_FOLDER_PATH)', + 'files': [ + 'file8', + ], + }, { + 'destination': '<(PRODUCT_DIR)/$(SHARED_SUPPORT_FOLDER_PATH)', + 'files': [ + 'file9', + ], + }, { + 'destination': '<(PRODUCT_DIR)/$(PLUGINS_FOLDER_PATH)', + 'files': [ + 'file10', + ], + }, { + 'destination': '<(PRODUCT_DIR)/$(XPCSERVICES_FOLDER_PATH)', + 'files': [ + 'file11', + ], + }], # copies + }], # OS == "ios" or OS == "mac" + ], # conditions + }], # targets +} + +# vim:ai:ts=4:sts=4:sw=2:expandtab:textwidth=70 diff --git a/third_party/python/gyp/test/mac/copies-with-xcode-envvars/empty.c b/third_party/python/gyp/test/mac/copies-with-xcode-envvars/empty.c new file mode 100644 index 0000000000..237c8ce181 --- /dev/null +++ b/third_party/python/gyp/test/mac/copies-with-xcode-envvars/empty.c @@ -0,0 +1 @@ +int main() {} diff --git a/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file0 b/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file0 new file mode 100644 index 0000000000..117889361f --- /dev/null +++ b/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file0 @@ -0,0 +1 @@ +file0 contents diff --git a/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file1 b/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file1 new file mode 100644 index 0000000000..84d55c5759 --- /dev/null +++ b/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file1 @@ -0,0 +1 @@ +file1 contents diff --git a/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file10 b/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file10 new file mode 100644 index 0000000000..372e992ef9 --- /dev/null +++ b/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file10 @@ -0,0 +1 @@ +file10 contents diff --git a/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file11 b/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file11 new file mode 100644 index 0000000000..923e760e1f --- /dev/null +++ b/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file11 @@ -0,0 +1 @@ +file11 contents diff --git a/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file2 b/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file2 new file mode 100644 index 0000000000..af1b8ae35d --- /dev/null +++ b/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file2 @@ -0,0 +1 @@ +file2 contents diff --git a/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file3 b/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file3 new file mode 100644 index 0000000000..43f16f3522 --- /dev/null +++ b/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file3 @@ -0,0 +1 @@ +file3 contents diff --git a/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file4 b/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file4 new file mode 100644 index 0000000000..5f7270a084 --- /dev/null +++ b/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file4 @@ -0,0 +1 @@ +file4 contents diff --git a/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file5 b/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file5 new file mode 100644 index 0000000000..41f47186bd --- /dev/null +++ b/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file5 @@ -0,0 +1 @@ +file5 contents diff --git a/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file6 b/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file6 new file mode 100644 index 0000000000..f5d5757348 --- /dev/null +++ b/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file6 @@ -0,0 +1 @@ +file6 contents diff --git a/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file7 b/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file7 new file mode 100644 index 0000000000..90dbe6e9e1 --- /dev/null +++ b/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file7 @@ -0,0 +1 @@ +file7 contents diff --git a/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file8 b/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file8 new file mode 100644 index 0000000000..9eb613fabb --- /dev/null +++ b/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file8 @@ -0,0 +1 @@ +file8 contents diff --git a/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file9 b/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file9 new file mode 100644 index 0000000000..e37ac72ada --- /dev/null +++ b/third_party/python/gyp/test/mac/copies-with-xcode-envvars/file9 @@ -0,0 +1 @@ +file9 contents -- cgit v1.2.3