1 Star 0 Fork 9

Tiger80s/chromium_third_party_swiftshader

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
OAT.xml 20.22 KB
一键复制 编辑 原始数据 按行查看 历史
jcg_814 提交于 2023-10-28 13:30 . OAT整改
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) 2021 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 is the configuration file template for OpenHarmony OSS Audit Tool, please copy it to your
project root dir and modify it refer to OpenHarmony/tools_oat/README.
All configurations in this file will be merged to OAT-Default.xml, if you have any questions or
concerns, please create issue in OpenHarmony/tools_oat and @jalenchen or chenyaxun.
licensefile:
1.If the project don't have "LICENSE" in root dir, please define all the license files in this
project in , OAT will check license files according to this rule.
policylist:
1. policy: If the OAT-Default.xml policies do not meet your requirements, please add policies here.
2. policyitem: The fields type, name, path, desc is required, and the fields rule, group,
filefilter is optional,the default value is:
<policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup"
filefilter="defaultPolicyFilter"/>
3. policyitem type:
"compatibility" is used to check license compatibility in the specified path;
"license" is used to check source license header in the specified path;
"copyright" is used to check source copyright header in the specified path;
"import" is used to check source dependency in the specified path, such as import ... ,include ...
"filetype" is used to check file type in the specified path, supported file types: archive, binary
"filename" is used to check whether the specified file exists in the specified path(projectroot
means the root dir of the project), supported file names: LICENSE, README, README.OpenSource
4. policyitem name: This field is used for define the license, copyright, "*" means match all, the
"!" prefix means could not match this value. For example, "!GPL" means can not use GPL license.
5. policyitem path: This field is used for define the source file scope to apply this policyitem,
the "!" prefix means exclude the files. For example, "!.*/lib/.*" means files in lib dir will be
exclude while process this policyitem.
6. policyitem rule and group: These two fields are used together to merge policy results. "may"
policyitems in the same group means any one in this group passed, the result will be passed.
7. policyitem filefilter: Used to bind filefilter which define filter rules.
7. policyitem desc: Used to describe the reason of this policy item, committers will check this
while merging the code.
8. filefilter: Filter rules, the type filename is used to filter file name, the type filepath is
used to filter file path.
Note:If the text contains special characters, please escape them according to the following rules:
" == &quot;
& == &amp;
' == &apos;
< == &lt;
> == &gt;
-->
<configuration>
<oatconfig>
<policylist>
<policy name="projectPolicy" desc="">
<policyitem type="compatibility" name="Khronos License" path="third_party/SPIRV-Headers/.*" desc="经法务确认为宽松型许可证" />
<policyitem type="compatibility" name="Khronos License" path="include/KHR/khrplatform.h" desc="经法务确认为宽松型许可证" />
<policyitem type="compatibility" name="Khronos License" path="third_party/SPIRV-Tools/tools/sva/src/spirv.data.js" desc="经法务确认为宽松型许可证" />
<policyitem type="compatibility" name="Khronos License" path="include/EGL/eglplatform.h" desc="经法务确认为宽松型许可证" />
<policyitem type="compatibility" name="LLVM License" path="third_party/llvm-subzero.*" desc="经法务确认为宽松型许可证" />
<policyitem type="compatibility" name="LLVM License" path="third_party/subzero.*" desc="经法务确认为宽松型许可证" />
<policyitem type="compatibility" name="LLVM License" path="third_party/llvm-10.0.*" desc="经法务确认为宽松型许可证" />
<policyitem type="compatibility" name="original license" path="third_party/llvm-subzero/include/llvm/Support.*" desc="经法务确认为宽松型许可证" />
<policyitem type="compatibility" name="original license" path="third_party/llvm-10.0/llvm/include/llvm/Support.*" desc="经法务确认为宽松型许可证" />
<policyitem type="compatibility" name="Spencer-94" path="third_party/llvm-10.0/llvm/lib/Support/COPYRIGHT.regex" desc="经法务确认为宽松型许可证" />
<policyitem type="compatibility" name="GPLStyleLicense" path="third_party/SPIRV-Headers/tools/.*" desc="经法务确认,涉及文件在render下进行了隔离" />
</policy>
</policylist>
<filefilterlist>
<filefilter name="defaultPolicyFilter"
desc="Filters for compatibility,license header policies">
<filteritem type="filepath" name="README.OpenSource" desc="Filter Readme.opensource files" />
<filteritem type="filepath" name="third_party/SPIRV-Tools/BUILD.bazel" desc="chromium原生文件无license" />
<filteritem type="filepath" name="third_party/SPIRV-Headers/BUILD.bazel" desc="chromium原生文件无license" />
<filteritem type="filepath" name="third_party/llvm-10.0/Android.bp" desc="chromium原生文件无license" />
<filteritem type="filepath" name="src/OpenGL/compiler/.*" desc="经确认,该文件不会使用" />
<filteritem type="filepath" name="third_party/llvm-10.0/llvm/include/llvm/Support/LICENSE.TXT" desc="经确认,该文件不会使用" />
</filefilter>
<filefilter name="defaultFilter">
<filteritem type="filepath" name="Android.bp" desc="经确认不使用改类文件" />
<filteritem type="filepath" name="third_party/llvm-subzero/Android.bp" desc="经确认不使用改类文件" />
<filteritem type="filepath" name="third_party/SPIRV-Headers/Android.bp" desc="经确认不使用改类文件" />
<filteritem type="filepath" name="third_party/SPIRV-Tools/Android.bp" desc="经确认不使用改类文件" />
</filefilter>
<filefilter name="binaryFileTypePolicyFilter">
<filteritem type="filename" name="*.png"
desc="chromium原生二进制文件,不会使用" />
<filteritem type="filename" name="*.spv"
desc="chromium原生二进制文件,不会使用" />
<filteritem type="filename" name="*.sig"
desc="chromium原生二进制文件,不会使用" />
<filteritem type="filename" name="*.asc"
desc="chromium原生二进制文件,不会使用" />
</filefilter>
</filefilterlist>
<licensematcherlist>
<licensematcher name="LLVM License" desc="">
<licensetext name="
/* This file is distributed under the University of Illinois Open Source */
/* License. See LICENSE.TXT for details. */
" desc="" />
<licensetext name="
LLVM System Interface Library
-------------------------------------------------------------------------------
The LLVM System Interface Library is licensed under the Illinois Open Source
License and has the following additional copyright: */
" desc="" />
</licensematcher>
<licensematcher name="OpenBSD" desc="">
<licensetext name="
* This code is derived from OpenBSD's libc, original license follows:
*
* Copyright (c) 1998 Todd C. Miller &gt;[email protected]&gt;
" desc="" />
</licensematcher>
<licensematcher name="original license" desc="">
<licensetext name="
* This is an OpenSSL-compatible implementation of the RSA Data Security, Inc.
* MD5 Message-Digest Algorithm (RFC 1321).
" desc="" />
</licensematcher>
<licensematcher name="Apache-2.0" desc="">
<licensetext name="
# Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://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 &quot;AS IS&quot; 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.
" desc="" />
<licensetext name="
Name: Bloat - Generate webtreemap-compatible JSON summaries of binary size
Short Name: bloat
URL: https://github.com/martine/bloat
Version: 0
Date: Apr 23, 2013
Revision: 2c22b831f081402a9160adb957b64b83316202e1
License: Apache 2.0
License File: NOT_SHIPPED
Security Critical: no
Description:
Generate webtreemap-compatible JSON summaries of binary size.
Local Modifications:
Only bloat.py is used (with no modifications).
========================================================================
Name: Webtreemap - Web-based treemap
Short Name: webtreemap
URL: https://github.com/martine/webtreemap
Version: 0
Date: Apr 23, 2013
Revision: a2fa353833eca1a4821ba4c93fb6a7d546aed02a
License: Apache 2.0
License File: NOT_SHIPPED
Security Critical: no
Description:
A simple treemap implementation using web technologies (DOM nodes, CSS
styling and transitions) rather than a big canvas/svg/plugin.
Local Modifications:
webtreemap.{js,css} are used with no modifications. demo/demo.html
was used as the basis for pnacl-sz.bloat.html.
" desc="" />
<licensetext name="
// Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
// 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 &quot;AS IS&quot; 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.
" desc="" />
</licensematcher>
<licensematcher name="LicenseRef-scancode-unknown-license-reference" desc="">
<licensetext name="
LLVM System Interface Library
" desc="" />
</licensematcher>
<licensematcher name="NCSA" desc="">
<licensetext name="
==============================================================================
Subzero Release License
==============================================================================
University of Illinois/NCSA
Open Source License
Copyright (c) 2014 Google Inc.
All rights reserved.
Developed by:
Native Client Team
Google Inc.
http://www.chromium.org/nativeclient
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the &quot;Software&quot;), to deal with
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimers.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimers in the
documentation and/or other materials provided with the distribution.
* Neither the names of the Native Client Team, Google Inc., nor the names of
its contributors may be used to endorse or promote products derived from
this Software without specific prior written permission.
THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
SOFTWARE.
" desc="" />
<licensetext name="
==============================================================================
LLVM Release License
==============================================================================
University of Illinois/NCSA
Open Source License
Copyright (c) 2003-2016 University of Illinois at Urbana-Champaign.
All rights reserved.
Developed by:
LLVM Team
University of Illinois at Urbana-Champaign
http://llvm.org
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the &quot;Software&quot;), to deal with
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimers.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimers in the
documentation and/or other materials provided with the distribution.
* Neither the names of the LLVM Team, University of Illinois at
Urbana-Champaign, nor the names of its contributors may be used to
endorse or promote products derived from this Software without specific
prior written permission.
THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
SOFTWARE.
==============================================================================
Copyrights and Licenses for Third Party Software Distributed with LLVM:
==============================================================================
The LLVM software contains code written by third parties. Such software will
have its own individual LICENSE.TXT file in the directory in which it appears.
This file will describe the copyrights, license, and restrictions which apply
to that code.
The disclaimer of warranty in the University of Illinois Open Source License
applies to all code in the LLVM Distribution, and nothing in any of the
other licenses gives permission to use the names of the LLVM Team or the
University of Illinois to endorse or promote products derived from this
Software.
The following pieces of software have additional or alternate copyrights,
licenses, and/or restrictions:
Program Directory
------- ---------
Google Test llvm/utils/unittest/googletest
OpenBSD regex llvm/lib/Support/{reg*, COPYRIGHT.regex}
pyyaml tests llvm/test/YAMLParser/{*.data, LICENSE.TXT}
ARM contributions llvm/lib/Target/ARM/LICENSE.TXT
md5 contributions llvm/lib/Support/MD5.cpp llvm/include/llvm/Support/MD5.h
" desc="" />
</licensematcher>
<licensematcher name="Khronos License" desc="">
<licensetext name="
** Permission is hereby granted, free of charge, to any person obtaining a
** copy of this software and/or associated documentation files (the
** &quot;Materials&quot;), to deal in the Materials without restriction, including
** without limitation the rights to use, copy, modify, merge, publish,
** distribute, sublicense, and/or sell copies of the Materials, and to
** permit persons to whom the Materials are furnished to do so, subject to
** the following conditions:
**
** The above copyright notice and this permission notice shall be included
** in all copies or substantial portions of the Materials.
**
** THE MATERIALS ARE PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND,
** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
" desc="" />
</licensematcher>
</licensematcherlist>
</oatconfig>
</configuration>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tiger80s/chromium_third_party_swiftshader.git
[email protected]:tiger80s/chromium_third_party_swiftshader.git
tiger80s
chromium_third_party_swiftshader
chromium_third_party_swiftshader
master

搜索帮助