1a8c51b3fSopenharmony_ci<?xml version="1.0" encoding="UTF-8"?>
2a8c51b3fSopenharmony_ci<!-- Copyright (c) 2021 Huawei Device Co., Ltd.
3a8c51b3fSopenharmony_ci
4a8c51b3fSopenharmony_ci     Licensed under the Apache License, Version 2.0 (the "License");
5a8c51b3fSopenharmony_ci     you may not use this file except in compliance with the License.
6a8c51b3fSopenharmony_ci     You may obtain a copy of the License at
7a8c51b3fSopenharmony_ci
8a8c51b3fSopenharmony_ci          http://www.apache.org/licenses/LICENSE-2.0
9a8c51b3fSopenharmony_ci
10a8c51b3fSopenharmony_ci     Unless required by applicable law or agreed to in writing, software
11a8c51b3fSopenharmony_ci     distributed under the License is distributed on an "AS IS" BASIS,
12a8c51b3fSopenharmony_ci     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13a8c51b3fSopenharmony_ci     See the License for the specific language governing permissions and
14a8c51b3fSopenharmony_ci     limitations under the License.
15a8c51b3fSopenharmony_ci
16a8c51b3fSopenharmony_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.
17a8c51b3fSopenharmony_ci
18a8c51b3fSopenharmony_ci-->
19a8c51b3fSopenharmony_ci
20a8c51b3fSopenharmony_ci<configuration>
21a8c51b3fSopenharmony_ci    <oatconfig>
22a8c51b3fSopenharmony_ci        <licensefile></licensefile>
23a8c51b3fSopenharmony_ci        <policylist>
24a8c51b3fSopenharmony_ci            <policy name="projectPolicy" desc="">
25a8c51b3fSopenharmony_ci                <!--policyitem type="compatibility" name="GPL-2.0+" path="abc/.*" desc="Process that runs independently, invoked by the X process."/-->
26a8c51b3fSopenharmony_ci                <!--policyitem type="license" name="LGPL" path="abc/.*" desc="Dynamically linked by module X"/-->
27a8c51b3fSopenharmony_ci                <!--policyitem type="copyright" name="xxx" path="abc/.*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Developed by X Company"/-->
28a8c51b3fSopenharmony_ci            </policy>
29a8c51b3fSopenharmony_ci        </policylist>
30a8c51b3fSopenharmony_ci        <filefilterlist>
31a8c51b3fSopenharmony_ci            <filefilter name="defaultFilter" desc="Files not to check">
32a8c51b3fSopenharmony_ci                <filteritem type="filename" name=".travis-libcxx-setup.sh|BUILD.bazel" desc="files are used for build by cmake, do not use them"/>
33a8c51b3fSopenharmony_ci                <filteritem type="filename" name="CONTRIBUTORS" desc="contributors of opensource product, do not use it"/>
34a8c51b3fSopenharmony_ci                <filteritem type="filename" name="WORKSPACE" desc="This file can not declare copyright"/>
35a8c51b3fSopenharmony_ci                <filteritem type="filename" name="AUTHORS" desc="This file can not declare copyright"/>
36a8c51b3fSopenharmony_ci                <filteritem type="filepath" name="src/.*" desc="sources files"/>
37a8c51b3fSopenharmony_ci                <filteritem type="filepath" name="test/.*" desc="test files"/>
38a8c51b3fSopenharmony_ci                <filteritem type="filepath" name="cmake/.*" desc="sources files"/>
39a8c51b3fSopenharmony_ci                <filteritem type="filepath" name="bindings/python/.*" desc="This file can not declare copyright"/>
40a8c51b3fSopenharmony_ci                <filteritem type="filepath" name="bindings/python/google_benchmark/.*" desc="This file can not declare copyright"/>
41a8c51b3fSopenharmony_ci                <filteritem type="filepath" name="include/benchmark/.*" desc="This file can not declare copyright"/>
42a8c51b3fSopenharmony_ci                <filteritem type="filename" name="test/BUILD" desc="This file can not declare copyright"/>
43a8c51b3fSopenharmony_ci                <filteritem type="filename" name="bindings/python/BUILD" desc="This file can not declare copyright"/>
44a8c51b3fSopenharmony_ci                <filteritem type="filename" name="bindings/python/google_benchamrk/BUILD" desc="This file can not declare copyright"/> 
45a8c51b3fSopenharmony_ci            </filefilter>
46a8c51b3fSopenharmony_ci            <filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies">
47a8c51b3fSopenharmony_ci            </filefilter>
48a8c51b3fSopenharmony_ci            <filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies">
49a8c51b3fSopenharmony_ci            </filefilter>
50a8c51b3fSopenharmony_ci            <filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies">
51a8c51b3fSopenharmony_ci            </filefilter>
52a8c51b3fSopenharmony_ci            <filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies">
53a8c51b3fSopenharmony_ci            </filefilter>
54a8c51b3fSopenharmony_ci            <filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies">
55a8c51b3fSopenharmony_ci            </filefilter>
56a8c51b3fSopenharmony_ci            <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
57a8c51b3fSopenharmony_ci            </filefilter>
58a8c51b3fSopenharmony_ci
59a8c51b3fSopenharmony_ci        </filefilterlist>
60a8c51b3fSopenharmony_ci        <licensematcherlist>
61a8c51b3fSopenharmony_ci            <!--licensematcher name="uvwxyz License" desc="If the scanning result is InvalidLicense, you can define matching rules here. Note that quotation marks must be escaped.">
62a8c51b3fSopenharmony_ci                <licensetext name="
63a8c51b3fSopenharmony_ci                    uvwxyz license textA xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
64a8c51b3fSopenharmony_ci				 " desc=""/>
65a8c51b3fSopenharmony_ci                <licensetext name="
66a8c51b3fSopenharmony_ci                    uvwxyz license textB xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
67a8c51b3fSopenharmony_ci				 " desc=""/>
68a8c51b3fSopenharmony_ci            </licensematcher-->
69a8c51b3fSopenharmony_ci        </licensematcherlist>
70a8c51b3fSopenharmony_ci    </oatconfig>
71a8c51b3fSopenharmony_ci</configuration>
72