Browse Source

Restoring authorship annotation for <setser@yandex-team.ru>. Commit 1 of 2.

setser 3 years ago
parent
commit
a4aba79bef

+ 1 - 1
build/conf/license.conf

@@ -301,7 +301,7 @@ LICENSES_PERMISSIVE= \
     Sleepycat \
     Snprintf \
     SGI-B-2.0 \
-    SMLNJ \
+    SMLNJ \ 
     SSH-short \
     SSLeay \
     Sunpro \

+ 2 - 2
build/platform/xcode/tools/ya.make.inc

@@ -1,8 +1,8 @@
 IF (NOT HOST_OS_DARWIN)
     MESSAGE(FATAL_ERROR Unsupported host platform for Xcode tools)
 ENDIF()
-IF (LOCAL_XCODE_TOOLS) # Local XCode installation is used instead.
-ELSEIF (XCODE_TOOLS_VERSION == "10.1")
+IF (LOCAL_XCODE_TOOLS) # Local XCode installation is used instead. 
+ELSEIF (XCODE_TOOLS_VERSION == "10.1") 
     DECLARE_EXTERNAL_RESOURCE(XCODE_TOOLS_ROOT sbr:799017771)
 ELSE()
     MESSAGE(FATAL_ERROR Unsupported Xcode tools version: $XCODE_TOOLS_VERSION)

+ 2 - 2
build/scripts/ios_wrapper.py

@@ -27,7 +27,7 @@ def just_do_it(args):
             parts[-1].append(arg)
     if len(parts) != 3 or len(parts[0]) != 5:
         raise Exception('Bad call')
-    bin_name, ibtool_path, main_out, app_name, module_dir = parts[0]
+    bin_name, ibtool_path, main_out, app_name, module_dir = parts[0] 
     bin_name = os.path.basename(bin_name)
     inputs, storyboard_user_flags = parts[1:]
     plists, storyboards, signs, nibs, resources, signed_resources, plist_jsons, strings = [], [], [], [], [], [], [], []
@@ -76,7 +76,7 @@ def just_do_it(args):
         replaced_templates['$(' + k + ')'] = v
         replaced_templates['${' + k + '}'] = v
     make_main_plist(plists, os.path.join(app_dir, 'Info.plist'), replaced_templates)
-    link_storyboards(ibtool_path, storyboards, app_name, app_dir, storyboard_user_flags)
+    link_storyboards(ibtool_path, storyboards, app_name, app_dir, storyboard_user_flags) 
     if resources:
         extract_resources(resources, app_dir)
     if signed_resources:

+ 1 - 1
build/scripts/process_whole_archive_option.py

@@ -142,7 +142,7 @@ class ProcessWholeArchiveOption():
         return cmd
 
     def construct_cmd(self, args):
-        if self.arch in ('DARWIN', 'IOS', 'IOSSIM'):
+        if self.arch in ('DARWIN', 'IOS', 'IOSSIM'): 
             return self._construct_cmd_apple(args)
 
         if self.arch == 'WINDOWS':

+ 75 - 75
build/ya.conf.json

@@ -1981,80 +1981,80 @@
                 "cxx_compiler": "$(CLANG)/bin/clang++",
                 "llvm-symbolizer": "$(CLANG)/bin/llvm-symbolizer",
                 "objcopy": "$(CLANG)/bin/llvm-objcopy",
-                "simctl": "$(XCODE_TOOLS_ROOT-sbr:799017771)/Xcode/SystemRoot/PrivateFrameworks/CoreSimulator.framework/Resources/bin/simctl",
-                "profiles": "$(XCODE_TOOLS_ROOT-sbr:799017771)/Xcode/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles",
+                "simctl": "$(XCODE_TOOLS_ROOT-sbr:799017771)/Xcode/SystemRoot/PrivateFrameworks/CoreSimulator.framework/Resources/bin/simctl", 
+                "profiles": "$(XCODE_TOOLS_ROOT-sbr:799017771)/Xcode/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles", 
                 "strip": "$(CLANG)/bin/llvm-strip",
                 "gcc_version": "12.0"
             }
         },
-        "local": {
-            "tools": {
-                "c++": {
-                    "executable": "c++"
-                },
-                "cc": {
-                    "executable": "cc"
-                }
-            },
-            "platforms": [
-                {
-                    "host": {
-                        "os": "DARWIN"
-                    },
-                    "target": {
-                        "os": "DARWIN",
-                        "arch": "arm64"
-                    },
-                    "default": false
-                },
-                {
-                    "host": {
-                        "os": "DARWIN"
-                    },
-                    "target": {
-                        "os": "DARWIN",
-                        "arch": "x86_64"
-                    },
-                    "default": false
-                },
-                {
-                    "host": {
-                        "os": "DARWIN"
-                    },
-                    "target": {
-                        "os": "IOS",
-                        "arch": "x86_64"
-                    },
-                    "default": false
-                },
-                {
-                    "host": {
-                        "os": "DARWIN"
-                    },
-                    "target": {
-                        "os": "IOS",
-                        "arch": "arm64"
-                    },
-                    "default": false
-                },
-                {
-                    "host": {
-                        "os": "DARWIN"
-                    },
-                    "target": {
-                        "os": "IOSSIM",
-                        "arch": "arm64"
-                    },
-                    "default": false
-                }
-            ],
-            "params": {
-                "type": "xcode",
-                "local": true,
-                "werror_mode": "all",
-                "gcc_version": "13.1"
-            }
-        },
+        "local": { 
+            "tools": { 
+                "c++": { 
+                    "executable": "c++" 
+                }, 
+                "cc": { 
+                    "executable": "cc" 
+                } 
+            }, 
+            "platforms": [ 
+                { 
+                    "host": { 
+                        "os": "DARWIN" 
+                    }, 
+                    "target": { 
+                        "os": "DARWIN", 
+                        "arch": "arm64" 
+                    }, 
+                    "default": false 
+                }, 
+                { 
+                    "host": { 
+                        "os": "DARWIN" 
+                    }, 
+                    "target": { 
+                        "os": "DARWIN", 
+                        "arch": "x86_64" 
+                    }, 
+                    "default": false 
+                }, 
+                { 
+                    "host": { 
+                        "os": "DARWIN" 
+                    }, 
+                    "target": { 
+                        "os": "IOS", 
+                        "arch": "x86_64" 
+                    }, 
+                    "default": false 
+                }, 
+                { 
+                    "host": { 
+                        "os": "DARWIN" 
+                    }, 
+                    "target": { 
+                        "os": "IOS", 
+                        "arch": "arm64" 
+                    }, 
+                    "default": false 
+                }, 
+                { 
+                    "host": { 
+                        "os": "DARWIN" 
+                    }, 
+                    "target": { 
+                        "os": "IOSSIM", 
+                        "arch": "arm64" 
+                    }, 
+                    "default": false 
+                } 
+            ], 
+            "params": { 
+                "type": "xcode", 
+                "local": true, 
+                "werror_mode": "all", 
+                "gcc_version": "13.1" 
+            } 
+        }, 
         "xcode_11_1": {
             "tools": {
                 "c++": {
@@ -6082,11 +6082,11 @@
         "clang12": {
             "formula": {
                 "sandbox_id": [
-                    1042818759,
-                    1042820568,
-                    1042823154,
-                    1042827120,
-                    1042828064
+                    1042818759, 
+                    1042820568, 
+                    1042823154, 
+                    1042827120, 
+                    1042828064 
                 ],
                 "match": "CLANG"
             },

+ 28 - 28
build/ymake.core.conf

@@ -8840,23 +8840,23 @@ multimodule PY23_NATIVE_LIBRARY {
     }
 }
 
-IBTOOL_PATH=$XCODE_TOOLS_ROOT_RESOURCE_GLOBAL/Xcode/Contents/Developer/usr/bin/ibtool
+IBTOOL_PATH=$XCODE_TOOLS_ROOT_RESOURCE_GLOBAL/Xcode/Contents/Developer/usr/bin/ibtool 
 # tag:src-processing
 STORYBOARD_FLAGS=--errors --warnings --notices --auto-activate-custom-fonts --output-format human-readable-text
 macro _SRC("storyboard", SRC, SRCFLAGS...) {
-    .CMD=$IBTOOL_PATH $STORYBOARD_FLAGS --module $REALPRJNAME --output-partial-info-plist ${output;suf=.partial_plist:SRC} --compilation-directory $BINDIR ${input:SRC} && $YMAKE_PYTHON ${input:"build/scripts/tar_directory.py"}  ${output;tobindir;suf=.compiled_storyboard_tar:SRC} $BINDIR/${nopath;suf=c:SRC} $BINDIR/${nopath;suf=c:SRC}
+    .CMD=$IBTOOL_PATH $STORYBOARD_FLAGS --module $REALPRJNAME --output-partial-info-plist ${output;suf=.partial_plist:SRC} --compilation-directory $BINDIR ${input:SRC} && $YMAKE_PYTHON ${input:"build/scripts/tar_directory.py"}  ${output;tobindir;suf=.compiled_storyboard_tar:SRC} $BINDIR/${nopath;suf=c:SRC} $BINDIR/${nopath;suf=c:SRC} 
 }
 
 # tag:src-processing
 macro _SRC("xib", SRC, SRCFLAGS...) {
-    .CMD=$IBTOOL_PATH $STORYBOARD_FLAGS --module $REALPRJNAME --output-partial-info-plist ${output;suf=.partial_plist:SRC} --compile ${output;tobindir;nopath;noext;suf=.nib:SRC} ${input:SRC}
+    .CMD=$IBTOOL_PATH $STORYBOARD_FLAGS --module $REALPRJNAME --output-partial-info-plist ${output;suf=.partial_plist:SRC} --compile ${output;tobindir;nopath;noext;suf=.nib:SRC} ${input:SRC} 
 }
 
-ACTOOL_PATH=$XCODE_TOOLS_ROOT_RESOURCE_GLOBAL/Xcode/Contents/Developer/usr/bin/ibtool
+ACTOOL_PATH=$XCODE_TOOLS_ROOT_RESOURCE_GLOBAL/Xcode/Contents/Developer/usr/bin/ibtool 
 # tag:ios-specific
 ASSETS_FLAGS=--output-format human-readable-text --notices --warnings
 macro _IOS_ASSETS(AssetsDir, Content...) {
-    .CMD=$FS_TOOLS md $BINDIR/$REALPRJNAME && $ACTOOL_PATH $ASSETS_FLAGS --export-dependency-info $BINDIR/assetcatalog_dependencies --output-partial-info-plist ${output:"assetcatalog_generated_info.partial_plist"} --product-type com.apple.product-type.application --compile $BINDIR/$REALPRJNAME $AssetsDir ${input;hide:Content} && ${cwd:BINDIR} $YMAKE_PYTHON ${input:"build/scripts/tar_directory.py"} ${output;suf=_assetes.resource_tar:REALPRJNAME} $REALPRJNAME $REALPRJNAME
+    .CMD=$FS_TOOLS md $BINDIR/$REALPRJNAME && $ACTOOL_PATH $ASSETS_FLAGS --export-dependency-info $BINDIR/assetcatalog_dependencies --output-partial-info-plist ${output:"assetcatalog_generated_info.partial_plist"} --product-type com.apple.product-type.application --compile $BINDIR/$REALPRJNAME $AssetsDir ${input;hide:Content} && ${cwd:BINDIR} $YMAKE_PYTHON ${input:"build/scripts/tar_directory.py"} ${output;suf=_assetes.resource_tar:REALPRJNAME} $REALPRJNAME $REALPRJNAME 
 }
 
 # tag:ios-specific
@@ -8880,7 +8880,7 @@ macro DARWIN_SIGNED_RESOURCE(Resource, Relpath) {
 
 # tag:ios-specific
 DELIM=__DELIM__
-PACK_IOS_ARCHIVE=$GENERATE_MF && $YMAKE_PYTHON ${input:"build/scripts/ios_wrapper.py"} bin $IBTOOL_PATH $TARGET $REALPRJNAME $BINDIR $DELIM $AUTO_INPUT $DELIM $STORYBOARD_FLAGS
+PACK_IOS_ARCHIVE=$GENERATE_MF && $YMAKE_PYTHON ${input:"build/scripts/ios_wrapper.py"} bin $IBTOOL_PATH $TARGET $REALPRJNAME $BINDIR $DELIM $AUTO_INPUT $DELIM $STORYBOARD_FLAGS 
 ### @usage: IOS_INTERFACE()
 ### iOS GUI module definition
 module IOS_INTERFACE: _BARE_UNIT {
@@ -8898,33 +8898,33 @@ module DEFAULT_IOS_INTERFACE: IOS_INTERFACE {
     SET(MODULE_SUFFIX .default.ios.interface)
 }
 
-DEFAULT_IOS_TYPE=
-IOS_TYPE=
-when(!$IOS_TYPE) {
-    when($DEFAULT_IOS_TYPE) {
-        IOS_TYPE=$DEFAULT_IOS_TYPE
-    }
-    otherwise {
-        IOS_TYPE=com.apple.CoreSimulator.SimDeviceType.iPhone-X
-    }
-}
-DEFAULT_IOS_RUNTIME=
-IOS_RUNTIME=
-when(!$IOS_RUNTIME) {
-    when($DEFAULT_IOS_RUNTIME) {
-        IOS_RUNTIME=$DEFAULT_IOS_RUNTIME
-    }
-    otherwise {
-        IOS_RUNTIME=com.apple.CoreSimulator.SimRuntime.iOS-12-1
-    }
-}
+DEFAULT_IOS_TYPE= 
+IOS_TYPE= 
+when(!$IOS_TYPE) { 
+    when($DEFAULT_IOS_TYPE) { 
+        IOS_TYPE=$DEFAULT_IOS_TYPE 
+    } 
+    otherwise { 
+        IOS_TYPE=com.apple.CoreSimulator.SimDeviceType.iPhone-X 
+    } 
+} 
+DEFAULT_IOS_RUNTIME= 
+IOS_RUNTIME= 
+when(!$IOS_RUNTIME) { 
+    when($DEFAULT_IOS_RUNTIME) { 
+        IOS_RUNTIME=$DEFAULT_IOS_RUNTIME 
+    } 
+    otherwise { 
+        IOS_RUNTIME=com.apple.CoreSimulator.SimRuntime.iOS-12-1 
+    } 
+} 
 when ($ARCH_I386) {
     TEST_IOS_DEVICE_TYPE_VALUE=com.apple.CoreSimulator.SimDeviceType.iPhone-5
     TEST_IOS_RUNTIME_TYPE_VALUE=com.apple.CoreSimulator.SimRuntime.iOS-10-3
 }
 otherwise {
-    TEST_IOS_DEVICE_TYPE_VALUE=$IOS_TYPE
-    TEST_IOS_RUNTIME_TYPE_VALUE=$IOS_RUNTIME
+    TEST_IOS_DEVICE_TYPE_VALUE=$IOS_TYPE 
+    TEST_IOS_RUNTIME_TYPE_VALUE=$IOS_RUNTIME 
 }
 
 # tag:java-specific

+ 36 - 36
build/ymake_conf.py

@@ -579,28 +579,28 @@ class Build(object):
     def is_ide_build_type(build_type):
         return build_type == 'nobuild'
 
-    def _configure_runtime_versions(self):
-        res = subprocess.check_output(['xcrun', 'simctl', 'list', '--json', 'runtimes'])
-        raw_object = json.loads(res)
-        raw_object = raw_object['runtimes']
-        for runtime in raw_object:
-            if runtime['isAvailable']:
-                if "iOS" in runtime['identifier']:
-                    emit('DEFAULT_IOS_RUNTIME', '{}'.format(runtime['identifier']))
-
+    def _configure_runtime_versions(self): 
+        res = subprocess.check_output(['xcrun', 'simctl', 'list', '--json', 'runtimes']) 
+        raw_object = json.loads(res) 
+        raw_object = raw_object['runtimes'] 
+        for runtime in raw_object: 
+            if runtime['isAvailable']: 
+                if "iOS" in runtime['identifier']: 
+                    emit('DEFAULT_IOS_RUNTIME', '{}'.format(runtime['identifier'])) 
+ 
     def _get_toolchain_options(self):
         type_ = self.params['params']['type']
 
-        if self.params['params'].get('local') and type_ == 'xcode':
-            detector = CompilerDetector()
-            detector.detect(self.params['params']['c_compiler'], self.params['params']['cxx_compiler'])
-            emit('LOCAL_XCODE_TOOLS', 'yes')
-            emit('XCODE', 'yes')
-            emit('ACTOOL_PATH', self.params['params']['actool'])
-            emit('IBTOOL_PATH', self.params['params']['ibtool'])
-            self._configure_runtime_versions()
-        elif type_ == 'system_cxx':
+        if self.params['params'].get('local') and type_ == 'xcode': 
             detector = CompilerDetector()
+            detector.detect(self.params['params']['c_compiler'], self.params['params']['cxx_compiler']) 
+            emit('LOCAL_XCODE_TOOLS', 'yes') 
+            emit('XCODE', 'yes') 
+            emit('ACTOOL_PATH', self.params['params']['actool']) 
+            emit('IBTOOL_PATH', self.params['params']['ibtool']) 
+            self._configure_runtime_versions() 
+        elif type_ == 'system_cxx': 
+            detector = CompilerDetector() 
             detector.detect(self.params['params'].get('c_compiler'), self.params['params'].get('cxx_compiler'))
             type_ = detector.type
         else:
@@ -1264,22 +1264,22 @@ class GnuToolchain(Toolchain):
 
                 if target.is_yocto:
                     self.setup_sdk(project='build/platform/yocto_sdk/yocto_sdk', var='${YOCTO_SDK_ROOT_RESOURCE_GLOBAL}')
-            elif self.tc.params.get('local'):
-                if target.is_apple:
-                    if not tc.os_sdk_local:
-                        if target.is_ios:
-                            self.setup_sdk(project='build/platform/ios_sdk', var='${IOS_SDK_ROOT_RESOURCE_GLOBAL}')
-                            self.platform_projects.append('build/platform/macos_system_stl')
-                        if target.is_macos:
-                            self.setup_sdk(project='build/platform/macos_sdk', var='${MACOS_SDK_RESOURCE_GLOBAL}')
-                            self.platform_projects.append('build/platform/macos_system_stl')
-                    else:
-                        if target.is_iossim:
-                            self.env.setdefault('SDKROOT', subprocess.check_output(['xcrun', '-sdk', 'iphonesimulator', '--show-sdk-path']).strip())
-                        elif target.is_ios:
-                            self.env.setdefault('SDKROOT', subprocess.check_output(['xcrun', '-sdk', 'iphoneos', '--show-sdk-path']).strip())
-                        elif target.is_macos:
-                            self.env.setdefault('SDKROOT', subprocess.check_output(['xcrun', '-sdk', 'macosx', '--show-sdk-path']).strip())
+            elif self.tc.params.get('local'): 
+                if target.is_apple: 
+                    if not tc.os_sdk_local: 
+                        if target.is_ios: 
+                            self.setup_sdk(project='build/platform/ios_sdk', var='${IOS_SDK_ROOT_RESOURCE_GLOBAL}') 
+                            self.platform_projects.append('build/platform/macos_system_stl') 
+                        if target.is_macos: 
+                            self.setup_sdk(project='build/platform/macos_sdk', var='${MACOS_SDK_RESOURCE_GLOBAL}') 
+                            self.platform_projects.append('build/platform/macos_system_stl') 
+                    else: 
+                        if target.is_iossim: 
+                            self.env.setdefault('SDKROOT', subprocess.check_output(['xcrun', '-sdk', 'iphonesimulator', '--show-sdk-path']).strip()) 
+                        elif target.is_ios: 
+                            self.env.setdefault('SDKROOT', subprocess.check_output(['xcrun', '-sdk', 'iphoneos', '--show-sdk-path']).strip()) 
+                        elif target.is_macos: 
+                            self.env.setdefault('SDKROOT', subprocess.check_output(['xcrun', '-sdk', 'macosx', '--show-sdk-path']).strip()) 
 
     def setup_sdk(self, project, var):
         self.platform_projects.append(project)
@@ -2058,7 +2058,7 @@ class LD(Linker):
             "GENERATE_MF_CMD",
             '$YMAKE_PYTHON', '${input:"build/scripts/generate_mf.py"}',
             '--build-root $ARCADIA_BUILD_ROOT --module-name $REALPRJNAME -o ${output;pre=$MODULE_PREFIX;suf=$MODULE_SUFFIX.mf:REALPRJNAME}',
-            '-t $MODULE_TYPE --ya-start-command-file -Ya,lics $LICENSE_NAMES -Ya,peers ${rootrel:PEERS} -Ya,credits ${input:CREDITS_TEXTS_FILE} $CREDITS_FLAGS --ya-end-command-file',
+            '-t $MODULE_TYPE --ya-start-command-file -Ya,lics $LICENSE_NAMES -Ya,peers ${rootrel:PEERS} -Ya,credits ${input:CREDITS_TEXTS_FILE} $CREDITS_FLAGS --ya-end-command-file', 
         )
         if is_positive("TIDY"):
             emit(
@@ -2763,7 +2763,7 @@ class MSVCLinker(MSVC, Linker):
 
         emit("GENERATE_MF_CMD", '$YMAKE_PYTHON ${input:"build/scripts/generate_mf.py"}',
              '--build-root $ARCADIA_BUILD_ROOT --module-name $REALPRJNAME -o ${output;pre=$MODULE_PREFIX;suf=$MODULE_SUFFIX.mf:REALPRJNAME}',
-             '-t $MODULE_TYPE --ya-start-command-file -Ya,lics $LICENSE_NAMES -Ya,peers ${rootrel:PEERS} -Ya,credits ${input:CREDITS_TEXTS_FILE} $CREDITS_FLAGS --ya-end-command-file',
+             '-t $MODULE_TYPE --ya-start-command-file -Ya,lics $LICENSE_NAMES -Ya,peers ${rootrel:PEERS} -Ya,credits ${input:CREDITS_TEXTS_FILE} $CREDITS_FLAGS --ya-end-command-file', 
              )
 
         # we split srcs_global into two groups: libs and objs

+ 72 - 72
contrib/libs/cxxsupp/libcxxrt/.yandex_meta/devtools.copyrights.report

@@ -1,72 +1,72 @@
-# File format ($ symbol means the beginning of a line):
-#
-# $ # this message
-# $ # =======================
-# $     # comments (all commentaries should starts with some number of spaces and # symbol)
-# ${action} {license id} {license text hash}
-# $BELONGS ./ya/make/file/relative/path/1/ya.make ./ya/make/2/ya.make
-# ${all_file_action} filename
-# $ # user commentaries (many lines)
-# $ generated description - files with this license, license text... (some number of lines that starts with some number of spaces, do not modify)
-# ${action} {license spdx} {license text hash}
-# $BELONGS ./ya/make/file/relative/path/3/ya.make
-# ${all_file_action} filename
-# $    #    user commentaries
-# $ generated description
-# $ ...
-#
-# You can modify action, all_file_action and add commentaries
-# Available actions:
-# keep - keep license in contrib and use in credits
-# skip - skip license
-# remove - remove all files with this license
-# rename - save license text/links into licenses texts file, but not store SPDX into LINCENSE macro. You should store correct license id into devtools.license.spdx.txt file
-#
-# {all file action} records will be generated when license text contains filename that exists on filesystem (in contrib directory)
-# We suppose that that files can contain some license info
-# Available all file actions:
-# FILE_IGNORE - ignore file (do nothing)
-# FILE_INCLUDE - include all file data into licenses text file
-# =======================
-
-KEEP     COPYRIGHT_SERVICE_LABEL 1d5ea88b15cad450fcd61657e1cf38f0
-BELONGS ya.make
-    License text:
-         * Copyright 2010-2011 PathScale, Inc. All rights reserved.
-    Scancode info:
-        Original SPDX id: COPYRIGHT_SERVICE_LABEL
-        Score           : 100.00
-        Match type      : COPYRIGHT
-    Files with this license:
-        LICENSE [3:3]
-        auxhelper.cc [2:2]
-        dwarf_eh.h [2:2]
-        dynamic_cast.cc [2:2]
-        exception.cc [2:2]
-        memory.cc [2:2]
-        stdexcept.cc [2:2]
-        stdexcept.h [2:2]
-        typeinfo.h [2:2]
-
-KEEP     COPYRIGHT_SERVICE_LABEL 5efdfd987a88b455d2c1b8018df2035e
-BELONGS ya.make
-    License text:
-         * Copyright 2012 David Chisnall. All rights reserved.
-    Scancode info:
-        Original SPDX id: COPYRIGHT_SERVICE_LABEL
-        Score           : 100.00
-        Match type      : COPYRIGHT
-    Files with this license:
-        cxxabi.h [2:2]
-
-KEEP     COPYRIGHT_SERVICE_LABEL 69053d6417df98873c8a8b466c648c78
-BELONGS ya.make
-    License text:
-         * Copyright 2010-2012 PathScale, Inc. All rights reserved.
-    Scancode info:
-        Original SPDX id: COPYRIGHT_SERVICE_LABEL
-        Score           : 100.00
-        Match type      : COPYRIGHT
-    Files with this license:
-        guard.cc [2:2]
-        typeinfo.cc [2:2]
+# File format ($ symbol means the beginning of a line): 
+# 
+# $ # this message 
+# $ # ======================= 
+# $     # comments (all commentaries should starts with some number of spaces and # symbol) 
+# ${action} {license id} {license text hash} 
+# $BELONGS ./ya/make/file/relative/path/1/ya.make ./ya/make/2/ya.make 
+# ${all_file_action} filename 
+# $ # user commentaries (many lines) 
+# $ generated description - files with this license, license text... (some number of lines that starts with some number of spaces, do not modify) 
+# ${action} {license spdx} {license text hash} 
+# $BELONGS ./ya/make/file/relative/path/3/ya.make 
+# ${all_file_action} filename 
+# $    #    user commentaries 
+# $ generated description 
+# $ ... 
+# 
+# You can modify action, all_file_action and add commentaries 
+# Available actions: 
+# keep - keep license in contrib and use in credits 
+# skip - skip license 
+# remove - remove all files with this license 
+# rename - save license text/links into licenses texts file, but not store SPDX into LINCENSE macro. You should store correct license id into devtools.license.spdx.txt file 
+# 
+# {all file action} records will be generated when license text contains filename that exists on filesystem (in contrib directory) 
+# We suppose that that files can contain some license info 
+# Available all file actions: 
+# FILE_IGNORE - ignore file (do nothing) 
+# FILE_INCLUDE - include all file data into licenses text file 
+# ======================= 
+ 
+KEEP     COPYRIGHT_SERVICE_LABEL 1d5ea88b15cad450fcd61657e1cf38f0 
+BELONGS ya.make 
+    License text: 
+         * Copyright 2010-2011 PathScale, Inc. All rights reserved. 
+    Scancode info: 
+        Original SPDX id: COPYRIGHT_SERVICE_LABEL 
+        Score           : 100.00 
+        Match type      : COPYRIGHT 
+    Files with this license: 
+        LICENSE [3:3] 
+        auxhelper.cc [2:2] 
+        dwarf_eh.h [2:2] 
+        dynamic_cast.cc [2:2] 
+        exception.cc [2:2] 
+        memory.cc [2:2] 
+        stdexcept.cc [2:2] 
+        stdexcept.h [2:2] 
+        typeinfo.h [2:2] 
+ 
+KEEP     COPYRIGHT_SERVICE_LABEL 5efdfd987a88b455d2c1b8018df2035e 
+BELONGS ya.make 
+    License text: 
+         * Copyright 2012 David Chisnall. All rights reserved. 
+    Scancode info: 
+        Original SPDX id: COPYRIGHT_SERVICE_LABEL 
+        Score           : 100.00 
+        Match type      : COPYRIGHT 
+    Files with this license: 
+        cxxabi.h [2:2] 
+ 
+KEEP     COPYRIGHT_SERVICE_LABEL 69053d6417df98873c8a8b466c648c78 
+BELONGS ya.make 
+    License text: 
+         * Copyright 2010-2012 PathScale, Inc. All rights reserved. 
+    Scancode info: 
+        Original SPDX id: COPYRIGHT_SERVICE_LABEL 
+        Score           : 100.00 
+        Match type      : COPYRIGHT 
+    Files with this license: 
+        guard.cc [2:2] 
+        typeinfo.cc [2:2] 

+ 2 - 2
contrib/libs/cxxsupp/libcxxrt/.yandex_meta/licenses.list.txt

@@ -51,12 +51,12 @@ The BSD License
  * Copyright 2012 David Chisnall. All rights reserved.
 
 
-====================File: AUTHORS====================
+====================File: AUTHORS==================== 
 David Chisnall
 PathScale engineers
 
 
-====================File: COPYRIGHT====================
+====================File: COPYRIGHT==================== 
 PathScale Inc
 NetBSD Foundation
 FreeBSD Foundation

+ 20 - 20
contrib/libs/cxxsupp/libcxxrt/auxhelper.cc

@@ -34,21 +34,21 @@
 #include <stdlib.h>
 #include "stdexcept.h"
 
-namespace {
-	/**
-	 * Throw an exception if we're compiling with exceptions, otherwise abort.
-	 */
-	template<typename T>
-	void throw_exception()
-	{
-#if !defined(_CXXRT_NO_EXCEPTIONS)
-		throw T();
-#else
-		abort();
-#endif
-	}
-}
-
+namespace { 
+	/** 
+	 * Throw an exception if we're compiling with exceptions, otherwise abort. 
+	 */ 
+	template<typename T> 
+	void throw_exception() 
+	{ 
+#if !defined(_CXXRT_NO_EXCEPTIONS) 
+		throw T(); 
+#else 
+		abort(); 
+#endif 
+	} 
+} 
+ 
 /**
  * Called to generate a bad cast exception.  This function is intended to allow
  * compilers to insert code generating this exception without needing to
@@ -56,7 +56,7 @@ namespace {
  */
 extern "C" void __cxa_bad_cast()
 {
-	throw_exception<std::bad_cast>();
+	throw_exception<std::bad_cast>(); 
 }
 
 /**
@@ -66,7 +66,7 @@ extern "C" void __cxa_bad_cast()
  */
 extern "C" void __cxa_bad_typeid()
 {
-	throw_exception<std::bad_typeid>();
+	throw_exception<std::bad_typeid>(); 
 }
 
 /**
@@ -77,7 +77,7 @@ extern "C" void __cxa_bad_typeid()
  */
 extern "C" void __cxa_pure_virtual()
 {
-	abort();
+	abort(); 
 }
 
 /**
@@ -88,10 +88,10 @@ extern "C" void __cxa_pure_virtual()
  */
 extern "C" void __cxa_deleted_virtual()
 {
-	abort();
+	abort(); 
 }
 
 extern "C" void __cxa_throw_bad_array_new_length()
 {
-	throw_exception<std::bad_array_new_length>();
+	throw_exception<std::bad_array_new_length>(); 
 }

Some files were not shown because too many files changed in this diff