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<configuration> 17 <oatconfig> 18 <licensefile></licensefile> 19 <policylist> 20 <policy name="projectPolicy" desc="openssl source code"> 21 <policyitem type="compatibility" name="OpenSSL" path=".*" desc="OpenSSL license"/> 22 <policyitem type="compatibility" name="GPL-2.0+" path="external/perl/Text-Template-1.46/.*" desc="BSD-like with advertising clause or GNU GPL v2 or later"/> 23 <policyitem type="compatibility" name="LGPLStyleLicense" path="crypto/.*" desc="Compile tool not runs target, running on host build environment only."/> 24 <policyitem type="compatibility" name="GPLStyleLicense" path="crypto/.*" desc="Compile tool not runs target, running on host build environment only."/> 25 <policyitem type="compatibility" name="OpenSSL|LGPLStyleLicense" path="crypto/.*" desc="Compile tool not runs target, running on host build environment only."/> 26 <policyitem type="compatibility" name="OpenSSL|GPLStyleLicense" path="crypto/.*" desc="Compile tool not runs target, running on host build environment only."/> 27 <policyitem type="compatibility" name="Artistic-1.0-Perl" path="external/perl/Text-Template-1.46/.*" desc="Compile tool not runs target, running on host build environment only."/> 28 <policyitem type="compatibility" name="InvalidLicense" path="external/perl/Text-Template-1.46/lib/Text/Template.pm" desc="release file,not need license declare"/> 29 <policyitem type="compatibility" name="InvalidLicense" path="NOTES.PERL" desc="release file,not need license declare"/> 30 <policyitem type="compatibility" name="InvalidLicense" path="external/perl/Text-Template-1.56/Changes" desc="release file,not need license declare"/> 31 <policyitem type="compatibility" name="GPL-1.0+" path="external/perl/Text-Template-1.56/LICENSE" desc="Compile tool not runs target, running on host build environment only."/> 32 <policyitem type="compatibility" name="InvalidLicense" path="external/perl/Text-Template-1.56/lib/Text/Template.pm" desc="release file,not need license declare"/> 33 </policy> 34 </policylist> 35 <filefilterlist> 36 <filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies"> 37 <filteritem type="filepath" name=".*" desc="test or certification binary."/> 38 </filefilter> 39 </filefilterlist> 40 </oatconfig> 41</configuration> 42