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>
|
<oatconfig>
|
||||||
<policylist>
|
<policylist>
|
||||||
<policy name="defaultPolicy" desc="" >
|
<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>
|
</policy>
|
||||||
</policylist>
|
</policylist>
|
||||||
<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>
|
</policylist>
|
||||||
<filefilterlist>
|
<filefilterlist>
|
||||||
<filefilter name="copyrightPolicyFilter" desc="copyright文件头校验策略的过滤条件" >
|
<filefilter name="copyrightPolicyFilter" desc="copyright文件头校验策略的过滤条件" >
|
||||||
|
@ -1,6 +1,15 @@
|
|||||||
# Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# found in the LICENSE file.
|
# 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/mac_sdk.gni")
|
||||||
import("$build_root/config/mac/symbols.gni")
|
import("$build_root/config/mac/symbols.gni")
|
||||||
|
@ -1,26 +1,22 @@
|
|||||||
# Copyright 2014 The Chromium Authors. All rights reserved.
|
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# found in the LICENSE file.
|
# 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/config/mac/mac_sdk_overrides.gni")
|
||||||
import("$build_root/toolchain/toolchain.gni")
|
import("$build_root/toolchain/toolchain.gni")
|
||||||
|
|
||||||
declare_args() {
|
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"
|
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"
|
mac_min_system_version = "10.13.0"
|
||||||
|
|
||||||
# Path to a specific version of the Mac SDK, not including a slash at the end.
|
# 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.
|
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# found in the LICENSE file.
|
# 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
|
# This file contains arguments that subprojects may choose to override. It
|
||||||
# asserts that those overrides are used, to prevent unused args warnings.
|
# asserts that those overrides are used, to prevent unused args warnings.
|
||||||
|
@ -1,8 +1,17 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright 2014 The Chromium Authors. All rights reserved.
|
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# found in the LICENSE file.
|
# 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 argparse
|
||||||
import doctest
|
import doctest
|
||||||
|
@ -1,6 +1,15 @@
|
|||||||
# Copyright 2016 The Chromium Authors. All rights reserved.
|
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# found in the LICENSE file.
|
# 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")
|
import("$build_root/config/sanitizers/sanitizers.gni")
|
||||||
|
|
||||||
|
@ -1,8 +1,17 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright 2016 The Chromium Authors. All rights reserved.
|
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# found in the LICENSE file.
|
# 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 argparse
|
||||||
import os
|
import os
|
||||||
|
@ -1,8 +1,17 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright 2014 The Chromium Authors. All rights reserved.
|
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# found in the LICENSE file.
|
# 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
|
"""This program wraps an arbitrary command and prints "1" if the command ran
|
||||||
successfully.
|
successfully.
|
||||||
|
@ -1,8 +1,17 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# found in the LICENSE file.
|
# 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
|
"""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
|
given minimum sdk version to standard output. If --developer_dir is passed, then
|
||||||
@ -65,10 +74,7 @@ def main():
|
|||||||
sdk_dir = os.path.join(
|
sdk_dir = os.path.join(
|
||||||
str(out.rstrip(), encoding="utf-8"),
|
str(out.rstrip(), encoding="utf-8"),
|
||||||
'Platforms/MacOSX.platform/Developer/SDKs')
|
'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")
|
file_path = os.path.relpath("/path/to/Xcode.app")
|
||||||
if not os.path.isdir(sdk_dir) or not '.app/Contents/Developer' in sdk_dir:
|
if not os.path.isdir(sdk_dir) or not '.app/Contents/Developer' in sdk_dir:
|
||||||
raise SdkError('Install Xcode, launch it, accept the license ' +
|
raise SdkError('Install Xcode, launch it, accept the license ' +
|
||||||
|
@ -1,15 +1,18 @@
|
|||||||
# Copyright 2016 The Chromium Authors. All rights reserved.
|
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# found in the LICENSE file.
|
# 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
|
enable_java_templates = true
|
||||||
|
|
||||||
# Some non-Chromium builds don't use Chromium's third_party/binutils.
|
|
||||||
linux_use_bundled_binutils_override = true
|
linux_use_bundled_binutils_override = true
|
||||||
|
|
||||||
# Skip assertions about 4GiB file size limit.
|
# Skip assertions about 4GiB file size limit.
|
||||||
|
@ -1,6 +1,15 @@
|
|||||||
# Copyright 2016 The Chromium Authors. All rights reserved.
|
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# found in the LICENSE file.
|
# 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")
|
import("$build_root/toolchain/concurrent_links.gni")
|
||||||
|
|
||||||
|
@ -1,6 +1,15 @@
|
|||||||
# Copyright (c) 2017 The Chromium Authors. All rights reserved.
|
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# found in the LICENSE file.
|
# 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.
|
# Defines the configuration of Clang static analysis tools.
|
||||||
# See docs/clang_static_analyzer.md for more information.
|
# See docs/clang_static_analyzer.md for more information.
|
||||||
|
@ -1,8 +1,17 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright 2017 The Chromium Authors. All rights reserved.
|
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# found in the LICENSE file.
|
# 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.
|
"""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.
|
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# found in the LICENSE file.
|
# 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.
|
# This file should only be imported from files that define toolchains.
|
||||||
# There's no way to enforce this exactly, but all toolchains are processed
|
# There's no way to enforce this exactly, but all toolchains are processed
|
||||||
|
@ -1,8 +1,17 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright 2015 The Chromium Authors. All rights reserved.
|
# Copyright (c) 2022 Huawei Device Co., Ltd.
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# found in the LICENSE file.
|
# 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.
|
"""Runs a linking command and optionally a strip command.
|
||||||
|
|
||||||
This script exists to avoid using complex shell commands in
|
This script exists to avoid using complex shell commands in
|
||||||
|
@ -1,8 +1,17 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright 2015 The Chromium Authors. All rights reserved.
|
# Copyright (c) 2022 Huawei Device Co., Ltd.
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# found in the LICENSE file.
|
# 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.
|
"""Runs 'ld -shared' and generates a .TOC file that's untouched when unchanged.
|
||||||
|
|
||||||
This script exists to avoid using complex shell commands in
|
This script exists to avoid using complex shell commands in
|
||||||
|
@ -1,8 +1,17 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright 2014 The Chromium Authors. All rights reserved.
|
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# found in the LICENSE file.
|
# 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
|
# This script computes the number of concurrent links we want to run
|
||||||
# in the build as a function of machine spec. It's based
|
# in the build as a function of machine spec. It's based
|
||||||
|
@ -1,8 +1,17 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright 2018 The Chromium Authors. All rights reserved.
|
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# found in the LICENSE file.
|
# 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.
|
# This script shows cpu count to specify capacity of action pool.
|
||||||
|
|
||||||
|
@ -1,6 +1,15 @@
|
|||||||
# Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# found in the LICENSE file.
|
# 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/clang/clang.gni")
|
||||||
import("$build_root/config/mac/mac_sdk.gni")
|
import("$build_root/config/mac/mac_sdk.gni")
|
||||||
|
@ -1,8 +1,17 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright 2016 The Chromium Authors. All rights reserved.
|
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# found in the LICENSE file.
|
# 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
|
||||||
import re
|
import re
|
||||||
|
@ -1,8 +1,17 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright 2016 The Chromium Authors. All rights reserved.
|
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# found in the LICENSE file.
|
# 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
|
||||||
import sys
|
import sys
|
||||||
|
@ -1,8 +1,17 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright 2016 The Chromium Authors. All rights reserved.
|
# Copyright (c) 2024 Huawei Device Co., Ltd.
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# found in the LICENSE file.
|
# 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
|
||||||
import os.path
|
import os.path
|
||||||
|
Loading…
Reference in New Issue
Block a user