• 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></licensefile>
23        <policylist>
24            <policy name="projectPolicy" desc="">
25                <policyitem type="copyright" name="Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved." path=".*" desc="original bestechnic copyright"/>
26                <policyitem type="copyright" name="Copyright (c) 2013-2018 Arm Limited. All rights reserved." path=".*" desc="original bestechnic copyright"/>
27                <policyitem type="copyright" name="Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved." path=".*" desc="bestechnic use Huawei copyright"/>
28                <policyitem type="copyright" name="Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved." path=".*" desc="bestechnic use Huawei copyright"/>
29                <policyitem type="license" name="Apache" path=".*" desc="bestechnic use apache 2.0 license"/>
30                <policyitem type="license" name="BSD-3-Clause" path=".*" desc="bestechnic use BSD-3-Clause license"/>
31                <policyitem type="license" name="MIT" path=".*" desc="bestechnic use MIT license"/>
32            </policy>
33        </policylist>
34        <filefilterlist>
35            <filefilter name="defaultFilter" desc="bestechnic flashing tools">
36                <filteritem type="filepath" name="bes2600/pack_tools" desc="bestechnic flashing tools"/>
37                <filteritem type="filepath" name="bes2600/liteos_m/sdk/bsp/tools/mklittlefs" desc="bestechnic use littlefs image making tools"/>
38                <filteritem type="filepath" name="bes2600/liteos_m/sdk/bsp/out/LICENSE" desc="bestechnic bin LICENSE"/>
39                <filteritem type="filepath" name="bes2600/liteos_m/sdk/LICENSE" desc="bestechnic LICENSE"/>
40            </filefilter>
41            <filefilter name="defaultFilter" desc="bestechnic using MIT files, but invalid copyright">
42                <filteritem type="filepath" name="bes2600/liteos_m/components/utils/src/printf.c" desc="bestechnic using MIT files, but invalid copyright"/>
43                <filteritem type="filepath" name="bes2600/liteos_m/components/utils/include/printf.h" desc="bestechnic using MIT files, but invalid copyright"/>
44            </filefilter>
45            <filefilter name="defaultFilter" desc="ARM Limited appache2">
46                <filteritem type="filepath" name="bes2600/liteos_m/sdk/bsp/platform/cmsis/.*" desc="ARM limits license"/>
47                <filteritem type="filepath" name="bes2600/liteos_m/sdk/bsp/platform/hal/best2003/partition_best2003.h" desc="ARM limits license"/>
48            </filefilter>
49            <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies" >
50                <filteritem type="filename" name="*.a|*.so|*.bin|*.png" desc="Temp files"/>
51            </filefilter>
52        </filefilterlist>
53    </oatconfig>
54</configuration>
55