!15 许可证规则配置在projectPolicy

Merge pull request !15 from sqwlly/OAT
This commit is contained in:
openharmony_ci 2022-12-19 11:43:15 +00:00 committed by Gitee
commit 3797c99930
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

28
OAT.xml
View File

@ -59,15 +59,35 @@ Note:If the text contains special characters, please escape them according to th
<licensefile></licensefile>
<policylist>
<policy name="projectPolicy" desc="">
<policyitem type="compatibility" name="InvalidLicense" path="src/dlmalloc.c" rule="may" group="defaultGroup" desc="The files involved in compilation are the InvalidLicense protocol.They are used in dynamic link mode."/>
<policyitem type="compatibility" name="MIT" path=".*" rule="may" group="defaultGroup" desc="The files involved in compilation are the MIT protocol.They are used in dynamic link mode."/>
<policyitem type="compatibility" name="GPL" path=".*" rule="may" group="defaultGroup" desc="The files involved in compilation are the GPL protocol.They are used in dynamic link mode."/>
<policyitem type="compatibility" name="GPL-3.0-or-later" path=".*" rule="may" group="defaultGroup" desc="The files involved in compilation are the GPL-3.0-or-later protocol.They are used in dynamic link mode."/>
<policyitem type="compatibility" name="GPL-2.0" path=".*" rule="may" group="defaultGroup" desc="The files involved in compilation are the GPL-2.0 protocol.They are used in dynamic link mode."/>
<policyitem type="copyright" name="*" path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Copyright Header Invalid"/>
<policyitem type="license" name="*" path=".*" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc="License Header Invalid"/>
</policy>
</policylist>
<filefilterlist>
<filefilter name="defaultPolicyFilter" desc="Filters for compatibilitylicense header policies">
<filteritem type="filepath" name=".*" desc="The files involved in compilation are the MIT protocol.They are used in dynamic link mode."/>
<filefilter name="defaultPolicyFilter" desc="Filters for files not used">
<filteritem type="filepath" name="README.OpenSource" desc="README.OpenSource"/>
<filteritem type="filepath" name="testsuite/.*" desc="testsuite not used"/>
<filteritem type="filepath" name="doc/.*" desc="doc not used"/>
<filteritem type="filepath" name="m4/.*" desc="m4 tools not used"/>
<filteritem type="filepath" name="Makefile.am" desc="Makefile.am not used"/>
<filteritem type="filepath" name="ChangeLog.old" desc="changeLog.old not used"/>
<filteritem type="filepath" name="msvcc.sh" desc="sh tools not used"/>
</filefilter>
<filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
<filteritem type="filepath" name=".*" desc="Resource, config and certification binary."/>
<filteritem type="filepath" name="doc/.*" desc="Binary files."/>
<filteritem type="filepath" name="include/.*" desc="Binary files."/>
<filteritem type="filepath" name="libffi.xcodeproj/.*" desc="Binary files."/>
<filteritem type="filepath" name="m4/.*" desc="Binary files."/>
<filteritem type="filepath" name="man/.*" desc="Binary files."/>
<filteritem type="filepath" name="msvc_build/.*" desc="Binary files."/>
<filteritem type="filepath" name="src/.*" desc="Binary files."/>
<filteritem type="filepath" name="testsuite/.*" desc="Binary files."/>
</filefilter>
</filefilterlist>
</oatconfig>
</configuration>
</configuration>