mirror of
https://gitee.com/openharmony/arkcompiler_toolchain
synced 2024-11-23 07:30:33 +00:00
!941 License Statement Rectification
Merge pull request !941 from daiweihao/license
This commit is contained in:
commit
6d5abb1809
48
OAT.xml
48
OAT.xml
@ -55,57 +55,9 @@ Note:If the text contains special characters, please escape them according to th
|
||||
<oatconfig>
|
||||
<policylist>
|
||||
<policy name="defaultPolicy" desc="" >
|
||||
<policyitem type="license" name="BSD" path="build/misc/mac/check_return_value.py" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="BSL-3-Clause LICENSE"/>
|
||||
<policyitem type="license" name="BSD" path="build/toolchain/get_concurrent_links.py" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="BSL-3-Clause LICENSE"/>
|
||||
<policyitem type="license" name="BSD" path="build/misc/mac/find_sdk.py" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="BSL-3-Clause LICENSE"/>
|
||||
<policyitem type="license" name="BSD" path="build/toolchain/get_cpu_count.py" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="BSL-3-Clause LICENSE"/>
|
||||
<policyitem type="license" name="BSD" path="build/misc/overrides/build.gni" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="BSL-3-Clause LICENSE"/>
|
||||
<policyitem type="license" name="BSD" path="build/toolchain/BUILD.gn" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="BSL-3-Clause LICENSE"/>
|
||||
<policyitem type="license" name="BSD" path="build/config/mac/BUILD.gn" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="BSL-3-Clause LICENSE"/>
|
||||
<policyitem type="license" name="BSD" path="build/config/mac/mac_sdk.gni" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="BSL-3-Clause LICENSE"/>
|
||||
<policyitem type="license" name="BSD" path="build/toolchain/clang_static_analyzer.gni" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="BSL-3-Clause LICENSE"/>
|
||||
<policyitem type="license" name="BSD" path="build/toolchain/mac/BUILD.gn" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="BSL-3-Clause LICENSE"/>
|
||||
<policyitem type="license" name="BSD" path="build/config/mac/mac_sdk_overrides.gni" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="BSL-3-Clause LICENSE"/>
|
||||
<policyitem type="license" name="BSD" path="build/toolchain/clang_static_analyzer_wrapper.py" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="BSL-3-Clause LICENSE"/>
|
||||
<policyitem type="license" name="BSD" path="build/toolchain/mac/filter_libtool.py" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="BSL-3-Clause LICENSE"/>
|
||||
<policyitem type="license" name="BSD" path="build/config/mac/sdk_info.py" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="BSL-3-Clause LICENSE"/>
|
||||
<policyitem type="license" name="BSD" path="build/toolchain/concurrent_links.gni" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="BSL-3-Clause LICENSE"/>
|
||||
<policyitem type="license" name="BSD" path="build/toolchain/mac/get_tool_mtime.py" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="BSL-3-Clause LICENSE"/>
|
||||
<policyitem type="license" name="BSD" path="build/config/mac/symbols.gni" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="BSL-3-Clause LICENSE"/>
|
||||
<policyitem type="license" name="BSD" path="build/toolchain/gcc_link_wrapper.py" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="BSL-3-Clause LICENSE"/>
|
||||
<policyitem type="license" name="BSD" path="build/toolchain/mac/linker_driver.py" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="BSL-3-Clause LICENSE"/>
|
||||
<policyitem type="license" name="BSD" path="build/config/mac/xcrun.py" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="BSL-3-Clause LICENSE"/>
|
||||
<policyitem type="license" name="BSD" path="build/toolchain/gcc_solink_wrapper.py" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="BSL-3-Clause LICENSE"/>
|
||||
|
||||
<policyitem type="copyright" name="Chromium Author" path="build/misc/mac/check_return_value.py" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="copyright change"/>
|
||||
<policyitem type="copyright" name="Chromium Author" path="build/toolchain/get_concurrent_links.py" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="copyright change"/>
|
||||
<policyitem type="copyright" name="Chromium Author" path="build/misc/mac/find_sdk.py" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="copyright change"/>
|
||||
<policyitem type="copyright" name="Chromium Author" path="build/toolchain/get_cpu_count.py" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="copyright change"/>
|
||||
<policyitem type="copyright" name="Chromium Author" path="build/misc/overrides/build.gni" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="copyright change"/>
|
||||
<policyitem type="copyright" name="Chromium Author" path="build/toolchain/BUILD.gn" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="copyright change"/>
|
||||
<policyitem type="copyright" name="Chromium Author" path="build/config/mac/BUILD.gn" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="copyright change"/>
|
||||
<policyitem type="copyright" name="Chromium Author" path="build/config/mac/mac_sdk.gni" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="copyright change"/>
|
||||
<policyitem type="copyright" name="Chromium Author" path="build/toolchain/clang_static_analyzer.gni" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="copyright change"/>
|
||||
<policyitem type="copyright" name="Chromium Author" path="build/toolchain/mac/BUILD.gn" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="copyright change"/>
|
||||
<policyitem type="copyright" name="Chromium Author" path="build/config/mac/mac_sdk_overrides.gni" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="copyright change"/>
|
||||
<policyitem type="copyright" name="Chromium Author" path="build/toolchain/clang_static_analyzer_wrapper.py" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="copyright change"/>
|
||||
<policyitem type="copyright" name="Chromium Author" path="build/toolchain/mac/filter_libtool.py" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="copyright change"/>
|
||||
<policyitem type="copyright" name="Chromium Author" path="build/config/mac/sdk_info.py" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="copyright change"/>
|
||||
<policyitem type="copyright" name="Chromium Author" path="build/toolchain/concurrent_links.gni" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="copyright change"/>
|
||||
<policyitem type="copyright" name="Chromium Author" path="build/toolchain/mac/get_tool_mtime.py" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="copyright change"/>
|
||||
<policyitem type="copyright" name="Chromium Author" path="build/config/mac/symbols.gni" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="copyright change"/>
|
||||
<policyitem type="copyright" name="Chromium Author" path="build/toolchain/gcc_link_wrapper.py" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="copyright change"/>
|
||||
<policyitem type="copyright" name="Chromium Author" path="build/toolchain/mac/linker_driver.py" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="copyright change"/>
|
||||
<policyitem type="copyright" name="Chromium Author" path="build/config/mac/xcrun.py" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="copyright change"/>
|
||||
<policyitem type="copyright" name="Chromium Author" path="build/toolchain/gcc_solink_wrapper.py" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="copyright change"/>
|
||||
<policyitem type="compatibility" name="Apache" path="arkcompiler/toolchain" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc=""/>
|
||||
</policy>
|
||||
</policylist>
|
||||
<policylist>
|
||||
<policy name="projectPolicy" desc="">
|
||||
<policyitem type="copyright" name="Copyright 2015 The Chromium Authors. All rights reserved." path="build/toolchain/.*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Chromium Copyright"/>
|
||||
<policyitem type="license" name="BSDStyleLicense" path="build/toolchain/.*" desc="Chromium License"/>
|
||||
</policy>
|
||||
</policylist>
|
||||
<filefilterlist>
|
||||
<filefilter name="copyrightPolicyFilter" desc="copyright文件头校验策略的过滤条件" >
|
||||
|
@ -1,6 +1,15 @@
|
||||
# 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.
|
||||
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("$build_root/config/mac/mac_sdk.gni")
|
||||
import("$build_root/config/mac/symbols.gni")
|
||||
|
@ -1,26 +1,22 @@
|
||||
# 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.
|
||||
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("$build_root/config/mac/mac_sdk_overrides.gni")
|
||||
import("$build_root/toolchain/toolchain.gni")
|
||||
|
||||
declare_args() {
|
||||
# The MACOSX_DEPLOYMENT_TARGET variable used when compiling. This partially
|
||||
# controls the minimum supported version of macOS for Chromium by
|
||||
# affecting the symbol availability rules. This may differ from
|
||||
# mac_min_system_version when dropping support for older macOSes but where
|
||||
# additional code changes are required to be compliant with the availability
|
||||
# rules.
|
||||
# Must be of the form x.x.x for Info.plist files.
|
||||
mac_deployment_target = "10.13.0"
|
||||
|
||||
# The value of the LSMinimumSystemVersion in Info.plist files. This partially
|
||||
# controls the minimum supported version of macOS for Chromium by
|
||||
# affecting the Info.plist. This may differ from mac_deployment_target when
|
||||
# dropping support for older macOSes. This should be greater than or equal to
|
||||
# the mac_deployment_target version.
|
||||
# Must be of the form x.x.x for Info.plist files.
|
||||
mac_min_system_version = "10.13.0"
|
||||
|
||||
# Path to a specific version of the Mac SDK, not including a slash at the end.
|
||||
|
@ -1,6 +1,15 @@
|
||||
# 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.
|
||||
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# This file contains arguments that subprojects may choose to override. It
|
||||
# asserts that those overrides are used, to prevent unused args warnings.
|
||||
|
@ -1,8 +1,17 @@
|
||||
#!/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.
|
||||
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import argparse
|
||||
import doctest
|
||||
|
@ -1,6 +1,15 @@
|
||||
# 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.
|
||||
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("$build_root/config/sanitizers/sanitizers.gni")
|
||||
|
||||
|
@ -1,8 +1,17 @@
|
||||
#!/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.
|
||||
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import argparse
|
||||
import os
|
||||
|
@ -1,8 +1,17 @@
|
||||
#!/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.
|
||||
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""This program wraps an arbitrary command and prints "1" if the command ran
|
||||
successfully.
|
||||
|
@ -1,8 +1,17 @@
|
||||
#!/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.
|
||||
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""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
|
||||
@ -65,10 +74,7 @@ def main():
|
||||
sdk_dir = os.path.join(
|
||||
str(out.rstrip(), encoding="utf-8"),
|
||||
'Platforms/MacOSX.platform/Developer/SDKs')
|
||||
# Xcode must be installed, its license agreement must be accepted, and its
|
||||
# command-line tools must be installed. Stand-alone installations (in
|
||||
# /Library/Developer/CommandLineTools) are not supported.
|
||||
# https://bugs.chromium.org/p/chromium/issues/detail?id=729990#c1
|
||||
|
||||
file_path = os.path.relpath("/path/to/Xcode.app")
|
||||
if not os.path.isdir(sdk_dir) or not '.app/Contents/Developer' in sdk_dir:
|
||||
raise SdkError('Install Xcode, launch it, accept the license ' +
|
||||
|
@ -1,15 +1,18 @@
|
||||
# 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.
|
||||
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# Variable that can be used to support multiple build scenarios, like having
|
||||
# Chromium specific targets in a client project's GN file etc.
|
||||
build_with_chromium = false
|
||||
|
||||
# Some non-Chromium builds don't support building java targets.
|
||||
enable_java_templates = true
|
||||
|
||||
# Some non-Chromium builds don't use Chromium's third_party/binutils.
|
||||
linux_use_bundled_binutils_override = true
|
||||
|
||||
# Skip assertions about 4GiB file size limit.
|
||||
|
@ -1,6 +1,15 @@
|
||||
# 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.
|
||||
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("$build_root/toolchain/concurrent_links.gni")
|
||||
|
||||
|
@ -1,6 +1,15 @@
|
||||
# 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.
|
||||
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# Defines the configuration of Clang static analysis tools.
|
||||
# See docs/clang_static_analyzer.md for more information.
|
||||
|
@ -1,8 +1,17 @@
|
||||
#!/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.
|
||||
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
"""Adds an analysis build step to invocations of the Clang C/C++ compiler.
|
||||
|
||||
|
@ -1,6 +1,15 @@
|
||||
# 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.
|
||||
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# This file should only be imported from files that define toolchains.
|
||||
# There's no way to enforce this exactly, but all toolchains are processed
|
||||
|
@ -1,8 +1,17 @@
|
||||
#!/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.
|
||||
# Copyright (c) 2022 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
"""Runs a linking command and optionally a strip command.
|
||||
|
||||
This script exists to avoid using complex shell commands in
|
||||
|
@ -1,8 +1,17 @@
|
||||
#!/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.
|
||||
# Copyright (c) 2022 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
"""Runs 'ld -shared' and generates a .TOC file that's untouched when unchanged.
|
||||
|
||||
This script exists to avoid using complex shell commands in
|
||||
|
@ -1,8 +1,17 @@
|
||||
#!/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.
|
||||
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# This script computes the number of concurrent links we want to run
|
||||
# in the build as a function of machine spec. It's based
|
||||
|
@ -1,8 +1,17 @@
|
||||
#!/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.
|
||||
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
# This script shows cpu count to specify capacity of action pool.
|
||||
|
||||
|
@ -1,6 +1,15 @@
|
||||
# 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.
|
||||
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import("$build_root/config/clang/clang.gni")
|
||||
import("$build_root/config/mac/mac_sdk.gni")
|
||||
|
@ -1,8 +1,17 @@
|
||||
#!/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.
|
||||
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import os
|
||||
import re
|
||||
|
@ -1,8 +1,17 @@
|
||||
#!/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.
|
||||
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
@ -1,8 +1,17 @@
|
||||
#!/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.
|
||||
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import os
|
||||
import os.path
|
||||
|
Loading…
Reference in New Issue
Block a user