mirror of
https://gitee.com/openharmony/interface_sdk_c
synced 2024-11-27 00:41:01 +00:00
修改README文件和删除容易OAT.xml
Signed-off-by: huangdongting <huangdongting3@huawei.com>
This commit is contained in:
parent
e7a14c92fc
commit
d33e33f917
177
LICENSE
Normal file
177
LICENSE
Normal file
@ -0,0 +1,177 @@
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
10
OAT.xml
10
OAT.xml
@ -25,16 +25,14 @@
|
||||
<!--policyitem type="compatibility" name="GPL-2.0+" path="abc/.*" desc="Process that runs independently, invoked by the X process."/-->
|
||||
<!--policyitem type="license" name="LGPL" path="abc/.*" desc="Dynamically linked by module X"/-->
|
||||
<!--policyitem type="copyright" name="xxx" path="abc/.*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Developed by X Company"/-->
|
||||
<policyitem type="license" name="*" path=".*" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="兼容license"/>
|
||||
<policyitem type="copyright" name="*" path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc=""/>
|
||||
</policy>
|
||||
</policylist>
|
||||
<filefilterlist>
|
||||
<filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies">
|
||||
<filteritem type="filepath" name="*"
|
||||
desc="License matcher rules, not license header, null"/>
|
||||
<filefilter name="defaultPolicyFilter" desc="compatibility,License Header Invalid">
|
||||
<filteritem type="filepath" name="third_party/musl/ndk_musl_include/locale.h" desc="License matcher rules, NoLicenseHeader"/>
|
||||
</filefilter>
|
||||
<filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies">
|
||||
<filefilter name="copyrightPolicyFilter" desc="Copyright Header Invalid">
|
||||
<filteritem type="filepath" name="third_party/musl/ndk_musl_include/locale.h" desc="Copyright matcher rules, NULL"/>
|
||||
</filefilter>
|
||||
</filefilterlist>
|
||||
<licensematcherlist>
|
||||
|
69
README.en.md
69
README.en.md
@ -1,36 +1,47 @@
|
||||
# interface_sdk_c
|
||||
Public Repository for API Declaration Files
|
||||
|
||||
#### Description
|
||||
{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
|
||||
## Overview
|
||||
|
||||
#### Software Architecture
|
||||
Software architecture description
|
||||
This repository is used to store .h declaration files of C APIs.
|
||||
|
||||
#### Installation
|
||||
## Directory Structure
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### Instructions
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### Contribution
|
||||
|
||||
1. Fork the repository
|
||||
2. Create Feat_xxx branch
|
||||
3. Commit your code
|
||||
4. Create Pull Request
|
||||
─ai
|
||||
| ├─neural_network_runtime
|
||||
├─arkui
|
||||
| ├─ace_engine
|
||||
├─bundlemanager
|
||||
| ├─bundle_framework
|
||||
│ | ├─bundle
|
||||
├─commonlibrary
|
||||
| ├─memory_utils
|
||||
│ | ├─bundle
|
||||
├─distributeddatamgr
|
||||
| ├─relational_store
|
||||
├─drivers
|
||||
| ├─external_device_manager
|
||||
├─global
|
||||
| ├─resource_management
|
||||
├─graphic
|
||||
| ├─graphic_2d
|
||||
├─hiviewdfx
|
||||
| ├─hiappevent
|
||||
| ├─hilog
|
||||
| ├─hitrace
|
||||
├─multimedia
|
||||
| ├─audio_framework
|
||||
| ├─av_codec
|
||||
| ├─image_framework
|
||||
| ├─player_framework
|
||||
├─resourceschedule
|
||||
| ├─ffrt
|
||||
├─security
|
||||
| ├─huks
|
||||
├─startup
|
||||
| ├─init
|
||||
├─third_party
|
||||
|
||||
|
||||
#### Gitee Feature
|
||||
## Repositories Involved
|
||||
|
||||
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
|
||||
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
|
||||
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
|
||||
4. The most valuable open source project [GVP](https://gitee.com/gvp)
|
||||
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
|
||||
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||
[interface_sdk_c](https://gitee.com/openharmony-sig/interface_sdk_c/)
|
||||
|
77
README.md
77
README.md
@ -1,39 +1,50 @@
|
||||
# interface_sdk_c
|
||||
# API声明文件公共仓
|
||||
|
||||
#### 介绍
|
||||
{**以下是 Gitee 平台说明,您可以替换此简介**
|
||||
Gitee 是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN)。专为开发者提供稳定、高效、安全的云端软件开发协作平台
|
||||
无论是个人、团队、或是企业,都能够用 Gitee 实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)}
|
||||
## 简介
|
||||
|
||||
#### 软件架构
|
||||
软件架构说明
|
||||
C API 公共仓,用来提交 C API 声明文件。
|
||||
|
||||
## 目录
|
||||
|
||||
```
|
||||
─ai
|
||||
| ├─neural_network_runtime
|
||||
├─arkui
|
||||
| ├─ace_engine
|
||||
├─bundlemanager
|
||||
| ├─bundle_framework
|
||||
│ | ├─bundle
|
||||
├─commonlibrary
|
||||
| ├─memory_utils
|
||||
│ | ├─bundle
|
||||
├─distributeddatamgr
|
||||
| ├─relational_store
|
||||
├─drivers
|
||||
| ├─external_device_manager
|
||||
├─global
|
||||
| ├─resource_management
|
||||
├─graphic
|
||||
| ├─graphic_2d
|
||||
├─hiviewdfx
|
||||
| ├─hiappevent
|
||||
| ├─hilog
|
||||
| ├─hitrace
|
||||
├─multimedia
|
||||
| ├─audio_framework
|
||||
| ├─av_codec
|
||||
| ├─image_framework
|
||||
| ├─player_framework
|
||||
├─resourceschedule
|
||||
| ├─ffrt
|
||||
├─security
|
||||
| ├─huks
|
||||
├─startup
|
||||
| ├─init
|
||||
├─third_party
|
||||
|
||||
|
||||
#### 安装教程
|
||||
```
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
## 相关仓
|
||||
|
||||
#### 使用说明
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### 参与贡献
|
||||
|
||||
1. Fork 本仓库
|
||||
2. 新建 Feat_xxx 分支
|
||||
3. 提交代码
|
||||
4. 新建 Pull Request
|
||||
|
||||
|
||||
#### 特技
|
||||
|
||||
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
|
||||
2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com)
|
||||
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目
|
||||
4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
|
||||
5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
||||
6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||
[interface_sdk_c](https://gitee.com/openharmony-sig/interface_sdk_c/)
|
||||
|
103
third_party/libuv/OAT.xml
vendored
103
third_party/libuv/OAT.xml
vendored
@ -1,103 +0,0 @@
|
||||
<?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.
|
||||
|
||||
Notes:
|
||||
This is project config file for OpenHarmony OSS Audit Tool, if you have any questions or concerns, please email chenyaxun.
|
||||
-->
|
||||
<!-- OAT(OSS Audit Tool) configuration guide:
|
||||
basedir: Root dir, the basedir + project path is the real source file location.
|
||||
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.
|
||||
|
||||
tasklist(only for batch mode):
|
||||
1. task: Define oat check thread, each task will start a new thread.
|
||||
2. task name: Only an name, no practical effect.
|
||||
3. task policy: Default policy for projects under this task, this field is required and the specified policy must defined in policylist.
|
||||
4. task filter: Default filefilter for projects under this task, this field is required and the specified filefilter must defined in filefilterlist.
|
||||
5. task project: Projects to be checked, the path field define the source root dir of the project.
|
||||
|
||||
|
||||
policyList:
|
||||
1. policy: All policyitems will be merged to default OAT.xml rules, the name of policy doesn't affect OAT check process.
|
||||
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(support projectroot in default OAT.xml), 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.
|
||||
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:
|
||||
" == >
|
||||
& == >
|
||||
' == >
|
||||
< == >
|
||||
> == >
|
||||
-->
|
||||
<configuration>
|
||||
<oatconfig>
|
||||
<licensefile></licensefile>
|
||||
<policylist>
|
||||
<policy name="projectPolicy" desc="">
|
||||
</policy>
|
||||
<policyitem type="compatibility" name="ISC License" path="src/inet.c" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="include/uv/stdint-msvc2008.h" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
</policylist>
|
||||
<filefilterlist>
|
||||
<filefilter name="defaultPolicyFilter" desc="compatibility,license文件头校验策略的过滤条件" >
|
||||
<filteritem type="filepath" name="LICENSE-docs" desc="不使用的文件,且MIT协议,不影响兼容性"/>
|
||||
<filteritem type="filepath" name="docs/src/sphinx-plugins/manpage.py" desc="不使用的文件,且MIT协议,不影响兼容性"/>
|
||||
<filteritem type="filepath" name="docs/src/tcp.rst" desc="不参与编译,不影响兼容性"/>
|
||||
<filteritem type="filepath" name="tools/vswhere_usability_wrapper.cmd" desc="不使用的文件,且MIT协议,不影响兼容性"/>
|
||||
</filefilter>
|
||||
</filefilterlist>
|
||||
<licensematcherlist>
|
||||
<licensematcher name="ISC License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name="
|
||||
Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
|
||||
Copyright (c) 1996,1999 by Internet Software Consortium.
|
||||
|
||||
Permission to use, copy, modify, and distribute this software for any
|
||||
purpose with or without fee is hereby granted, provided that the above
|
||||
copyright notice and this permission notice appear in all copies.
|
||||
" desc=""/>
|
||||
</licensematcher>
|
||||
<licensematcher name="ISC License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name="
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
|
||||
3. The name of the author may be used to endorse or promote products
|
||||
derived from this software without specific prior written permission.
|
||||
" desc=""/>
|
||||
</licensematcher>
|
||||
</licensematcherlist>
|
||||
</oatconfig>
|
||||
</configuration>
|
89
third_party/mindspore/OAT.xml
vendored
89
third_party/mindspore/OAT.xml
vendored
@ -1,89 +0,0 @@
|
||||
<?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.
|
||||
|
||||
-->
|
||||
|
||||
<configuration>
|
||||
<oatconfig>
|
||||
<licensefile></licensefile>
|
||||
<policylist>
|
||||
<policy name="projectPolicy" desc="">
|
||||
<!--policyitem type="compatibility" name="GPL-2.0+" path="abc/.*" desc="Process that runs independently, invoked by the X process."/-->
|
||||
<!--policyitem type="license" name="LGPL" path="abc/.*" desc="Dynamically linked by module X"/-->
|
||||
<!--policyitem type="copyright" name="xxx" path="abc/.*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Developed by X Company"/-->
|
||||
</policy>
|
||||
</policylist>
|
||||
<filefilterlist>
|
||||
<filefilter name="defaultFilter" desc="Files not to check">
|
||||
<filteritem type="filename" name="*.iml|*.json|*.txt|*.bin|*.tflite|*.rst|*.ms|*.f32|*.png|*.sh|*.mindir|*.dat|*.xcuserstate|OWNERS|msobfuscator|libmsdeobfuscator-lite.*" desc="desc files"/>
|
||||
<filteritem type="filename" name="*.gitmodules|NOTICE|*.proto|Third_Party_Open_Source_Software_Notice|*.fbs" desc="desc files"/>
|
||||
<filteritem type="filepath" name="mindspore/ccsrc/minddata/.*" desc="test files"/>
|
||||
<filteritem type="filepath" name="tests/.*" desc="test files"/>
|
||||
<filteritem type="filepath" name="mindspore/lite/test/.*" desc="test files"/>
|
||||
<filteritem type="filepath" name="mindspore/lite/examples/.*" desc="test files"/>
|
||||
<filteritem type="filepath" name="mindspore/lite/java/.*" desc="test files"/>
|
||||
<filteritem type="filepath" name="mindspore/lite/schema/.*" desc="test files"/>
|
||||
<filteritem type="filepath" name="scripts/.*" desc="scripts files"/>
|
||||
<filteritem type="filepath" name="third_party/.*" desc="third party files"/>
|
||||
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
|
||||
<!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
|
||||
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
|
||||
</filefilter>
|
||||
<filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies">
|
||||
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
|
||||
<!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
|
||||
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
|
||||
</filefilter>
|
||||
<filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies">
|
||||
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
|
||||
<!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
|
||||
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
|
||||
</filefilter>
|
||||
<filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies">
|
||||
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
|
||||
<!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
|
||||
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
|
||||
</filefilter>
|
||||
<filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies">
|
||||
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
|
||||
<!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
|
||||
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
|
||||
</filefilter>
|
||||
<filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies">
|
||||
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
|
||||
<!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
|
||||
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
|
||||
</filefilter>
|
||||
<filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
|
||||
<!--filteritem type="filename" name="*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
|
||||
<!--filteritem type="filepath" name="abcdefg/.*.uvwxyz" desc="Describe the reason for filtering scan results"/-->
|
||||
<!--filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/-->
|
||||
</filefilter>
|
||||
|
||||
</filefilterlist>
|
||||
<licensematcherlist>
|
||||
<!--licensematcher name="uvwxyz License" desc="If the scanning result is InvalidLicense, you can define matching rules here. Note that quotation marks must be escaped.">
|
||||
<licensetext name="
|
||||
uvwxyz license textA xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
" desc=""/>
|
||||
<licensetext name="
|
||||
uvwxyz license textB xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||
" desc=""/>
|
||||
</licensematcher-->
|
||||
</licensematcherlist>
|
||||
</oatconfig>
|
||||
</configuration>
|
92
third_party/musl/OAT.xml
vendored
92
third_party/musl/OAT.xml
vendored
@ -1,92 +0,0 @@
|
||||
<?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:
|
||||
" == "
|
||||
& == &
|
||||
' == '
|
||||
< == <
|
||||
> == >
|
||||
-->
|
||||
|
||||
<configuration>
|
||||
<oatconfig>
|
||||
<licensefile>COPYRIGHT</licensefile>
|
||||
<policylist>
|
||||
<policy name="projectPolicy" desc="">
|
||||
<!--policyitem type="compatibility" name="GPL-2.0+" path=".*" desc="Process that runs independently, invoked by the X process."/-->
|
||||
<!--policyitem type="license" name="LGPL" path=".*" desc="Dynamically linked by module X"/-->
|
||||
<!--policyitem type="copyright" name="xxx" path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Developed by X Company"/-->
|
||||
</policy>
|
||||
</policylist>
|
||||
|
||||
<filefilterlist>
|
||||
<filefilter name="defaultFilter" desc="Files not to check">
|
||||
<filteritem type="filename" name="*.iml|*.json|*.txt" desc="desc files"/>
|
||||
<filteritem type="filepath" name="target/.*" desc="Compile output files"/>
|
||||
<filteritem type="filepath" name="out/.*" desc="Compile output files"/>
|
||||
<filteritem type="filepath" name="log/.*" desc="log files"/>
|
||||
<filteritem type="filepath" name=".idea/.*" desc="IDE temp files"/>
|
||||
<filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/>
|
||||
<filteritem type="filepath" name="src/test/.*" desc="Test files"/>
|
||||
</filefilter>
|
||||
<filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies">
|
||||
<filteritem type="filepath" name="porting/liteos_a/kernel/src/math/.*" desc="No License specified while permission to use, copy, modify, and distribute are granted"/>
|
||||
<filteritem type="filepath" name="porting/liteos_m/kernel/src/math/.*" desc="No License specified while permission to use, copy, modify, and distribute are granted"/>
|
||||
<filteritem type="filepath" name="src/complex/.*" desc="No License specified while permission to use, copy, modify, and distribute are granted"/>
|
||||
<filteritem type="filepath" name="src/crypt/crypt_blowfish.c" desc="No License specified while permission to use, copy, modify, and distribute are granted"/>
|
||||
<filteritem type="filepath" name="src/math/.*" desc="No License specified while permission to use, copy, modify, and distribute are granted"/>
|
||||
<filteritem type="filepath" name="src/string/arm/memcpy_le.S" desc="No License specified while requirements for receving permission to use, copy, modify, and distribute are satisfied"/>
|
||||
<filteritem type="filepath" name="libc-test/src/math/crlibm/.*" desc="GPLV2协议,测试代码,进程独立,不会造成GPL协议污染"/>
|
||||
<filteritem type="filepath" name="libc-test/src/math/ucb/.*" desc="GPLV2协议,测试代码,进程独立,不会造成GPL协议污染"/>
|
||||
<filteritem type="filepath" name="libc-test/COPYRIGHT" desc="License本身"/>
|
||||
</filefilter>
|
||||
<filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies">
|
||||
</filefilter>
|
||||
<filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies">
|
||||
</filefilter>
|
||||
<filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies">
|
||||
</filefilter>
|
||||
<filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies">
|
||||
</filefilter>
|
||||
<filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
|
||||
</filefilter>
|
||||
</filefilterlist>
|
||||
</oatconfig>
|
||||
</configuration>
|
15
third_party/musl/ndk_musl_include/locale.h
vendored
15
third_party/musl/ndk_musl_include/locale.h
vendored
@ -1,18 +1,3 @@
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#ifndef _LOCALE_H
|
||||
#define _LOCALE_H
|
||||
|
||||
|
403
third_party/node/OAT.xml
vendored
403
third_party/node/OAT.xml
vendored
@ -1,403 +0,0 @@
|
||||
<?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.
|
||||
|
||||
Notes:
|
||||
This is project config file for OpenHarmony OSS Audit Tool, if you have any questions or concerns, please email chenyaxun.
|
||||
-->
|
||||
<!-- OAT(OSS Audit Tool) configuration guide:
|
||||
basedir: Root dir, the basedir + project path is the real source file location.
|
||||
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.
|
||||
|
||||
tasklist(only for batch mode):
|
||||
1. task: Define oat check thread, each task will start a new thread.
|
||||
2. task name: Only an name, no practical effect.
|
||||
3. task policy: Default policy for projects under this task, this field is required and the specified policy must defined in policylist.
|
||||
4. task filter: Default filefilter for projects under this task, this field is required and the specified filefilter must defined in filefilterlist.
|
||||
5. task project: Projects to be checked, the path field define the source root dir of the project.
|
||||
|
||||
|
||||
policyList:
|
||||
1. policy: All policyitems will be merged to default OAT.xml rules, the name of policy doesn't affect OAT check process.
|
||||
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(support projectroot in default OAT.xml), 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.
|
||||
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:
|
||||
" == >
|
||||
& == >
|
||||
' == >
|
||||
< == >
|
||||
> == >
|
||||
-->
|
||||
<configuration>
|
||||
<oatconfig>
|
||||
<licensefile></licensefile>
|
||||
<policylist>
|
||||
<policy name="projectPolicy" desc="多个协议,均不影响兼容性 :ISC License,Public Domain,MIT License,Free Software Foundation - MIT License,Apache License V2.0,ICU License,zlib/libpng License,BSD 2-Clause License,BSD 3-Clause License">
|
||||
<policyitem type="compatibility" name="Unicode-DFS-2016" path="deps/icu-small/.*" desc="ICU License,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="Unicode-TOU" path="deps/icu-small/.*" desc="ICU License,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="Unicode-TOU" path="tools/icu/patches/64/source/.*" desc="ICU License,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="c-ares license" path="deps/cares/.*" desc="c-ares license,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="zlib-acknowledgement" path="deps/zlib/.*" desc="zlib/libpng License,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="zlib/libpng License" path="deps/zlib/.*" desc="zlib/libpng License,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="Artistic-2.0" path="deps/npm/.*" desc="Artistic License 2.0,协议友好,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="Unicode-DFS-2016" path="tools/icu/.*" desc="ICU License,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="BSD License" path="deps/npm/node_modules/bcrypt-pbkdf/.*" desc="BSD LICENSE,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/chownr/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/cmd-shim/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/cross-spawn/node_modules/lru-cache/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/cross-spawn/node_modules/yallist/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/dezalgo/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/ecc-jsbn/lib/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/encoding/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/find-npm-prefix/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/fs-minipass/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/fs-minipass/node_modules/minipass/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/fs-write-stream-atomic/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/glob/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/graceful-fs/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/ignore-walk/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/infer-owner/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/inflight/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/inherits/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/ini/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/init-package-json/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/isexe/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/jsbn/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/json-stringify-safe/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/lockfile/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/lru-cache/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/make-fetch-happen/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/minimatch/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/minizlib/node_modules/minipass/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/mute-stream/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/nopt/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="BSD License" path="deps/npm/node_modules/normalize-package-data/.*" desc="BSD License,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/npm-audit-report/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/npm-bundled/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/npm-cache-filename/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="BSD License" path="deps/npm/node_modules/npm-install-checks/.*" desc="BSD License,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/npm-normalize-package-bin/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/npm-package-arg/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/npm-packlist/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/npm-profile/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="BSD License" path="deps/npm/node_modules/npm-user-validate/.*" desc="BSD License,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/npmlog/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/once/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/osenv/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/pacote/node_modules/minipass/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/promzard/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/proto-list/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/pseudomap/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/read/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/read-installed/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/read-package-json/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/read-package-tree/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/readdir-scoped-modules/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/rimraf/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/semver/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/slide/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/tar/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/tar/node_modules/minipass/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="unlicense" path="deps/npm/node_modules/tweetnacl/.*" desc="unlicense,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/uid-number/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/wcwidth/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/which/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/wrappy/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="deps/npm/node_modules/yallist/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="tools/node_modules/eslint/node_modules/flatted/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="tools/node_modules/eslint/node_modules/glob/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="tools/node_modules/eslint/node_modules/glob-parent/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="tools/node_modules/eslint/node_modules/inflight/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="tools/node_modules/eslint/node_modules/inherits/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="tools/node_modules/eslint/node_modules/isexe/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="tools/node_modules/eslint/node_modules/minimatch/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="tools/node_modules/eslint/node_modules/mute-stream/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="tools/node_modules/eslint/node_modules/once/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="tools/node_modules/eslint/node_modules/rimraf/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="tools/node_modules/eslint/node_modules/semver/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="tools/node_modules/eslint/node_modules/which/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="tools/node_modules/eslint/node_modules/wrappy/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="tools/node_modules/eslint/node_modules/uri-js/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="ISC License" path="tools/node_modules/eslint/lib/.*" desc="ISC License,BSD-style,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="Apache License" path="tools/node_modules/eslint/node_modules/eslint-visitor-keys/.*" desc="Apache License,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="BSD License" path="test/fixtures/wpt/resources/.*" desc="BSD License,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="GPLStyleLicense" path="deps/cares/.*" desc="GPLStyleLicense,不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="AFL-2.1" path="deps/npm/node_modules/json-schema/LICENSE" desc="不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="InvalidLicense" path="deps/npm/node_modules/json-schema/lib/.*" desc="不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="InvalidLicense" path="deps/icu-small/source/common/.*" desc="不影响兼容性"/>
|
||||
<policyitem type="compatibility" name="GPL-3.0+" path="deps/cares/m4/.*" desc="不影响兼容性"/>
|
||||
</policy>
|
||||
</policylist>
|
||||
<filefilterlist>
|
||||
<filefilter name="binaryFileTypePolicyFilter" desc="doc和test中的图片" >
|
||||
<filteritem type="filepath" name="doc/.*.jpg" desc="doc和test中的图片"/>
|
||||
<filteritem type="filepath" name="doc/.*.png" desc="doc和test中的图片"/>
|
||||
<filteritem type="filepath" name="test/.*.jpg" desc="doc和test中的图片"/>
|
||||
<filteritem type="filepath" name="test/.*.png" desc="doc和test中的图片"/>
|
||||
<filteritem type="filepath" name="test/.*.pem" desc="无关二进制"/>
|
||||
<filteritem type="filepath" name="test/.*.wasm" desc="无关二进制"/>
|
||||
<filteritem type="filepath" name="test/.*.pfx" desc="无关二进制"/>
|
||||
<filteritem type="filepath" name="test/.*.gz" desc="无关二进制"/>
|
||||
<filteritem type="filepath" name="test/.*.der" desc="无关二进制"/>
|
||||
<filteritem type="filepath" name="test/.*.z" desc="无关二进制"/>
|
||||
<filteritem type="filepath" name="test/.*.zip" desc="无关二进制"/>
|
||||
<filteritem type="filepath" name="test/.*.sha256" desc="无关二进制"/>
|
||||
<filteritem type="filepath" name="test/.*.sha1" desc="无关二进制"/>
|
||||
<filteritem type="filepath" name="test/.*.http2" desc="无关二进制"/>
|
||||
<filteritem type="filepath" name="test/.*.br" desc="无关二进制"/>
|
||||
<filteritem type="filepath" name="test/.*.bin" desc="无关二进制"/>
|
||||
<filteritem type="filepath" name="deps/.*.pem" desc="无关二进制"/>
|
||||
<filteritem type="filepath" name="deps/.*.png" desc="无关二进制"/>
|
||||
<filteritem type="filepath" name="deps/.*.zip" desc="无关二进制"/>
|
||||
<filteritem type="filepath" name="deps/.*.tgz" desc="无关二进制"/>
|
||||
<filteritem type="filepath" name="deps/.*.tar" desc="无关二进制"/>
|
||||
<filteritem type="filepath" name="deps/.*.bz2" desc="无关二进制"/>
|
||||
<filteritem type="filepath" name="deps/.*.gif" desc="无关二进制"/>
|
||||
<filteritem type="filepath" name="deps/.*.br" desc="无关二进制"/>
|
||||
<filteritem type="filepath" name="deps/.*.gz" desc="无关二进制"/>
|
||||
<filteritem type="filepath" name="deps/.*.size" desc="无关二进制"/>
|
||||
<filteritem type="filepath" name="deps/.*.exe" desc="无关二进制"/>
|
||||
<filteritem type="filepath" name="src/.*.ico" desc="无关二进制"/>
|
||||
<filteritem type="filepath" name="deps/npm/node_modules/clone/LICENSE" desc="无关二进制"/>
|
||||
</filefilter>
|
||||
</filefilterlist>
|
||||
<filefilterlist>
|
||||
<filefilter name="defaultPolicyFilter" desc="compatibility,license文件头校验策略的过滤条件" >
|
||||
<filteritem type="filepath" name="deps/zlib/contrib/minizip/unzip.c" desc="zlib LICENSE,文件未使用,不参与编译,不影响兼容性"/>
|
||||
<filteritem type="filepath" name="deps/npm/node_modules/bcrypt-pbkdf/index.js" desc="BSD LICENSE,文件未使用,不参与编译,不影响兼容性"/>
|
||||
<filteritem type="filepath" name="deps/npm/node_modules/init-package-json/default-input.js" desc="三方代码未写LICENSE头"/>
|
||||
<filteritem type="filepath" name="deps/npm/node_modules/normalize-package-data/lib/fixer.js" desc="三方代码未写LICENSE头"/>
|
||||
<filteritem type="filepath" name="deps/npm/node_modules/normalize-package-data/lib/normalize.js" desc="三方代码未写LICENSE头"/>
|
||||
<filteritem type="filepath" name="deps/npm/node_modules/spdx-expression-parse/parse.js" desc="三方代码未写LICENSE头"/>
|
||||
<filteritem type="filepath" name="deps/npm/node_modules/spdx-expression-parse/scan.js" desc="三方代码未写LICENSE头"/>
|
||||
<filteritem type="filepath" name="deps/npm/test/tap/deprecate.js" desc="三方代码未写LICENSE头"/>
|
||||
<filteritem type="filepath" name="deps/npm/test/tap/sorted-package-json.js" desc="三方代码未写LICENSE头"/>
|
||||
<filteritem type="filepath" name="test/parallel/test-whatwg-url-constructor.js" desc="三方代码未写LICENSE头"/>
|
||||
<filteritem type="filepath" name="test/parallel/test-whatwg-url-origin.js" desc="三方代码未写LICENSE头"/>
|
||||
<filteritem type="filepath" name="test/parallel/test-whatwg-url-setters.js" desc="三方代码未写LICENSE头"/>
|
||||
<filteritem type="filepath" name="test/parallel/test-whatwg-url-toascii.js" desc="三方代码未写LICENSE头"/>
|
||||
<filteritem type="filepath" name="tools/inspector_protocol/jinja2/bccache.py" desc="BSD头写在python doc里"/>
|
||||
<filteritem type="filepath" name="tools/inspector_protocol/jinja2/ext.py" desc="BSD头写在python doc里"/>
|
||||
<filteritem type="filepath" name="tools/inspector_protocol/jinja2/get_jinja2.sh" desc="三方仓构建工具未使用不参与打包,没写LICENSE头"/>
|
||||
<filteritem type="filepath" name="tools/inspector_protocol/jinja2/optimizer.py" desc="BSD头写在python doc里"/>
|
||||
<filteritem type="filepath" name="tools/inspector_protocol/jinja2/runtime.py" desc="BSD头写在python doc里"/>
|
||||
<filteritem type="filepath" name="tools/inspector_protocol/jinja2/sandbox.py" desc="BSD头写在python doc里"/>
|
||||
<filteritem type="filepath" name="tools/inspector_protocol/jinja2/visitor.py" desc="BSD头写在python doc里"/>
|
||||
<filteritem type="filepath" name="tools/node_modules/eslint/node_modules/flatted/index.js" desc="三方代码ISC LICENSE BSD-style LICENSE协议友好没有兼容性问题"/>
|
||||
<filteritem type="filepath" name="tools/node_modules/eslint/node_modules/flatted/cjs/index.js" desc="三方代码ISC LICENSE BSD-style LICENSE协议友好没有兼容性问题"/>
|
||||
<filteritem type="filepath" name="tools/node_modules/eslint/node_modules/flatted/esm/index.js" desc="三方代码ISC LICENSE BSD-style LICENSE协议友好没有兼容性问题"/>
|
||||
<filteritem type="filepath" name="vcbuild.bat" desc="三方仓内编译脚本,未写license头,不参与编译,不影响兼容性"/>
|
||||
<filteritem type="filepath" name="deps/npm/node_modules/har-validator/node_modules/ajv/scripts/travis-gh-pages" desc="三方仓内编译脚本,未写license头,不参与编译,不影响兼容性"/>
|
||||
<filteritem type="filepath" name="tools/inspector_protocol/markupsafe/get_markupsafe.sh" desc="三方仓内编译脚本,未写license头,不参与编译,不影响兼容性"/>
|
||||
<filteritem type="filepath" name="tools/msvs/install_tools/install_tools.bat" desc="三方仓内编译脚本,未写license头,不参与编译,不影响兼容性"/>
|
||||
<filteritem type="filepath" name="tools/node_modules/eslint/node_modules/ajv/scripts/travis-gh-pages" desc="文三方仓内编译脚本,未写license头,不参与编译,不影响兼容性"/>
|
||||
<filteritem type="filepath" name="tools/inspector_protocol/jinja2/LICENSE" desc="此为LICENSE文件"/>
|
||||
<filteritem type="filepath" name="LICENSE" desc="此为LICENSE文件"/>
|
||||
<filteritem type="filepath" name="tools/inspector_protocol/markupsafe/LICENSE" desc="此为LICENSE文件"/>
|
||||
<filteritem type="filepath" name="tools/node_modules/babel-eslint/node_modules/source-map/LICENSE" desc="此为LICENSE文件"/>
|
||||
<filteritem type="filepath" name="tools/node_modules/eslint/node_modules/uri-js/LICENSE" desc="此为LICENSE文件"/>
|
||||
<filteritem type="filepath" name="deps/icu-small/LICENSE" desc="此为LICENSE文件"/>
|
||||
<filteritem type="filepath" name="deps/npm/node_modules/uri-js/LICENSE" desc="此为LICENSE文件"/>
|
||||
<filteritem type="filepath" name="deps/npm/node_modules/qs/LICENSE" desc="此为LICENSE文件"/>
|
||||
<filteritem type="filepath" name="lib/internal/cluster/.*" desc="文件没有添加license头,跟随node整体的license"/>
|
||||
<filteritem type="filepath" name="lib/internal/util/iterable_weak_map.js" desc="不参与编译,不影响兼容性"/>
|
||||
<filteritem type="filepath" name="deps/npm/node_modules/validate-npm-package-license/index.js" desc="文件没有添加license头,外层LICENSE位Apache"/>
|
||||
<filteritem type="filepath" name="deps/cares/Makefile.am" desc="不参与编译,不影响兼容性"/>
|
||||
<filteritem type="filepath" name="deps/cares/m4/zz40-xc-ovr.m4" desc="不参与编译,不影响兼容性"/>
|
||||
<filteritem type="filepath" name="deps/cares/m4/xc-val-flgs.m4" desc="不参与编译,不影响兼容性"/>
|
||||
<filteritem type="filepath" name="deps/cares/m4/xc-am-iface.m4" desc="不参与编译,不影响兼容性"/>
|
||||
<filteritem type="filepath" name="deps/cares/m4/xc-cc-check.m4" desc="不参与编译,不影响兼容性"/>
|
||||
<filteritem type="filepath" name="deps/cares/m4/xc-lt-iface.m4" desc="不参与编译,不影响兼容性"/>
|
||||
<filteritem type="filepath" name="deps/cares/m4/xc-translit.m4" desc="不参与编译,不影响兼容性"/>
|
||||
<filteritem type="filepath" name="deps/cares/README.cares" desc="不参与编译,不影响兼容性"/>
|
||||
<filteritem type="filepath" name="deps/cares/RELEASE-NOTES" desc="不参与编译,不影响兼容性"/>
|
||||
<filteritem type="filepath" name="deps/npm/man/man1/npm-dist-tag.1" desc="不参与编译,不影响兼容性"/>
|
||||
<filteritem type="filepath" name="deps/npm/man/man5/install.5" desc="不参与编译,不影响兼容性"/>
|
||||
</filefilter>
|
||||
</filefilterlist>
|
||||
<licensematcherlist>
|
||||
<licensematcher name="MIT License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name="MIT Licensed" desc="MIT LICENSE"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="BSD License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name=" Standard UNIX getopt function. Code is from BSD." desc="BSD License"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="MIT License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name=" MIT license " desc="MIT LICENSE"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="MIT License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name=" Licensed under the MIT (MIT-LICENSE.txt) license." desc="MIT LICENSE"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="MIT License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name=" Distributed under MIT style license" desc="MIT LICENSE"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="MIT License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name="*! safe-buffer. MIT License. Feross Aboukhadijeh " desc="MIT LICENSE"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="MIT License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name=" @license URI.js v4.4.0 (c) 2011 Gary Court." desc="MIT LICENSE"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="MIT License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name="# * This software is licensed as described in the file COPYING, which
|
||||
# * you should have received as part of this distribution. The terms
|
||||
# * are also available at http://curl.haxx.se/docs/copyright.html." desc="MIT LICENSE"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="BSD License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name="Distributed under both the W3C Test Suite License [1] and the W3C
|
||||
3-clause BSD License [2]. To contribute to a W3C Test Suite, see the
|
||||
policies and contribution forms [3]." desc="BSD License"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="MIT License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name="@license
|
||||
* Lodash (Custom Build) lodash.com/license | Underscore.js 1.8.3 underscorejs.org/LICENSE" desc="MIT LICENSE"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="MIT License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name=" @license
|
||||
* Lodash lodash.com/license | Underscore.js 1.8.3 underscorejs.org/LICENSE" desc="MIT LICENSE"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="MIT License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name="# Use of this source code is governed by an MIT-style license." desc="MIT LICENSE"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="BSD License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name=":license: BSD." desc="BSD License"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="ISC License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name="The ISC License" desc="ISC License"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="BSD License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name="Blowfish block cipher for OpenBSD" desc="BSD License"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="ISC License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name="This software is covered under the following copyright:" desc="ISC License"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="ISC License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name="Copyright (c) 2012-2014 Andris Reinman" desc="ISC License"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="ISC License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name="The ISC License" desc="ISC License"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="ISC License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name="ISC License" desc="ISC License"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="BSD License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name="The BSD License" desc="BSD License"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="unlicense" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name="This is free and unencumbered software released into the public domain." desc="unlicense"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="ISC License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name="Copyright (C) 2012 by Jun Woong." desc="ISC License"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="zlib-acknowledgement" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name="License: Custom license" desc="zlib-acknowledgement"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="BSD License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name="W3C 3-clause BSD License" desc="BSD License"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="ISC License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name="wcwidth.js: JavaScript Portng of Markus Kuhn's wcwidth() Implementation" desc="ISC License"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="ISC License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name="The ISC License" desc="ISC License"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="ISC License" desc="">
|
||||
<licensetext name="
|
||||
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted,
|
||||
provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED
|
||||
>AS IS> AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
|
||||
DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
||||
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
" desc=""/>
|
||||
</licensematcher>
|
||||
<licensematcher name="zlib/libpng License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name="
|
||||
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||
" desc="zlib/libpng License"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="zlib/libpng License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name="
|
||||
The encryption/decryption parts of this source code (as opposed to the
|
||||
non-echoing password parts) were originally written in Europe. The
|
||||
whole source package can be freely distributed, including from the USA.
|
||||
(Prior to January 2000, re-export from the US was a violation of US law.)
|
||||
" desc="zlib/libpng License"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="Apache License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name="
|
||||
@author Toru Nagashima <https://github.com/mysticatea>
|
||||
See LICENSE file in root directory for full license.
|
||||
" desc="Apache License"/>
|
||||
</licensematcher>
|
||||
<licensematcher name="ISC License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name="
|
||||
@fileoverview Prefers object spread property over Object.assign
|
||||
@author Sharmila Jesupaul
|
||||
See LICENSE file in root directory for full license.
|
||||
" desc=""/>
|
||||
</licensematcher>
|
||||
<licensematcher name="ISC License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name="
|
||||
Redistribution and use in source and binary forms, with or without modification, are
|
||||
permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this list of
|
||||
conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice, this list
|
||||
of conditions and the following disclaimer in the documentation and/or other materials
|
||||
provided with the distribution.
|
||||
" desc=""/>
|
||||
<licensetext name="
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
A. Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimer.
|
||||
B. Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
C. Neither the names of the copyright holders nor the names of its
|
||||
contributors may be used to endorse or promote products derived from this
|
||||
software without specific prior written permission.
|
||||
" desc=""/>
|
||||
</licensematcher>
|
||||
<licensematcher name="c-ares license" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
|
||||
<licensetext name="
|
||||
Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
|
||||
Copyright (c) 1996,1999 by Internet Software Consortium.
|
||||
|
||||
Permission to use, copy, modify, and distribute this software for any
|
||||
purpose with or without fee is hereby granted, provided that the above
|
||||
copyright notice and this permission notice appear in all copies.
|
||||
" desc=""/>
|
||||
</licensematcher>
|
||||
</licensematcherlist>
|
||||
</oatconfig>
|
||||
</configuration>
|
95
third_party/openSLES/OAT.xml
vendored
95
third_party/openSLES/OAT.xml
vendored
@ -1,95 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- 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.
|
||||
|
||||
Notes:
|
||||
This is project config file for OpenHarmony OSS Audit Tool, if you have any questions or concerns, please email chenyaxun.
|
||||
-->
|
||||
<!-- OAT(OSS Audit Tool) configuration guide:
|
||||
basedir: Root dir, the basedir + project path is the real source file location.
|
||||
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.
|
||||
|
||||
tasklist(only for batch mode):
|
||||
1. task: Define oat check thread, each task will start a new thread.
|
||||
2. task name: Only an name, no practical effect.
|
||||
3. task policy: Default policy for projects under this task, this field is required and the specified policy must defined in policylist.
|
||||
4. task filter: Default filefilter for projects under this task, this field is required and the specified filefilter must defined in filefilterlist.
|
||||
5. task project: Projects to be checked, the path field define the source root dir of the project.
|
||||
|
||||
|
||||
policyList:
|
||||
1. policy: All policyitems will be merged to default OAT.xml rules, the name of policy doesn't affect OAT check process.
|
||||
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(support projectroot in default OAT.xml), 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.
|
||||
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:
|
||||
" == >
|
||||
& == >
|
||||
' == >
|
||||
< == >
|
||||
> == >
|
||||
-->
|
||||
<configuration>
|
||||
<oatconfig>
|
||||
<licensefile>COPYING</licensefile>
|
||||
<policylist>
|
||||
<policy name="projectPolicy" desc="open SLES source code">
|
||||
<policyitem type="copyright" name="The Khronos Group Inc" path="api/1.0/OpenSLES.h" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Open SLES raw file"/>
|
||||
<policyitem type="copyright" name="The Khronos Group Inc" path="api/1.0/OpenSLES_IID.c" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Open SLES raw file"/>
|
||||
<policyitem type="copyright" name="The Khronos Group Inc" path="api/1.0/OpenSLES_Platform.h" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Open SLES raw file"/>
|
||||
<policyitem type="copyright" name="The Khronos Group Inc" path="api/1.0.1/OpenSLES.h" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Open SLES raw file"/>
|
||||
<policyitem type="copyright" name="The Khronos Group Inc" path="api/1.0.1/OpenSLES_IID.c" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Open SLES raw file"/>
|
||||
<policyitem type="copyright" name="The Khronos Group Inc" path="api/1.0.1/OpenSLES_Platform.h" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Open SLES raw file"/>
|
||||
<policyitem type="copyright" name="The Khronos Group Inc" path="api/1.1/OpenSLES.h" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Open SLES raw file"/>
|
||||
<policyitem type="copyright" name="The Khronos Group Inc" path="api/1.1/OpenSLES_IID.c" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Open SLES raw file"/>
|
||||
<policyitem type="copyright" name="The Khronos Group Inc" path="api/1.1/OpenSLES_Platform.h" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Open SLES raw file"/>
|
||||
|
||||
<policyitem type="license" name="*" path="api/1.0/OpenSLES.h" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="Open SLES raw file"/>
|
||||
<policyitem type="license" name="*" path="api/1.0/OpenSLES_IID.c" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="Open SLES raw file"/>
|
||||
<policyitem type="license" name="*" path="api/1.0/OpenSLES_Platform.h" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="Open SLES raw file"/>
|
||||
<policyitem type="license" name="*" path="api/1.0.1/OpenSLES.h" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="Open SLES raw file"/>
|
||||
<policyitem type="license" name="*" path="api/1.0.1/OpenSLES_IID.c" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="Open SLES raw file"/>
|
||||
<policyitem type="license" name="*" path="api/1.0.1/OpenSLES_Platform.h" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="Open SLES raw file"/>
|
||||
<policyitem type="license" name="*" path="api/1.1/OpenSLES.h" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="Open SLES raw file"/>
|
||||
<policyitem type="license" name="*" path="api/1.1/OpenSLES_IID.c" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="Open SLES raw file"/>
|
||||
<policyitem type="license" name="*" path="api/1.1/OpenSLES_Platform.h" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="Open SLES raw file"/>
|
||||
</policy>
|
||||
</policylist>
|
||||
<filefilterlist>
|
||||
<filefilter name="defaultPolicyFilter" desc="Filters for compatibility, license header policies">
|
||||
<filteritem type="filename" name="NOTICE" desc="Open SLES 官方自带License文件,遵循开源软件许可声明"/>
|
||||
</filefilter>
|
||||
<filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
|
||||
<filteritem type="filepath" name="specs/OpenSL_ES_Specification_1.0.1.pdf" desc="Open SLES 的官方指导文档,遵循开源软件许可声明"/>
|
||||
<filteritem type="filepath" name="specs/OpenSL_ES_Specification_1.0.pdf" desc="Open SLES 的官方指导文档,遵循开源软件许可声明"/>
|
||||
<filteritem type="filepath" name="specs/OpenSL_ES_Specification_1.1.pdf" desc="Open SLES 的官方指导文档,遵循开源软件许可声明"/>
|
||||
</filefilter>
|
||||
</filefilterlist>
|
||||
|
||||
</oatconfig>
|
||||
</configuration>
|
96
third_party/zlib/OAT.xml
vendored
96
third_party/zlib/OAT.xml
vendored
@ -1,96 +0,0 @@
|
||||
<?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.
|
||||
|
||||
Notes:
|
||||
This is project config file for OpenHarmony OSS Audit Tool, if you have any questions or concerns, please email chenyaxun.
|
||||
-->
|
||||
<!-- OAT(OSS Audit Tool) configuration guide:
|
||||
basedir: Root dir, the basedir + project path is the real source file location.
|
||||
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.
|
||||
|
||||
tasklist(only for batch mode):
|
||||
1. task: Define oat check thread, each task will start a new thread.
|
||||
2. task name: Only an name, no practical effect.
|
||||
3. task policy: Default policy for projects under this task, this field is required and the specified policy must defined in policylist.
|
||||
4. task filter: Default filefilter for projects under this task, this field is required and the specified filefilter must defined in filefilterlist.
|
||||
5. task project: Projects to be checked, the path field define the source root dir of the project.
|
||||
|
||||
|
||||
policyList:
|
||||
1. policy: All policyitems will be merged to default OAT.xml rules, the name of policy doesn't affect OAT check process.
|
||||
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(support projectroot in default OAT.xml), 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.
|
||||
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:
|
||||
" == >
|
||||
& == >
|
||||
' == >
|
||||
< == >
|
||||
> == >
|
||||
-->
|
||||
<configuration>
|
||||
<oatconfig>
|
||||
<licensefile>LICENSE</licensefile>
|
||||
<policylist>
|
||||
<policy name="projectPolicy" desc="">
|
||||
<policyitem type="compatibility" name="zlib-acknowledgement" path=".*" desc="兼容license"/>
|
||||
</policy>
|
||||
</policylist>
|
||||
<licensematcherlist>
|
||||
<licensematcher name="zlib-acknowledgement" desc="If the scanning result is InvalidLicense, you can define matching rules here. Note that quotation marks must be escaped.">
|
||||
<licensetext name="
|
||||
Permission is granted to anyone to use this software for any purpose
|
||||
" desc=""/>
|
||||
<licensetext name="
|
||||
For conditions of distribution and use, see copyright notice in zlib.h
|
||||
" desc=""/>
|
||||
<licensetext name="
|
||||
For more info read MiniZip_info.txt
|
||||
" desc=""/>
|
||||
<licensetext name="
|
||||
This code is a modified version of crypting code in Infozip distribution
|
||||
" desc=""/>
|
||||
</licensematcher>
|
||||
</licensematcherlist>
|
||||
<filefilterlist>
|
||||
<filefilter name="defaultFilter" desc="Files not to check">
|
||||
<filteritem type="filepath" name="contrib/ada " desc="not used in ohos "/>
|
||||
<filteritem type="filepath" name="contrib/pascal " desc="not used in ohos "/>
|
||||
<filteritem type="filepath" name="contrib/puff " desc="not used in ohos "/>
|
||||
<filteritem type="filepath" name="contrib/blast " desc="not used in ohos "/>
|
||||
<filteritem type="filepath" name="contrib/gcc_gvmat64 " desc="not used in ohos "/>
|
||||
<filteritem type="filepath" name="contrib/iostream2 " desc="not used in ohos "/>
|
||||
<filteritem type="filepath" name="examples " desc="not used in ohos "/>
|
||||
<filteritem type="filepath" name="contrib/dotzlib " desc="not used in ohos "/>
|
||||
<filteritem type="filepath" name="FAQ " desc="not used in ohos "/>
|
||||
<filteritem type="filename" name="*.pdf" desc="not used in ohos "/>
|
||||
</filefilter>
|
||||
</filefilterlist>
|
||||
</oatconfig>
|
||||
</configuration>
|
Loading…
Reference in New Issue
Block a user