From a58e1d2502a334d3ad380cb614b795eb94ddf169 Mon Sep 17 00:00:00 2001 From: daiweihao Date: Thu, 7 Nov 2024 10:37:47 +0800 Subject: [PATCH] Sync "rectification statement Information" The license text is missing in the LICENSE file, and the BSD declaration needs to be removed from the file. Issue:https://gitee.com/openharmony/arkcompiler_toolchain/issues/IB2M2F Signed-off-by: daiweihao Change-Id: I6c14273d7c49fc4a60f135e896522096dcc22c22 --- build/config/mac/BUILD.gn | 2 -- build/config/mac/mac_sdk.gni | 2 -- build/config/mac/mac_sdk_overrides.gni | 2 -- build/config/mac/sdk_info.py | 2 -- build/config/mac/symbols.gni | 2 -- build/config/mac/xcrun.py | 2 -- build/misc/mac/check_return_value.py | 2 -- build/misc/mac/find_sdk.py | 2 -- build/misc/overrides/build.gni | 2 -- build/toolchain/BUILD.gn | 2 -- build/toolchain/clang_static_analyzer.gni | 2 -- build/toolchain/clang_static_analyzer_wrapper.py | 2 -- build/toolchain/concurrent_links.gni | 2 -- build/toolchain/gcc_link_wrapper.py | 2 -- build/toolchain/gcc_solink_wrapper.py | 2 -- build/toolchain/get_concurrent_links.py | 2 -- build/toolchain/get_cpu_count.py | 2 -- build/toolchain/mac/BUILD.gn | 2 -- build/toolchain/mac/filter_libtool.py | 2 -- build/toolchain/mac/get_tool_mtime.py | 2 -- build/toolchain/mac/linker_driver.py | 2 -- 21 files changed, 42 deletions(-) diff --git a/build/config/mac/BUILD.gn b/build/config/mac/BUILD.gn index 38f36d4a..b57a43fe 100644 --- a/build/config/mac/BUILD.gn +++ b/build/config/mac/BUILD.gn @@ -1,6 +1,4 @@ # Copyright (c) 2013 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. import("$build_root/config/mac/mac_sdk.gni") import("$build_root/config/mac/symbols.gni") diff --git a/build/config/mac/mac_sdk.gni b/build/config/mac/mac_sdk.gni index 1d89e433..0e9b3cef 100644 --- a/build/config/mac/mac_sdk.gni +++ b/build/config/mac/mac_sdk.gni @@ -1,6 +1,4 @@ # Copyright 2014 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. import("$build_root/config/mac/mac_sdk_overrides.gni") import("$build_root/toolchain/toolchain.gni") diff --git a/build/config/mac/mac_sdk_overrides.gni b/build/config/mac/mac_sdk_overrides.gni index 36326786..49dfdcca 100644 --- a/build/config/mac/mac_sdk_overrides.gni +++ b/build/config/mac/mac_sdk_overrides.gni @@ -1,6 +1,4 @@ # Copyright 2017 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. # This file contains arguments that subprojects may choose to override. It # asserts that those overrides are used, to prevent unused args warnings. diff --git a/build/config/mac/sdk_info.py b/build/config/mac/sdk_info.py index 97ad4f54..629ab6d3 100755 --- a/build/config/mac/sdk_info.py +++ b/build/config/mac/sdk_info.py @@ -1,8 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2014 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. import argparse import doctest diff --git a/build/config/mac/symbols.gni b/build/config/mac/symbols.gni index a510dc3a..e8b15d6d 100644 --- a/build/config/mac/symbols.gni +++ b/build/config/mac/symbols.gni @@ -1,6 +1,4 @@ # Copyright 2016 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. import("$build_root/config/sanitizers/sanitizers.gni") diff --git a/build/config/mac/xcrun.py b/build/config/mac/xcrun.py index d9e6e47b..a62d7ef6 100755 --- a/build/config/mac/xcrun.py +++ b/build/config/mac/xcrun.py @@ -1,8 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2016 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. import argparse import os diff --git a/build/misc/mac/check_return_value.py b/build/misc/mac/check_return_value.py index 33c5bc1a..cd67edb2 100755 --- a/build/misc/mac/check_return_value.py +++ b/build/misc/mac/check_return_value.py @@ -1,8 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2014 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. """This program wraps an arbitrary command and prints "1" if the command ran successfully. diff --git a/build/misc/mac/find_sdk.py b/build/misc/mac/find_sdk.py index d34d5ae1..254e89b7 100755 --- a/build/misc/mac/find_sdk.py +++ b/build/misc/mac/find_sdk.py @@ -1,8 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright (c) 2012 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. """Prints the lowest locally available SDK version greater than or equal to a given minimum sdk version to standard output. If --developer_dir is passed, then diff --git a/build/misc/overrides/build.gni b/build/misc/overrides/build.gni index f7162e9f..3ef33fdc 100644 --- a/build/misc/overrides/build.gni +++ b/build/misc/overrides/build.gni @@ -1,6 +1,4 @@ # Copyright 2016 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. # Variable that can be used to support multiple build scenarios, like having # Chromium specific targets in a client project's GN file etc. diff --git a/build/toolchain/BUILD.gn b/build/toolchain/BUILD.gn index 26114b81..bda51f66 100644 --- a/build/toolchain/BUILD.gn +++ b/build/toolchain/BUILD.gn @@ -1,6 +1,4 @@ # Copyright 2016 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. import("$build_root/toolchain/concurrent_links.gni") diff --git a/build/toolchain/clang_static_analyzer.gni b/build/toolchain/clang_static_analyzer.gni index 9cb79754..6af69f0d 100644 --- a/build/toolchain/clang_static_analyzer.gni +++ b/build/toolchain/clang_static_analyzer.gni @@ -1,6 +1,4 @@ # Copyright (c) 2017 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. # Defines the configuration of Clang static analysis tools. # See docs/clang_static_analyzer.md for more information. diff --git a/build/toolchain/clang_static_analyzer_wrapper.py b/build/toolchain/clang_static_analyzer_wrapper.py index ae738a85..a096fb3e 100755 --- a/build/toolchain/clang_static_analyzer_wrapper.py +++ b/build/toolchain/clang_static_analyzer_wrapper.py @@ -1,8 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2017 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. """Adds an analysis build step to invocations of the Clang C/C++ compiler. diff --git a/build/toolchain/concurrent_links.gni b/build/toolchain/concurrent_links.gni index 7ba806c3..29bf512b 100644 --- a/build/toolchain/concurrent_links.gni +++ b/build/toolchain/concurrent_links.gni @@ -1,6 +1,4 @@ # Copyright 2016 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. # This file should only be imported from files that define toolchains. # There's no way to enforce this exactly, but all toolchains are processed diff --git a/build/toolchain/gcc_link_wrapper.py b/build/toolchain/gcc_link_wrapper.py index 096deef4..84333b33 100755 --- a/build/toolchain/gcc_link_wrapper.py +++ b/build/toolchain/gcc_link_wrapper.py @@ -1,8 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2015 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. """Runs a linking command and optionally a strip command. This script exists to avoid using complex shell commands in diff --git a/build/toolchain/gcc_solink_wrapper.py b/build/toolchain/gcc_solink_wrapper.py index 57aba69f..42b5e392 100755 --- a/build/toolchain/gcc_solink_wrapper.py +++ b/build/toolchain/gcc_solink_wrapper.py @@ -1,8 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2015 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. """Runs 'ld -shared' and generates a .TOC file that's untouched when unchanged. This script exists to avoid using complex shell commands in diff --git a/build/toolchain/get_concurrent_links.py b/build/toolchain/get_concurrent_links.py index 2641f232..b80bc58e 100755 --- a/build/toolchain/get_concurrent_links.py +++ b/build/toolchain/get_concurrent_links.py @@ -1,8 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2014 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. # This script computes the number of concurrent links we want to run # in the build as a function of machine spec. It's based diff --git a/build/toolchain/get_cpu_count.py b/build/toolchain/get_cpu_count.py index 4ffb0261..efefcdf0 100755 --- a/build/toolchain/get_cpu_count.py +++ b/build/toolchain/get_cpu_count.py @@ -1,8 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2018 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. # This script shows cpu count to specify capacity of action pool. diff --git a/build/toolchain/mac/BUILD.gn b/build/toolchain/mac/BUILD.gn index 6e102328..01204e3b 100644 --- a/build/toolchain/mac/BUILD.gn +++ b/build/toolchain/mac/BUILD.gn @@ -1,6 +1,4 @@ # Copyright (c) 2013 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. import("$build_root/config/clang/clang.gni") import("$build_root/config/mac/mac_sdk.gni") diff --git a/build/toolchain/mac/filter_libtool.py b/build/toolchain/mac/filter_libtool.py index 447e42c9..20df143c 100755 --- a/build/toolchain/mac/filter_libtool.py +++ b/build/toolchain/mac/filter_libtool.py @@ -1,8 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2016 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. import os import re diff --git a/build/toolchain/mac/get_tool_mtime.py b/build/toolchain/mac/get_tool_mtime.py index 6dfe3e77..a73f8ee0 100755 --- a/build/toolchain/mac/get_tool_mtime.py +++ b/build/toolchain/mac/get_tool_mtime.py @@ -1,8 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2016 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. import os import sys diff --git a/build/toolchain/mac/linker_driver.py b/build/toolchain/mac/linker_driver.py index d0b344e4..fba2959c 100755 --- a/build/toolchain/mac/linker_driver.py +++ b/build/toolchain/mac/linker_driver.py @@ -1,8 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2016 The Chromium Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. import os import os.path -- Gitee