1<?xml version="1.0" encoding="UTF-8"?> 2<!-- Copyright (c) 2022 Huawei Device Co., Ltd. 3 4 This library is free software; you can redistribute it and/or modify 5 it under the terms of the GNU Lesser General Public License as 6 published by the Free Software Foundation; either version 2.1 of 7 the License, or (at your option) any later version. 8 9 This library is distributed in the hope that it will be useful, 10 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 GNU Lesser General Public License for more details. 13 14 You should have received a copy of the GNU Lesser General Public 15 License along with this library; if not, write to the Free Software 16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 18 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. 19 20--> 21<configuration> 22 <oatconfig> 23 <licensefile>COPYING</licensefile> 24 <policylist> 25 <policy name="projectPolicy" desc=""> 26 <policyitem type="compatibility" name="GPLStyleLicense" path=".*" desc="Compile tool not runs target,running on host build environment only."/> 27 <policyitem type="compatibility" name="GPL-2.0-or-later" path=".*" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" 28 desc="Compile tool not runs target,running on host build environment only."/> 29 </policy> 30 </policylist> 31 32 33 <filefilterlist> 34 <filefilter name="defaultFilter" desc="Files not to check"> 35 <filteritem type="filename" name="*.spec" desc="spec file,can not add license head"/> 36 <filteritem type="filepath" name="man/io_uring_submit_and_get_events.3" desc="config file,can not add license head"/> 37 <filteritem type="filepath" name="debian/copyright" desc="copyright file,can not add license head"/> 38 <filteritem type="filepath" name="install.sh" desc="compile build scripts, use Apache-2.0 license which is incompatible with GPL-2.0 license"/> 39 </filefilter> 40 <filefilter name="defaultFilter" desc="Filters for compatibility,license header policies"> 41 <filteritem type="filename" name="COPYING"/> 42 </filefilter> 43 </filefilterlist> 44 </oatconfig> 45</configuration> 46