1dc728923Sopenharmony_ci<?xml version="1.0" encoding="UTF-8"?>
2dc728923Sopenharmony_ci<!-- Copyright (c) 2021 Huawei Device Co., Ltd.
3dc728923Sopenharmony_ci
4dc728923Sopenharmony_ci     Licensed under the Apache License, Version 2.0 (the "License");
5dc728923Sopenharmony_ci     you may not use this file except in compliance with the License.
6dc728923Sopenharmony_ci     You may obtain a copy of the License at
7dc728923Sopenharmony_ci
8dc728923Sopenharmony_ci          http://www.apache.org/licenses/LICENSE-2.0
9dc728923Sopenharmony_ci
10dc728923Sopenharmony_ci     Unless required by applicable law or agreed to in writing, software
11dc728923Sopenharmony_ci     distributed under the License is distributed on an "AS IS" BASIS,
12dc728923Sopenharmony_ci     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13dc728923Sopenharmony_ci     See the License for the specific language governing permissions and
14dc728923Sopenharmony_ci     limitations under the License.
15dc728923Sopenharmony_ci
16dc728923Sopenharmony_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.
17dc728923Sopenharmony_ci
18dc728923Sopenharmony_ci-->
19dc728923Sopenharmony_ci
20dc728923Sopenharmony_ci<configuration>
21dc728923Sopenharmony_ci    <oatconfig>
22dc728923Sopenharmony_ci        <licensefile>NOTICE</licensefile>
23dc728923Sopenharmony_ci        <policylist>
24dc728923Sopenharmony_ci            <policy name="projectPolicy" desc="">
25dc728923Sopenharmony_ci                <policyitem type="compatibility" name="GPL-2.0+" path=".*" desc="Compile tool not runs target, running on host build environment only."/>
26dc728923Sopenharmony_ci                <policyitem type="compatibility" name="LGPLStyleLicense" path=".*" desc="Compile tool not runs target, running on host build environment only."/>
27dc728923Sopenharmony_ci                <policyitem type="compatibility" name="GPLStyleLicense" path=".*" desc="Compile tool not runs target, running on host build environment only."/>
28dc728923Sopenharmony_ci                <policyitem type="compatibility" name="LGPL-2.0+" path=".*" desc="Compile tool not runs target, running on host build environment only."/>
29dc728923Sopenharmony_ci                <policyitem type="compatibility" name="BSDStyleLicense|LGPLStyleLicense" path=".*" desc="Compile tool not runs target, running on host build environment only."/>
30dc728923Sopenharmony_ci                <policyitem type="compatibility" name="InvalidLicense" path=".*" desc="Compile tool not runs target, running on host build environment only."/>
31dc728923Sopenharmony_ci                <policyitem type="compatibility" name="GPL-2.0-or-later" path=".*" desc="Compile tool not runs target, running on host build environment only."/>
32dc728923Sopenharmony_ci                <policyitem type="compatibility" name="LGPL-2.1" path=".*" desc="Compile tool not runs target, running on host build environment only."/>
33dc728923Sopenharmony_ci                <policyitem type="compatibility" name="Latex2e" path=".*" desc="It's not a license, OAT tools check error."/>
34dc728923Sopenharmony_ci            </policy>
35dc728923Sopenharmony_ci        </policylist>
36dc728923Sopenharmony_ci        <filefilterlist>
37dc728923Sopenharmony_ci            <filefilterlist>
38dc728923Sopenharmony_ci            <filefilter name="defaultFilter" desc="Files not to check">
39dc728923Sopenharmony_ci                <filteritem type="filename" name="*.gmo|*.bz2|*.gz|*.po|*.so|*.xz" desc="original files"/>
40dc728923Sopenharmony_ci                <filteritem type="filename" name="e2fsprogs.spec"/>
41dc728923Sopenharmony_ci                <filteritem type="filename" name="install.sh"/>
42dc728923Sopenharmony_ci                <filteritem type="filepath" name="prebuilt/target/bin/.*" desc="original bins"/>
43dc728923Sopenharmony_ci                <filteritem type="filepath" name="prebuilt/target/lib/.*" desc="original bins"/>
44dc728923Sopenharmony_ci                <filteritem type="filepath" name="prebuilt/host/bin/.*" desc="original bins"/>
45dc728923Sopenharmony_ci                <filteritem type="filepath" name="tests/.*" desc="original bins"/>
46dc728923Sopenharmony_ci                <filteritem type="filepath" name="./.*" desc="original bins"/>
47dc728923Sopenharmony_ci            </filefilter>
48dc728923Sopenharmony_ci            <filefilter name="binartFileTypePolicyFilter" desc="Filters for binary file polices">
49dc728923Sopenharmony_ci                <filteritem type="filepath" name="dir name underproject/.*" desc="original bins"/>
50dc728923Sopenharmony_ci                <filteritem type="filepath" name="prebuilt/target/lib/.*" desc="original bins"/>
51dc728923Sopenharmony_ci                <filteritem type="filepath" name="prebuilt/host/bin/.*" desc="original bins"/>
52dc728923Sopenharmony_ci                <filteritem type="filepath" name="./.*" desc="original bins"/>
53dc728923Sopenharmony_ci            </filefilter>
54dc728923Sopenharmony_ci            </filefilterlist>
55dc728923Sopenharmony_ci        </filefilterlist>
56dc728923Sopenharmony_ci    </oatconfig>
57dc728923Sopenharmony_ci</configuration>
58