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="compatibility" name="GPL-2.0+" path="abc/.*" desc="Process that runs independently, invoked by the X process."/--> 26 <!--policyitem type="license" name="LGPL" path="abc/.*" desc="Dynamically linked by module X"/--> 27 <!--policyitem type="copyright" name="xxx" path="abc/.*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc="Developed by X Company"/--> 28 </policy> 29 </policylist> 30 <filefilterlist> 31 <filefilter name="defaultFilter" desc="Files not to check"> 32 </filefilter> 33 <filefilter name="defaultPolicyFilter" desc="Filters for compatibility,license header policies"> 34 </filefilter> 35 <filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies"> 36 </filefilter> 37 <filefilter name="licenseFileNamePolicyFilter" desc="Filters for LICENSE file policies"> 38 </filefilter> 39 <filefilter name="readmeFileNamePolicyFilter" desc="Filters for README file policies"> 40 </filefilter> 41 <filefilter name="readmeOpenSourcefileNamePolicyFilter" desc="Filters for README.OpenSource file policies"> 42 </filefilter> 43 <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies"> 44 <filteritem type="filename" name="UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf" desc="third party unity pdf file"/> 45 </filefilter> 46 </filefilterlist> 47 <licensematcherlist> 48 </licensematcherlist> 49 </oatconfig> 50</configuration>