Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gyp for openSUSE:Factory checked in at 2023-05-05 15:59:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gyp (Old) and /work/SRC/openSUSE:Factory/.gyp.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gyp" Fri May 5 15:59:26 2023 rev:15 rq:1085111 version:0+git.20230301 Changes: -------- --- /work/SRC/openSUSE:Factory/gyp/gyp.changes 2021-04-29 01:39:06.578638755 +0200 +++ /work/SRC/openSUSE:Factory/.gyp.new.1533/gyp.changes 2023-05-05 15:59:41.836914323 +0200 @@ -1,0 +2,14 @@ +Fri May 05 12:23:53 UTC 2023 - [email protected] + +- Update to version 0+git.20230301: + * Add SpectreMitigation attribute for msvs + * Import OrderedDict from collections, not collections_abc + * gyp: default to python3 if available + * MSVSVersion.py: add support for VS2019 and VS2022 + * msvs_emulation.py: avoid string-int/float comparisons + * Fix python3 compatibility on windows + * msvs_emulation.py: allow skipping path normalization + * Use six.moves.collections_abc where appropriate (boo#1211137) + * Remove Travis integration, since GYP is now idle. + +------------------------------------------------------------------- Old: ---- gyp-0+git.20200512.obscpio New: ---- gyp-0+git.20230301.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gyp.spec ++++++ --- /var/tmp/diff_new_pack.I5JpP9/_old 2023-05-05 15:59:42.428917715 +0200 +++ /var/tmp/diff_new_pack.I5JpP9/_new 2023-05-05 15:59:42.440917784 +0200 @@ -1,7 +1,7 @@ # # spec file for package gyp # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2015 SUSE LINUX Products GmbH, Nurenberg, Germany. # # All modifications and additions to the file contributed by third parties @@ -18,7 +18,7 @@ Name: gyp -Version: 0+git.20200512 +Version: 0+git.20230301 Release: 0 Summary: Generate Your Projects License: BSD-3-Clause @@ -31,7 +31,7 @@ Requires: ninja Requires: python-setuptools Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives Provides: gyp = %{version} Obsoletes: gyp < %{version} BuildArch: noarch ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.I5JpP9/_old 2023-05-05 15:59:42.484918036 +0200 +++ /var/tmp/diff_new_pack.I5JpP9/_new 2023-05-05 15:59:42.488918059 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://chromium.googlesource.com/external/gyp</param> - <param name="changesrevision">caa60026e223fc501e8b337fd5086ece4028b1c6</param></service></servicedata> + <param name="changesrevision">c6d8b9f7ee355cff1531b0f369cd338a50baeb07</param></service></servicedata> (No newline at EOF) ++++++ gyp-0+git.20200512.obscpio -> gyp-0+git.20230301.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20200512/.gitignore new/gyp-0+git.20230301/.gitignore --- old/gyp-0+git.20200512/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/gyp-0+git.20230301/.gitignore 2023-03-01 19:52:40.000000000 +0100 @@ -0,0 +1 @@ +*.pyc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20200512/.travis.yml new/gyp-0+git.20230301/.travis.yml --- old/gyp-0+git.20200512/.travis.yml 2020-05-12 16:59:53.000000000 +0200 +++ new/gyp-0+git.20230301/.travis.yml 1970-01-01 01:00:00.000000000 +0100 @@ -1,23 +0,0 @@ -language: cpp -matrix: - include: - - os: linux - compiler: clang - - os: osx - compiler: clang - - python: 2.7 - language: python - before_install: pip install flake8 - script: flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics - - python: 3.7 - language: python - before_install: pip install flake8 - script: flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics - dist: xenial # required for Python >= 3.7 (travis-ci/travis-ci#9069) - -before_install: ./buildbot/travis-checkout.sh -script: ./buildbot/travis-test.sh - -branches: - only: - - master diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20200512/gyp new/gyp-0+git.20230301/gyp --- old/gyp-0+git.20200512/gyp 2020-05-12 16:59:53.000000000 +0200 +++ new/gyp-0+git.20230301/gyp 2023-03-01 19:52:40.000000000 +0100 @@ -3,6 +3,11 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -set -e +set -eu base=$(dirname "$0") -exec python "${base}/gyp_main.py" "$@" +if type python3 >& /dev/null; then + python=python3 +else + python=python +fi +exec "${python}" "${base}/gyp_main.py" "$@" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20200512/gyp_main.py new/gyp-0+git.20230301/gyp_main.py --- old/gyp-0+git.20200512/gyp_main.py 2020-05-12 16:59:53.000000000 +0200 +++ new/gyp-0+git.20230301/gyp_main.py 2023-03-01 19:52:40.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Copyright (c) 2009 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20200512/pylib/gyp/MSVSVersion.py new/gyp-0+git.20230301/pylib/gyp/MSVSVersion.py --- old/gyp-0+git.20200512/pylib/gyp/MSVSVersion.py 2020-05-12 16:59:53.000000000 +0200 +++ new/gyp-0+git.20230301/pylib/gyp/MSVSVersion.py 2023-03-01 19:52:40.000000000 +0100 @@ -17,6 +17,10 @@ return os.path.normpath(os.path.join(*args)) +def version_to_tuple(version_str): + return tuple(int(x) for x in version_str.split('.')) + + class VisualStudioVersion(object): """Information regarding a version of Visual Studio.""" @@ -260,10 +264,20 @@ if path: path = os.path.normpath(path) versions = { + '2022': VisualStudioVersion('2022', + 'Visual Studio 2022', + solution_version='12.00', + project_version='17.0', + flat_sln=False, + uses_vcxproj=True, + path=path, + sdk_based=sdk_based, + default_toolset='v143', + compatible_sdks=['v8.1', 'v10.0']), '2019': VisualStudioVersion('2019', 'Visual Studio 2019', solution_version='12.00', - project_version='15.0', + project_version='16.0', flat_sln=False, uses_vcxproj=True, path=path, @@ -400,6 +414,8 @@ 2013(e) - Visual Studio 2013 (12) 2015 - Visual Studio 2015 (14) 2017 - Visual Studio 2017 (15) + 2019 - Visual Studio 2019 (16) + 2022 - Visual Studio 2022 (17) Where (e) is e for express editions of MSVS and blank otherwise. """ version_to_year = { @@ -409,9 +425,19 @@ '11.0': '2012', '12.0': '2013', '14.0': '2015', - '15.0': '2017' + '15.0': '2017', + '16.0': '2019', + '17.0': '2022', } versions = [] + + # MSVC's vcvars*.bat scripts set up extra environment variables we can use: + # * path to the VS installation root, for example: + # C:\Program Files\Microsoft Visual Studio\2022\Professional + env_vs_path = os.getenv('VSINSTALLDIR') + # * VS version, e.g. 17.0 + env_vs_version = os.getenv('VisualStudioVersion') + for version in versions_to_check: # Old method of searching for which VS version is installed # We don't use the 2010-encouraged-way because we also want to get the @@ -448,13 +474,17 @@ if not path: continue path = _ConvertToCygpath(path) - if version == '15.0': - if os.path.exists(path): - versions.append(_CreateVersion('2017', path)) + if version_to_tuple(version) >= (15, 0): + if os.path.exists(path): + versions.append(_CreateVersion(version_to_year[version], path)) elif version != '14.0': # There is no Express edition for 2015. versions.append(_CreateVersion(version_to_year[version] + 'e', os.path.join(path, '..'), sdk_based=True)) + if env_vs_version and env_vs_path and env_vs_version == version: + versions.append(_CreateVersion(version_to_year[env_vs_version], + env_vs_path)) + return versions @@ -470,7 +500,8 @@ if version == 'auto': version = os.environ.get('GYP_MSVS_VERSION', 'auto') version_map = { - 'auto': ('15.0', '14.0', '12.0', '10.0', '9.0', '8.0', '11.0'), + 'auto': ('17.0', '16.0', '15.0', '14.0', '12.0', '10.0', '9.0', '8.0', + '11.0'), '2005': ('8.0',), '2005e': ('8.0',), '2008': ('9.0',), @@ -483,6 +514,8 @@ '2013e': ('12.0',), '2015': ('14.0',), '2017': ('15.0',), + '2019': ('16.0',), + '2022': ('17.0',), } override_path = os.environ.get('GYP_MSVS_OVERRIDE_PATH') if override_path: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20200512/pylib/gyp/common.py new/gyp-0+git.20230301/pylib/gyp/common.py --- old/gyp-0+git.20200512/pylib/gyp/common.py 2020-05-12 16:59:53.000000000 +0200 +++ new/gyp-0+git.20230301/pylib/gyp/common.py 2023-03-01 19:52:40.000000000 +0100 @@ -4,7 +4,6 @@ from __future__ import with_statement -import collections import errno import filecmp import os.path @@ -12,6 +11,8 @@ import tempfile import sys +from six.moves import collections_abc + # A minimal memoizing decorator. It'll blow up if the args aren't immutable, # among other "problems". @@ -494,7 +495,7 @@ # Based on http://code.activestate.com/recipes/576694/. -class OrderedSet(collections.MutableSet): +class OrderedSet(collections_abc.MutableSet): def __init__(self, iterable=None): self.end = end = [] end += [None, end, end] # sentinel node for doubly linked list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20200512/pylib/gyp/easy_xml_test.py new/gyp-0+git.20230301/pylib/gyp/easy_xml_test.py --- old/gyp-0+git.20200512/pylib/gyp/easy_xml_test.py 2020-05-12 16:59:53.000000000 +0200 +++ new/gyp-0+git.20230301/pylib/gyp/easy_xml_test.py 2023-03-01 19:52:40.000000000 +0100 @@ -81,6 +81,7 @@ '\'Debug|Win32\'" Label="Configuration">' '<ConfigurationType>Application</ConfigurationType>' '<CharacterSet>Unicode</CharacterSet>' + '<SpectreMitigation>SpectreLoadCF</SpectreMitigation>' '</PropertyGroup>' '</Project>') @@ -96,7 +97,8 @@ {'Condition': "'$(Configuration)|$(Platform)'=='Debug|Win32'", 'Label': 'Configuration'}, ['ConfigurationType', 'Application'], - ['CharacterSet', 'Unicode'] + ['CharacterSet', 'Unicode'], + ['SpectreMitigation', 'SpectreLoadCF'] ] ]) self.assertEqual(xml, target) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20200512/pylib/gyp/generator/msvs.py new/gyp-0+git.20230301/pylib/gyp/generator/msvs.py --- old/gyp-0+git.20200512/pylib/gyp/generator/msvs.py 2020-05-12 16:59:53.000000000 +0200 +++ new/gyp-0+git.20230301/pylib/gyp/generator/msvs.py 2023-03-01 19:52:40.000000000 +0100 @@ -4,7 +4,6 @@ from __future__ import print_function -import collections import copy import ntpath import os @@ -12,6 +11,7 @@ import re import subprocess import sys +import collections import gyp.common import gyp.easy_xml as easy_xml @@ -2740,6 +2740,10 @@ config_type = msbuild_attributes.get('ConfigurationType') _AddConditionalProperty(properties, condition, 'ConfigurationType', config_type) + spectre_mitigation = msbuild_attributes.get('SpectreMitigation') + if spectre_mitigation: + _AddConditionalProperty(properties, condition, 'SpectreMitigation', + spectre_mitigation) if config_type == 'Driver': _AddConditionalProperty(properties, condition, 'DriverType', 'WDM') _AddConditionalProperty(properties, condition, 'TargetVersion', @@ -2821,6 +2825,8 @@ msbuild_attributes[a] = _ConvertMSVSCharacterSet(msvs_attributes[a]) elif a == 'ConfigurationType': msbuild_attributes[a] = _ConvertMSVSConfigurationType(msvs_attributes[a]) + elif a == 'SpectreMitigation': + msbuild_attributes[a] = msvs_attributes[a] else: print('Warning: Do not know how to convert MSVS attribute ' + a) return msbuild_attributes diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20200512/pylib/gyp/generator/ninja.py new/gyp-0+git.20230301/pylib/gyp/generator/ninja.py --- old/gyp-0+git.20200512/pylib/gyp/generator/ninja.py 2020-05-12 16:59:53.000000000 +0200 +++ new/gyp-0+git.20230301/pylib/gyp/generator/ninja.py 2023-03-01 19:52:40.000000000 +0100 @@ -14,6 +14,7 @@ import signal import subprocess import sys +import six import gyp import gyp.common from gyp.common import OrderedSet @@ -751,7 +752,7 @@ if self.flavor == 'win': # WriteNewNinjaRule uses unique_name for creating an rsp file on win. extra_bindings.append(('unique_name', - hashlib.md5(outputs[0]).hexdigest())) + hashlib.md5(six.ensure_binary(outputs[0])).hexdigest())) self.ninja.build(outputs, rule_name, self.GypPathToNinja(source), implicit=inputs, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20200512/pylib/gyp/msvs_emulation.py new/gyp-0+git.20230301/pylib/gyp/msvs_emulation.py --- old/gyp-0+git.20200512/pylib/gyp/msvs_emulation.py 2020-05-12 16:59:53.000000000 +0200 +++ new/gyp-0+git.20230301/pylib/gyp/msvs_emulation.py 2023-03-01 19:52:40.000000000 +0100 @@ -7,15 +7,17 @@ build systems, primarily ninja. """ -import collections import os import re import subprocess import sys +from six.moves import collections_abc + from gyp.common import OrderedSet import gyp.MSVSUtil import gyp.MSVSVersion +from gyp.MSVSVersion import version_to_tuple try: # basestring was removed in python3. @@ -37,9 +39,10 @@ # works more or less because most programs (including the compiler, etc.) # use that function to handle command line arguments. - # Use a heuristic to try to find args that are paths, and normalize them - if arg.find('/') > 0 or arg.count('/') > 1: - arg = os.path.normpath(arg) + if not os.getenv('GYP_MSVS_DISABLE_PATH_NORMALIZATION'): + # Use a heuristic to try to find args that are paths, and normalize them + if arg.find('/') > 0 or arg.count('/') > 1: + arg = os.path.normpath(arg) # For a literal quote, CommandLineToArgvW requires 2n+1 backslashes # preceding it, and results in n backslashes + the quote. So we substitute @@ -91,7 +94,7 @@ """Add |prefix| to |element| or each subelement if element is iterable.""" if element is None: return element - if (isinstance(element, collections.Iterable) and + if (isinstance(element, collections_abc.Iterable) and not isinstance(element, basestring)): return [prefix + e for e in element] else: @@ -104,7 +107,7 @@ if map is not None and element is not None: if not callable(map): map = map.get # Assume it's a dict, otherwise a callable to do the remap. - if (isinstance(element, collections.Iterable) and + if (isinstance(element, collections_abc.Iterable) and not isinstance(element, basestring)): element = filter(None, [map(elem) for elem in element]) else: @@ -117,7 +120,7 @@ then add |element| to it, adding each item in |element| if it's a list or tuple.""" if append is not None and element is not None: - if (isinstance(element, collections.Iterable) and + if (isinstance(element, collections_abc.Iterable) and not isinstance(element, basestring)): append.extend(element) else: @@ -138,7 +141,8 @@ if not dxsdk_dir: # Setup params to pass to and attempt to launch reg.exe. cmd = ['reg.exe', 'query', r'HKLM\Software\Microsoft\DirectX', '/s'] - p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, + universal_newlines=True) for line in p.communicate()[0].splitlines(): if 'InstallPath' in line: dxsdk_dir = line.split(' ')[3] + "\\" @@ -321,7 +325,7 @@ # first level is globally for the configuration (this is what we consider # "the" config at the gyp level, which will be something like 'Debug' or # 'Release'), VS2015 and later only use this level - if self.vs_version.short_name >= 2015: + if int(self.vs_version.short_name) >= 2015: return config # and a second target-specific configuration, which is an # override for the global one. |config| is remapped here to take into @@ -485,7 +489,7 @@ prefix='/arch:') cflags.extend(['/FI' + f for f in self._Setting( ('VCCLCompilerTool', 'ForcedIncludeFiles'), config, default=[])]) - if self.vs_version.project_version >= 12.0: + if version_to_tuple(self.vs_version.project_version) >= (12, 0): # New flag introduced in VS2013 (project version 12.0) Forces writes to # the program database (PDB) to be serialized through MSPDBSRV.EXE. # https://msdn.microsoft.com/en-us/library/dn502518.aspx @@ -1050,7 +1054,8 @@ args = vs.SetupScript(arch) args.extend(('&&', 'set')) popen = subprocess.Popen( - args, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) + args, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, + universal_newlines=True) variables, _ = popen.communicate() if popen.returncode != 0: raise Exception('"%s" failed with error %d' % (args, popen.returncode)) @@ -1071,7 +1076,8 @@ args = vs.SetupScript(arch) args.extend(('&&', 'for', '%i', 'in', '(cl.exe)', 'do', '@echo', 'LOC:%~$PATH:i')) - popen = subprocess.Popen(args, shell=True, stdout=subprocess.PIPE) + popen = subprocess.Popen(args, shell=True, stdout=subprocess.PIPE, + universal_newlines=True) output, _ = popen.communicate() cl_paths[arch] = _ExtractCLPath(output) return cl_paths diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20200512/pylib/gyp/win_tool.py new/gyp-0+git.20230301/pylib/gyp/win_tool.py --- old/gyp-0+git.20200512/pylib/gyp/win_tool.py 2020-05-12 16:59:53.000000000 +0200 +++ new/gyp-0+git.20230301/pylib/gyp/win_tool.py 2023-03-01 19:52:40.000000000 +0100 @@ -130,7 +130,8 @@ # For that reason, since going through the shell doesn't seem necessary on # non-Windows don't do that there. link = subprocess.Popen(args, shell=sys.platform == 'win32', env=env, - stdout=subprocess.PIPE, stderr=subprocess.STDOUT) + stdout=subprocess.PIPE, stderr=subprocess.STDOUT, + universal_newlines=True) out, _ = link.communicate() for line in out.splitlines(): if (not line.startswith(' Creating library ') and @@ -197,8 +198,8 @@ # and sometimes doesn't unfortunately. with open(our_manifest, 'r') as our_f: with open(assert_manifest, 'r') as assert_f: - our_data = our_f.read().translate(None, string.whitespace) - assert_data = assert_f.read().translate(None, string.whitespace) + our_data = re.sub(r'\s+', '', our_f.read()) + assert_data = re.sub(r'\s+', '', assert_f.read()) if our_data != assert_data: os.unlink(out) def dump(filename): @@ -223,7 +224,8 @@ tool).""" env = self._GetEnv(arch) popen = subprocess.Popen(args, shell=True, env=env, - stdout=subprocess.PIPE, stderr=subprocess.STDOUT) + stdout=subprocess.PIPE, stderr=subprocess.STDOUT, + universal_newlines=True) out, _ = popen.communicate() for line in out.splitlines(): if line and 'manifest authoring warning 81010002' not in line: @@ -255,7 +257,8 @@ idl] env = self._GetEnv(arch) popen = subprocess.Popen(args, shell=True, env=env, - stdout=subprocess.PIPE, stderr=subprocess.STDOUT) + stdout=subprocess.PIPE, stderr=subprocess.STDOUT, + universal_newlines=True) out, _ = popen.communicate() # Filter junk out of stdout, and write filtered versions. Output we want # to filter is pairs of lines that look like this: @@ -274,7 +277,8 @@ """Filter logo banner from invocations of asm.exe.""" env = self._GetEnv(arch) popen = subprocess.Popen(args, shell=True, env=env, - stdout=subprocess.PIPE, stderr=subprocess.STDOUT) + stdout=subprocess.PIPE, stderr=subprocess.STDOUT, + universal_newlines=True) out, _ = popen.communicate() for line in out.splitlines(): if (not line.startswith('Copyright (C) Microsoft Corporation') and @@ -289,7 +293,8 @@ don't support the /nologo flag.""" env = self._GetEnv(arch) popen = subprocess.Popen(args, shell=True, env=env, - stdout=subprocess.PIPE, stderr=subprocess.STDOUT) + stdout=subprocess.PIPE, stderr=subprocess.STDOUT, + universal_newlines=True) out, _ = popen.communicate() for line in out.splitlines(): if (not line.startswith('Microsoft (R) Windows (R) Resource Compiler') and diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20200512/test/lib/TestGyp.py new/gyp-0+git.20230301/test/lib/TestGyp.py --- old/gyp-0+git.20200512/test/lib/TestGyp.py 2020-05-12 16:59:53.000000000 +0200 +++ new/gyp-0+git.20230301/test/lib/TestGyp.py 2023-03-01 19:52:40.000000000 +0100 @@ -7,7 +7,6 @@ """ from __future__ import print_function -import collections import errno import itertools import os @@ -19,6 +18,8 @@ from contextlib import contextmanager +from six.moves import collections_abc + import TestCmd import TestCommon from TestCommon import __all__ @@ -496,7 +497,7 @@ if status is None: kw['status'] = None else: - if not isinstance(status, collections.Iterable): status = (status,) + if not isinstance(status, collections_abc.Iterable): status = (status,) kw['status'] = list(itertools.chain((0,), status)) self.cmake_build(gyp_file, target, **kw) kw['status'] = status diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gyp-0+git.20200512/test/win/compiler-flags/spectre-mitigation.gyp new/gyp-0+git.20230301/test/win/compiler-flags/spectre-mitigation.gyp --- old/gyp-0+git.20200512/test/win/compiler-flags/spectre-mitigation.gyp 1970-01-01 01:00:00.000000000 +0100 +++ new/gyp-0+git.20230301/test/win/compiler-flags/spectre-mitigation.gyp 2023-03-01 19:52:40.000000000 +0100 @@ -0,0 +1,44 @@ +# Copyright (c) 2023 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': 'test_sm_notset', + 'product_name': 'test_sm_notset', + 'type': 'executable', + 'msvs_configuration_attributes': { + 'SpectreMitigation': 'false' + }, + 'sources': ['hello.cc'], + }, + { + 'target_name': 'test_sm_spectre', + 'product_name': 'test_sm_spectre', + 'type': 'executable', + 'msvs_configuration_attributes': { + 'SpectreMitigation': 'Spectre' + }, + 'sources': ['hello.cc'], + }, + { + 'target_name': 'test_sm_spectre_load', + 'product_name': 'test_sm_spectre_load', + 'type': 'executable', + 'msvs_configuration_attributes': { + 'SpectreMitigation': 'SpectreLoad' + }, + 'sources': ['hello.cc'], + }, + { + 'target_name': 'test_sm_spectre_load_cf', + 'product_name': 'test_sm_spectre_load_cf', + 'type': 'executable', + 'msvs_configuration_attributes': { + 'SpectreMitigation': 'SpectreLoadCF' + }, + 'sources': ['hello.cc'], + } + ] +} ++++++ gyp.obsinfo ++++++ --- /var/tmp/diff_new_pack.I5JpP9/_old 2023-05-05 15:59:43.008921038 +0200 +++ /var/tmp/diff_new_pack.I5JpP9/_new 2023-05-05 15:59:43.008921038 +0200 @@ -1,6 +1,5 @@ name: gyp -version: 0+git.20200512 -mtime: 1589295593 -commit: caa60026e223fc501e8b337fd5086ece4028b1c6 - +version: 0+git.20230301 +mtime: 1677696760 +commit: c6d8b9f7ee355cff1531b0f369cd338a50baeb07
