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