13b921b29Sopenharmony_ci<?xml version="1.0" encoding="UTF-8"?>
23b921b29Sopenharmony_ci<!-- Copyright (c) 2022 Huawei Device Co., Ltd.
33b921b29Sopenharmony_ci
43b921b29Sopenharmony_ci     Licensed under the Apache License, Version 2.0 (the "License");
53b921b29Sopenharmony_ci     you may not use this file except in compliance with the License.
63b921b29Sopenharmony_ci     You may obtain a copy of the License at
73b921b29Sopenharmony_ci
83b921b29Sopenharmony_ci          http://www.apache.org/licenses/LICENSE-2.0
93b921b29Sopenharmony_ci
103b921b29Sopenharmony_ci     Unless required by applicable law or agreed to in writing, software
113b921b29Sopenharmony_ci     distributed under the License is distributed on an "AS IS" BASIS,
123b921b29Sopenharmony_ci     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
133b921b29Sopenharmony_ci     See the License for the specific language governing permissions and
143b921b29Sopenharmony_ci     limitations under the License.
153b921b29Sopenharmony_ci
163b921b29Sopenharmony_ci    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.
173b921b29Sopenharmony_ci
183b921b29Sopenharmony_ci-->
193b921b29Sopenharmony_ci
203b921b29Sopenharmony_ci<configuration>
213b921b29Sopenharmony_ci    <oatconfig>
223b921b29Sopenharmony_ci        <licensefile>LICENSE.md</licensefile>
233b921b29Sopenharmony_ci        <policylist>
243b921b29Sopenharmony_ci            <policy name="projectPolicy" desc="">
253b921b29Sopenharmony_ci                <policyitem type="license" name="*" path=".*" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc=""/>
263b921b29Sopenharmony_ci                <policyitem type="copyright" name="*" path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc=""/>
273b921b29Sopenharmony_ci                <policyitem type="compatibility" name="Libjpeg License (JPEG License)" path="*.*" desc="libjpeg license"/>
283b921b29Sopenharmony_ci                <policyitem type="compatibility" name="BSD-3-Clause" path="*.*" desc="BSD-3-Clause"/>
293b921b29Sopenharmony_ci                <policyitem type="compatibility" name="zlib-acknowledgement" path="*.*" desc="zlib"/>
303b921b29Sopenharmony_ci                <policyitem type="compatibility" name="Apache-2.0" path="*.*" desc="ninja build configs"/>
313b921b29Sopenharmony_ci            </policy>
323b921b29Sopenharmony_ci        </policylist>
333b921b29Sopenharmony_ci        <filefilterlist>
343b921b29Sopenharmony_ci            <filefilter name="defaultFilter" desc="Files not to check">
353b921b29Sopenharmony_ci                <filteritem type="filename" name="README.ijg" desc="license statement"/>
363b921b29Sopenharmony_ci                <filteritem type="filepath" name="release/*" desc="release notes and license statement"/>
373b921b29Sopenharmony_ci                <filteritem type="filepath" name="md5/*" desc="md5 tools for test"/>
383b921b29Sopenharmony_ci                <filteritem type="filepath" name="doc/*" desc="docs"/>
393b921b29Sopenharmony_ci                <filteritem type="filepath" name="testimages/*" desc="tests"/>
403b921b29Sopenharmony_ci                <filteritem type="filepath" name="ci/*" desc="ci config"/>
413b921b29Sopenharmony_ci                <filteritem type="filepath" name="java/doc/*" desc="docs"/>
423b921b29Sopenharmony_ci                <filteritem type="filename" name="*.json" desc=""/>
433b921b29Sopenharmony_ci                <filteritem type="filepath" name="dir name underproject/.*.uvwxyz" desc="Describe the reason for filtering scan results"/>
443b921b29Sopenharmony_ci                <filteritem type="filepath" name="projectroot/[a-zA-Z0-9]{20,}.sh" desc="Temp files"/>
453b921b29Sopenharmony_ci                <filteritem type="filename" name="*.tar.gz" desc="zip package"/>
463b921b29Sopenharmony_ci                <filteritem type="filename" name="*.spec" desc="configuration specification file"/>
473b921b29Sopenharmony_ci            </filefilter>
483b921b29Sopenharmony_ci            <filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies">
493b921b29Sopenharmony_ci            </filefilter>
503b921b29Sopenharmony_ci            <filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies">
513b921b29Sopenharmony_ci            </filefilter>
523b921b29Sopenharmony_ci            <filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies">
533b921b29Sopenharmony_ci            </filefilter>
543b921b29Sopenharmony_ci            <filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies">
553b921b29Sopenharmony_ci            </filefilter>
563b921b29Sopenharmony_ci            <filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies">
573b921b29Sopenharmony_ci            </filefilter>
583b921b29Sopenharmony_ci            <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
593b921b29Sopenharmony_ci            </filefilter>
603b921b29Sopenharmony_ci
613b921b29Sopenharmony_ci        </filefilterlist>
623b921b29Sopenharmony_ci        <licensematcherlist>
633b921b29Sopenharmony_ci            <licensematcher name="Libjpeg License (JPEG License)" desc="libjpeg license header.">
643b921b29Sopenharmony_ci                <licensetext name="part of the Independent JPEG Group's software" desc=""/>
653b921b29Sopenharmony_ci                <licensetext name="x86 SIMD extension for IJG JPEG library" desc=""/>
663b921b29Sopenharmony_ci                <licensetext name="For conditions of distribution and use, see the accompanying README.ijg" desc=""/>
673b921b29Sopenharmony_ci            </licensematcher>Based on the x86 SIMD extension for IJG JPEG library
683b921b29Sopenharmony_ci        </licensematcherlist>
693b921b29Sopenharmony_ci    </oatconfig>
703b921b29Sopenharmony_ci</configuration>