• 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     Notes:
17     This is project config file for OpenHarmony OSS Audit Tool, if you have any questions or concerns, please email chenyaxun.
18-->
19<!-- OAT(OSS Audit Tool) configuration guide:
20basedir: Root dir, the basedir + project path is the real source file location.
21licensefile:
221.If the project don't have "LICENSE" in root dir, please define all the license files in this project in , OAT will check license files according to this rule.
23
24tasklist(only for batch mode):
251. task: Define oat check thread, each task will start a new thread.
262. task name: Only an name, no practical effect.
273. task policy: Default policy for projects under this task, this field is required and the specified policy must defined in policylist.
284. task filter: Default filefilter for projects under this task, this field is required and the specified filefilter must defined in filefilterlist.
295. task project: Projects to be checked, the path field define the source root dir of the project.
30
31
32policyList:
331. policy: All policyitems will be merged to default OAT.xml rules, the name of policy doesn't affect OAT check process.
342. policyitem: The fields type, name, path, desc is required, and the fields rule, group, filefilter is optional,the default value is:
35<policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter"/>
363. policyitem type:
37    "compatibility" is used to check license compatibility in the specified path;
38    "license" is used to check source license header in the specified path;
39    "copyright" is used to check source copyright header in the specified path;
40    "import" is used to check source dependency in the specified path, such as import ... ,include ...
41    "filetype" is used to check file type in the specified path, supported file types: archive, binary
42    "filename" is used to check whether the specified file exists in the specified path(support projectroot in default OAT.xml), supported file names: LICENSE, README, README.OpenSource
43
444. policyitem name: This field is used for define the license, copyright, "*" means match all, the "!" prefix means could not match this value. For example, "!GPL" means can not use GPL license.
455. policyitem path: This field is used for define the source file scope to apply this policyitem, the "!" prefix means exclude the files. For example, "!.*/lib/.*" means files in lib dir will be exclude while process this policyitem.
466. policyitem rule and group: These two fields are used together to merge policy results. "may" policyitems in the same group means any one in this group passed, the result will be passed.
477. policyitem filefilter: Used to bind filefilter which define filter rules.
488. filefilter: Filter rules, the type filename is used to filter file name, the type filepath is used to filter file path.
49
50Note:If the text contains special characters, please escape them according to the following rules:
51" == &gt;
52& == &gt;
53' == &gt;
54< == &gt;
55> == &gt;
56-->
57<configuration>
58    <oatconfig>
59        <licensefile>engine/flutter/LICENSE|skia/LICENSE</licensefile>
60        <policylist>
61            <policy name="projectPolicy" desc="">
62                <policyitem type="compatibility" name="Unicode-DFS-2016" path="engine/flutter/third_party/icu/.*" desc="ICU License,不影响兼容性"/>
63                <policyitem type="compatibility" name="Unicode-DFS-2016" path="skia/third_party/externals/icu/.*" desc="ICU License,不影响兼容性"/>
64                <policyitem type="compatibility" name="InvalidLicense" path="skia/README.chromium" desc="BSD 3-Clause License,不影响兼容性"/> -->
65                <policyitem type="compatibility" name="Khronos License" path="skia/src/sksl/GLSL.std.450.h" desc="Khronos License,不影响兼容性"/>
66                <policyitem type="compatibility" name="Khronos License" path="skia/src/sksl/spirv.h" desc="Khronos License,不影响兼容性"/>
67                <policyitem type="compatibility" name="FTL" path="skia/third_party/externals/freetype/.*" desc="FTL,BSD-style license, 不影响兼容性"/>
68                <policyitem type="compatibility" name="zlib-acknowledgement" path="skia/third_party/externals/freetype/src/gzip/zlib.h" desc="zlib/libpng License, 不影响兼容性"/>
69                <policyitem type="compatibility" name="FTL" path="skia/third_party/externals/freetype2/.*" desc="FTL,BSD-style license, 不影响兼容性"/>
70                <policyitem type="compatibility" name="FTL" path="skia/third_party/freetype2/.*" desc="FTL,BSD-style license, 不影响兼容性"/>
71                <policyitem type="compatibility" name="zlib-acknowledgement" path="skia/third_party/externals/imgui/examples/libs/.*" desc="zlib/libpng License,不影响兼容性"/>
72                <policyitem type="compatibility" name="zlib-acknowledgement" path="skia/third_party/externals/libjpeg-turbo/.*" desc="zlib/libpng License,不影响兼容性"/>
73                <policyitem type="compatibility" name="Libpng" path="skia/third_party/externals/libpng/.*" desc="zlib/libpng License,不影响兼容性"/>
74                <policyitem type="compatibility" name="zlib-acknowledgement" path="skia/third_party/externals/sdl/.*" desc="zlib/libpng License,不影响兼容性"/>
75                <policyitem type="compatibility" name="Khronos License" path="skia/third_party/externals/opencl-lib/.*" desc="Khronos License,不影响兼容性"/>
76                <policyitem type="compatibility" name="zlib-acknowledgement" path="skia/third_party/externals/sfntly/cpp/src/.*" desc="zlib/libpng License,不影响兼容性"/>
77                <policyitem type="compatibility" name="Khronos License" path="skia/third_party/externals/spirv-headers/.*" desc="Khronos License,不影响兼容性"/>
78                <policyitem type="compatibility" name="MPL-1.1" path="skia/third_party/gif/.*" desc="MPL-1.1 License,不影响兼容性"/>
79                <policyitem type="compatibility" name="zlib-acknowledgement" path="skia/third_party/externals/zlib/.*" desc="zlib/libpng License,不影响兼容性"/>
80                <policyitem type="compatibility" name="The IJG (Independent JPEG Group) License" path=".*" desc="BSD-style licenses,不影响兼容性"/>
81                <policyitem type="compatibility" name="The zlib/libpng License (Zlib)" path=".*" desc="BSD-style licenses,不影响兼容性"/>
82                <policyitem type="compatibility" name="SunPro Attribution License (sunpro)" path=".*" desc="BSD-style licenses,不影响兼容性"/>
83                <policyitem type="compatibility" name="OFL-1.1-no-RFN" path=".*" desc="友好许可证,不影响兼容性"/>
84                <policyitem type="compatibility" name="FSFUL" path=".*" desc="友好许可证,不影响兼容性"/>
85                <policyitem type="compatibility" name="PNG Reference Library License" path=".*" desc="友好许可证,不影响兼容性"/>
86                <policyitem type="compatibility" name="MIT license Old Style with legal disclaimer 2" path=".*" desc="友好许可证,不影响兼容性"/>
87                <policyitem type="compatibility" name="MIT license Old Style with legal disclaimer" path="skia/third_party/externals/harfbuzz/.*" desc="友好许可证,不影响兼容性"/>
88                <policyitem type="compatibility" name="MIT license Old Style (no advertising without permission)" path=".*" desc="友好许可证,不影响兼容性"/>
89                <policyitem type="compatibility" name="ISC License" path=".*" desc="ISC License,BSD-style,不影响兼容性"/>
90
91                <policyitem type="compatibility" name="Unicode-TOU" path="engine/flutter/third_party/icu/.*" desc="ICU License,不影响兼容性"/>
92                <policyitem type="compatibility" name="Unicode-TOU" path="skia/third_party/externals/icu/.*" desc="ICU License,不影响兼容性"/>
93                <policyitem type="compatibility" name="BSDStyleLicense" path="flutter/.*" desc="不影响兼容性"/>
94                <policyitem type="compatibility" name="BSDStyleLicense" path="engine/flutter/.*" desc="不影响兼容性"/>
95                <policyitem type="compatibility" name="BSDStyleLicense" path="skia/.*" desc="不影响兼容性"/>
96                <policyitem type="compatibility" name="BSD-3-Clause" path="engine/flutter/.*" desc="不影响兼容性"/>
97                <policyitem type="compatibility" name="BSD-3-Clause" path="flutter/.*" desc="不影响兼容性"/>
98                <policyitem type="compatibility" name="BSD-3-Clause" path="skia/.*" desc="不影响兼容性"/>
99                <policyitem type="compatibility" name="Apache-2.0" path="flutter/.*" desc="不影响兼容性"/>
100                <policyitem type="compatibility" name="Apache-2.0" path="engine/flutter/.*" desc="不影响兼容性"/>
101                <policyitem type="compatibility" name="Apache-2.0" path="skia/.*" desc="不影响兼容性"/>
102                <policyitem type="compatibility" name="MIT" path="engine/flutter/.*" desc="不影响兼容性"/>
103                <policyitem type="compatibility" name="MIT" path="flutter/.*" desc="不影响兼容性"/>
104                <policyitem type="compatibility" name="MIT" path="skia/.*" desc="不影响兼容性"/>
105                <policyitem type="compatibility" name="MIT-Modern-Variant" path="flutter/.*" desc="不影响兼容性"/>
106                <policyitem type="compatibility" name="MIT-Modern-Variant" path="skia/.*" desc="不影响兼容性"/>
107                <policyitem type="compatibility" name="InvalidLicense" path="skia/.*" desc="不影响兼容性"/>
108                <policyitem type="compatibility" name="zlib-acknowledgement" path="skia/.*" desc="不影响兼容性"/>
109                <policyitem type="compatibility" name="LGPLStyleLicense" path="skia/.*" desc="不影响兼容性"/>
110                <policyitem type="compatibility" name="BSD-2-Clause" path="skia/.*" desc="不影响兼容性"/>
111                <policyitem type="compatibility" name="BSD 2-Clause License" path="skia/.*" desc="不影响兼容性"/>
112                <policyitem type="compatibility" name="BSD 3-Clause License" path="skia/.*" desc="不影响兼容性"/>
113                <policyitem type="compatibility" name="RSA-MD" path="skia/.*" desc="不影响兼容性"/>
114                <policyitem type="compatibility" name="OpenSSL" path="engine/flutter/.*" desc="不影响兼容性"/>
115                <policyitem type="compatibility" name="zlib License" path="glfw/.*" desc="不影响兼容性"/>
116                <policyitem type="compatibility" name="zlib-acknowledgement" path="glfw/.*" desc="不影响兼容性"/>
117
118                <policyitem type="license" name="Unicode-TOU" path="engine/flutter/third_party/icu/.*" filefilter="defaultPolicyFilter" desc="ICU License,不影响兼容性"/>
119                <policyitem type="license" name="Unicode-TOU" path="skia/third_party/externals/icu/.*" filefilter="defaultPolicyFilter" desc="ICU License,不影响兼容性"/>
120                <policyitem type="license" name="BSDStyleLicense" path="engine/flutter/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
121                <policyitem type="license" name="BSDStyleLicense" path="flutter/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
122                <policyitem type="license" name="BSDStyleLicense" path="skia/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
123                <policyitem type="license" name="FTL" path="skia/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
124                <policyitem type="license" name="MIT-Modern-Variant" path="skia/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
125                <policyitem type="license" name="NoLicenseHeader" path="engine/flutter/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
126                <policyitem type="license" name="NoLicenseHeader" path="flutter/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
127                <policyitem type="license" name="NoLicenseHeader" path="skia/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
128                <policyitem type="license" name="BSD-3-Clause" path="flutter/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
129                <policyitem type="license" name="BSD-3-Clause" path="engine/flutter/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
130                <policyitem type="license" name="BSD-3-Clause" path="skia/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
131                <policyitem type="license" name="BSD 3-Clause License" path="skia/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
132                <policyitem type="license" name="BSD-2-Clause" path="skia/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
133                <policyitem type="license" name="BSD 2-Clause License" path="skia/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
134                <policyitem type="license" name="MIT" path="skia/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
135                <policyitem type="license" name="ISC" path="skia/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
136                <policyitem type="license" name="InvalidLicense" path="skia/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
137                <policyitem type="license" name="LGPLStyleLicense" path="skia/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
138                <policyitem type="license" name="zlib-acknowledgement" path="skia/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
139                <policyitem type="license" name="Libpng" path="skia/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
140                <policyitem type="license" name="The zlib/libpng License (Zlib)" path="skia/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
141                <policyitem type="license" name="SunPro Attribution License (sunpro)" path="skia/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
142                <policyitem type="license" name="The IJG (Independent JPEG Group) License" path="skia/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
143                <policyitem type="license" name="Khronos License" path="skia/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
144                <policyitem type="license" name="MIT" path="engine/flutter/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
145                <policyitem type="license" name="OFL-1.1-no-RFN" path="engine/flutter/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
146                <policyitem type="license" name="ApacheStyleLicense" path="engine/flutter/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
147                <policyitem type="license" name="FSFULLR" path="skia/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
148                <policyitem type="license" name="RSA-MD" path="skia/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
149                <policyitem type="license" name="FSFUL" path="skia/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
150                <policyitem type="license" name="Beerware" path="skia/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
151                <policyitem type="license" name="MPL-1.1" path="skia/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
152                <policyitem type="license" name="PNG Reference Library License" path="skia/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
153                <policyitem type="license" name="OpenSSL" path="engine/flutter/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
154                <policyitem type="license" name="Apache-2.0" path="skia/.*" filefilter="defaultPolicyFilter" desc="不影响兼容性"/>
155                <policyitem type="license" name="Apache-2.0" path="flutter/.*" desc="不影响兼容性"/>
156                <policyitem type="license" name="Apache-2.0" path="engine/flutter/.*" desc="不影响兼容性"/>
157            </policy>
158        </policylist>
159        <filefilterlist>
160            <filefilter name="binaryFileTypePolicyFilter" desc="Invalid File Type" >
161                <filteritem type="filepath" name="flutter/.*" desc="二进制不参与编译"/>
162                <filteritem type="filepath" name="skia/.*" desc="二进制不参与编译"/>
163                <filteritem type="filepath" name="engine/flutter/.*" desc="二进制不参与编译"/>
164            </filefilter>
165            <filefilter name="copyrightPolicyFilter" desc="Invalid File Type" >
166                <filteritem type="filepath" name="engine/flutter/.*" desc="flutter软件都包含兼容的许可证"/>
167                <filteritem type="filepath" name="flutter/.*" desc="flutter软件都包含兼容的许可证"/>
168                <filteritem type="filepath" name="skia/.*" desc="flutter软件都包含兼容的许可证"/>
169            </filefilter>
170            <filefilter name="defaultPolicyFilter" desc="compatibility,license文件头校验策略的过滤条件" >
171                <filteritem type="filepath" name="engine/flutter/tools/licenses/data/academic-3.0" desc="该文件未使用,且为tools下说明性质文件不参与打包"/>
172                <filteritem type="filepath" name="engine/flutter/tools/licenses/data/mozilla-2.0" desc="该文件未使用,且为tools下说明性质文件不参与打包"/>
173                <filteritem type="filepath" name="engine/flutter/tools/licenses/data/unicode" desc="该文件未使用,且为tools下说明性质文件不参与打包"/>
174                <filteritem type="filepath" name="engine/flutter/tools/licenses/data/gpl-3.0" desc="文档说明类文件,该文件未使用,且为tools下说明性质文件不参与打包"/>
175                <filteritem type="filepath" name="engine/flutter/tools/licenses/data/gpl-gcc-exception-3.1" desc="文档说明类文件,该文件未使用,且为tools下说明性质文件不参与打包"/>
176                <filteritem type="filepath" name="engine/flutter/tools/licenses/data/lesser-gpl-2.1" desc="文档说明类文件,该文件未使用,且为tools下说明性质文件不参与打包"/>
177                <filteritem type="filepath" name="engine/flutter/tools/licenses/data/library-gpl-2.0" desc="文档说明类文件,该文件未使用,且为tools下说明性质文件不参与打包"/>
178                <filteritem type="filepath" name="engine/flutter/tools/licenses/lib/licenses.dart" desc="BSD-style license,该文件未使用,不参与打包"/>
179                <filteritem type="filepath" name="engine/flutter/Doxyfile" desc="该文件为doc生成工具,该文件未使用"/>
180                <filteritem type="filename" name="NOTICE" desc="NOTICE文件"/>
181                <filteritem type="filepath" name="skia/bin/compare" desc="二进制文件,该文件未使用,未参与打包"/>
182                <filteritem type="filepath" name="skia/third_party/externals/freetype/docs/CHANGES" desc="修改记录文档,该文件未使用,不会参与打包"/>
183                <filteritem type="filepath" name="skia/third_party/externals/freetype/docs/PROBLEMS" desc="问题记录文档,该文件未使用,不会参与打包"/>
184                <filteritem type="filepath" name="skia/third_party/externals/freetype/docs/GPLv2.TXT" desc="三方仓下文档,包含GPL协议,目录用于生成freetype文档"/>
185                <filteritem type="filepath" name="skia/third_party/externals/freetype/docs/LICENSE.TXT" desc="freetype的协议为FTL协议,属于BSD-style协议,不会影响兼容性"/>
186                <filteritem type="filepath" name="skia/third_party/externals/freetype/src/base/md5.h" desc="md5头文件,无许可头声明"/>
187                <filteritem type="filepath" name="skia/infra/skqp/docker/android-skqp/Dockerfile" desc="该文件为三方仓下的dockfile文件,搭环境用的工具,不会参与打包"/>
188                <filteritem type="filepath" name="skia/third_party/externals/freetype/src/pcf/pcfutil.c" desc="该文件未使用,不会参与打包"/>
189                <filteritem type="filepath" name="skia/third_party/externals/libpng/contrib/gregbook/COPYING" desc="包含GPL协议,该目录下文件用于生成libpng的指导文档,未使用"/>
190                <filteritem type="filepath" name="skia/third_party/externals/libpng/contrib/gregbook/LICENSE" desc="包含BDS协议和GPL v2协议,使用任意一个皆可,该目录下文件用于生成libpng的指导文档,未使用"/>
191                <filteritem type="filepath" name="skia/third_party/etc1/README.google" desc="etc下的readme文件,该文件未使用,不会参与打包"/>
192                <filteritem type="filepath" name="skia/third_party/externals/angle2/src/compiler/preprocessor/ExpressionParser.cpp" desc="包含GPL-3.0+协议,该文件未使用,不会参与打包"/>
193                <filteritem type="filepath" name="skia/third_party/externals/angle2/src/compiler/translator/glslang_tab.cpp" desc="包含GPL-3.0+协议,该文件未使用,不会参与打包"/>
194                <filteritem type="filepath" name="skia/third_party/externals/spirv-headers/include/spirv/spir-v.xml" desc="三方代码,MIT协议,xml文件无法写license信息,且该文件不使用"/>
195                <filteritem type="filepath" name="skia/third_party/externals/spirv-tools/CHANGES" desc="changelog文件,该文件不使用,不会参与打包"/>
196                <filteritem type="filepath" name="skia/third_party/externals/wuffs/CONTRIBUTORS" desc="贡献者记录文档,该文件不使用,不会参与打包"/>
197                <filteritem type="filepath" name="skia/third_party/externals/zlib/README.chromium" desc="zlib readme文件不会参与打包"/>
198                <filteritem type="filepath" name="skia/third_party/externals/zlib/contrib/minizip/crypt.h" desc="声明可自由分发,无许可头声明"/>
199                <filteritem type="filepath" name="skia/third_party/externals/sdl/Xcode-iOS/Demos/data/bitmapfont/license.txt" desc="该文件为三方库"/>
200                <filteritem type="filepath" name="skia/third_party/externals/sdl/Xcode/XcodeDocSet/Doxyfile" desc="文档说明类文件,该文件未使用,不参与打包"/>
201                <filteritem type="filepath" name="skia/third_party/externals/sdl/docs/doxyfile" desc="文档说明类文件,该文件未使用,不参与打包"/>
202                <filteritem type="filepath" name="skia/third_party/externals/sdl/visualtest/docs/Doxyfile" desc="文档说明类文件,该文件未使用,不参与打包"/>
203                <filteritem type="filepath" name="skia/third_party/skcms/README.chromium" desc="skcms的README文件"/>
204                <filteritem type="filepath" name="skia/tools/doxygen/mainpage/mainpage.dox" desc="工具类文件,该文件不使用,不会参与打包"/>
205                <filteritem type="filepath" name="skia/tools/doxygen/Doxyfile" desc="文档说明类文件,该文件未使用,不参与打包"/>
206                <filteritem type="filepath" name="skia/tools/sk_app/unix/keysym2ucs.c" desc="工具类文件,该文件不使用,不会参与打包"/>
207                <filteritem type="filepath" name="skia/third_party/externals/libwebp/PATENTS" desc="BSD 3-Clause License,文档类文件"/>
208                <filteritem type="filepath" name="skia/third_party/externals/harfbuzz/test/shaping/data/in-house/COPYING" desc="包含OFL-1.1-no-RFN协议,该文件为文档类文件,不参与打包不影响兼容性"/>
209                <filteritem type="filepath" name="engine/flutter/ci/analyze.sh" desc="三方仓内编译脚本,未写license头,该文件未使用,不参与编译,不影响兼容性"/>
210                <filteritem type="filepath" name="engine/flutter/ci/build.sh" desc="三方仓内编译脚本,未写license头,该文件未使用,不参与编译,不影响兼容性"/>
211                <filteritem type="filepath" name="engine/flutter/ci/licenses_golden/licenses_flutter" desc="三方仓内说明文档类文件,未写license头,该文件未使用,不参与编译,不影响兼容性"/>
212                <filteritem type="filepath" name="engine/flutter/ci/licenses_golden/licenses_fuchsia" desc="三方仓内说明文档类文件,未写license头,该文件未使用,不参与编译,不影响兼容性"/>
213                <filteritem type="filepath" name="engine/flutter/shell/platform/darwin/ios/framework/Flutter.podspec" desc="三方仓内说明文档类文件,未写license头,"/>
214                <filteritem type="filepath" name="engine/flutter/shell/platform/darwin/macos/framework/FlutterMacOS.podspec" desc="三方仓内说明文档类文件,未写license头"/>
215                <filteritem type="filepath" name="engine/flutter/third_party/txt/PATENTS" desc="三方仓内说明文档类文件,未写license头"/>
216                <filteritem type="filepath" name="engine/flutter/tools/licenses/analysis_options.yaml" desc="工具文档类文件,未写license头,该文件未使用,BSD 3-Clause License,不影响兼容性"/>
217                <filteritem type="filepath" name="engine/flutter/tools/licenses/pubspec.yaml" desc="工具文档类文件,未写license头,该文件未使用,BSD 3-Clause License,不影响兼容性"/>
218                <filteritem type="filepath" name="engine/flutter/tools/licenses/data/mozilla-1.1" desc="三方仓内说明文档类文件,未写license头,BSD 3-Clause License,不参与编译,不影响兼容性"/>
219                <filteritem type="filepath" name="flutter/PATENT_GRANT" desc="三方仓内说明文档类文件,未写license头,该文件未使用,BSD 3-Clause License,不影响兼容性"/>
220                <filteritem type="filepath" name="flutter/dev/bots/cirrus_setup.sh" desc="三方仓内编译脚本,未写license头,该文件未使用,BSD 3-Clause License,不影响兼容性"/>
221                <filteritem type="filepath" name="flutter/dev/bots/download_android_sdk.sh" desc="三方仓内编译脚本,未写license头,该文件未使用,BSD 3-Clause License,不影响兼容性"/>
222                <filteritem type="filepath" name="flutter/dev/ci/docker_linux/Dockerfile" desc="三方仓内搭建环境使用dockerfile,未写license头,该文件未使用,BSD 3-Clause License,不影响兼容性"/>
223                <filteritem type="filepath" name="skia/third_party/externals/imgui/imstb_rectpack.h" desc="MIT license 在文件尾,该文件未使用,不参与编译,不影响兼容性"/>
224                <filteritem type="filepath" name="skia/third_party/externals/imgui/imstb_textedit.h" desc="MIT license 在文件尾,该文件未使用,不参与编译,不影响兼容性"/>
225                <filteritem type="filepath" name="skia/third_party/externals/imgui/imstb_truetype.h" desc="MIT license 在文件尾,该文件未使用,不参与编译,不影响兼容性"/>
226                <filteritem type="filepath" name="skia/third_party/externals/dawn/README.chromium" desc="skia的readme文件,该文件未使用,不参与编译,不影响兼容性"/>
227                <filteritem type="filepath" name="skia/third_party/externals/harfbuzz/mingw-ldd.py" desc="三方代码编译脚本,该文件未使用,不参与编译,不影响兼容性"/>
228                <filteritem type="filepath" name="skia/third_party/externals/harfbuzz/test/shaping/texts/in-house/shaper-arabic/script-arabic/language-urdu/crulp/ligatures/LICENSE" desc="无许可头声明,可不修改使用"/>
229                <filteritem type="filepath" name="skia/third_party/externals/harfbuzz/git.mk" desc="三方仓LICENSE文件,该文件未使用,不参与编译,不影响兼容性"/>
230                <filteritem type="filepath" name="skia/third_party/externals/libjpeg-turbo/doc/html/jquery.js" desc="三方仓代码,未写lincense头,该文件未使用,不参与编译,不影响兼容性"/>
231                <filteritem type="filepath" name="skia/third_party/externals/libjpeg-turbo/release/Distribution.xml.in" desc="三方仓代码,未写lincense头,该文件未使用,不参与编译,不影响兼容性"/>
232                <filteritem type="filepath" name="skia/third_party/externals/libjpeg-turbo/release/rpm.spec.in" desc="三方仓代码,未写lincense头,该文件未使用,不参与编译,不影响兼容性"/>
233                <filteritem type="filepath" name="skia/third_party/externals/libjpeg-turbo/README.ijg" desc="libjpej-turbo下的readme文件,该文件未使用,不会参与打包"/>
234                <filteritem type="filepath" name="skia/third_party/externals/libpng/ANNOUNCE" desc="三方仓声明文件,libpng的版本说明文件"/>
235                <filteritem type="filepath" name="skia/third_party/externals/libpng/LICENSE" desc="libpng的LICENSE文件,为zlib/libpng 协议,不影响兼容性"/>
236                <filteritem type="filepath" name="skia/third_party/externals/libpng/TRADEMARK" desc="libpng的TRADEMARK文件,该文件不参与编译,不影响兼容性"/>
237                <filteritem type="filepath" name="skia/third_party/externals/libpng/contrib/gregbook/makevms.com" desc="该文件用于生成libpng的指导文档,未使用,不参与编译"/>
238                <filteritem type="filepath" name="skia/third_party/externals/libpng/autogen.sh" desc="该文件用于自动configure,未使用,不参与编译"/>
239                <filteritem type="filepath" name="skia/third_party/externals/libpng/INSTALL" desc="说明类文档,用于指导安装,不参与编译"/>
240                <filteritem type="filepath" name="skia/third_party/externals/libpng/contrib/visupng/cexcept.h" desc="该文件用于visupng下的c异常捕获,visupng未使用,不参与编译"/>
241                <filteritem type="filepath" name="skia/third_party/externals/libpng/contrib/pngminim/preader/makefile" desc="该文件用于编译和链接程序,未使用,不参与编译"/>
242                <filteritem type="filepath" name="skia/third_party/externals/libpng/contrib/gregbook/Makefile.sgi" desc="该文件用于文档说明文件生成,未使用,不参与编译"/>
243                <filteritem type="filepath" name="skia/third_party/externals/libpng/contrib/gregbook/Makefile.unx" desc="该文件用于文档说明文件生成,未使用,不参与编译"/>
244                <filteritem type="filepath" name="skia/third_party/externals/zlib/contrib/minizip/unzip.c" desc="zlib LICENSE,文件未使用,不参与编译,不影响兼容性"/>
245                <filteritem type="filepath" name="skia/third_party/externals/sdl/SDL2.spec.in" desc="zlib LICENSE,文件未使用,不参与编译,不影响兼容性"/>
246                <filteritem type="filepath" name="skia/third_party/externals/sdl/VisualC-WinRT/SDL2-WinRT.nuspec" desc="zlib LICENSE,文件未使用,不参与编译,不影响兼容性"/>
247                <filteritem type="filepath" name="skia/third_party/externals/sdl/VisualC-WinRT/SDL2main-WinRT-NonXAML.nuspec" desc="zlib LICENSE,文件未使用,不参与编译,不影响兼容性"/>
248                <filteritem type="filepath" name="skia/third_party/externals/sdl/debian/changelog" desc="zlib LICENSE,文件未使用,不参与编译,不影响兼容性"/>
249                <filteritem type="filepath" name="skia/third_party/externals/sdl/src/video/x11/edid-parse.c" desc="zlib LICENSE,文件未使用,不参与编译,不影响兼容性"/>
250                <filteritem type="filepath" name="skia/third_party/externals/opencl-lib/3-0/include/CL/internal/cl_icd_amd.h" desc="MIT,文件未使用,不参与编译,不影响兼容性"/>
251                <filteritem type="filepath" name="skia/third_party/externals/opencl-lib/3-0/include/GL/wglew.h" desc="Khronos License,文件未使用,不参与编译,不影响兼容性"/>
252                <filteritem type="filepath" name="skia/third_party/externals/angle2/util/windows/third_party/StackWalker/README.chromium" desc="三方仓下readme文件,文件未使用,不参与编译,不影响兼容性"/>
253                <filteritem type="filepath" name="skia/third_party/externals/angle2/third_party/vulkan-validation-layers/README.angle" desc="三方仓下readme文件,文件未使用,不参与编译,不影响兼容性"/>
254                <filteritem type="filepath" name="skia/third_party/externals/angle2/third_party/vulkan-tools/README.angle" desc="三方仓下readme文件,不参与编译,不影响兼容性"/>
255                <filteritem type="filepath" name="skia/third_party/externals/angle2/third_party/vulkan-loader/README.angle" desc="三方仓下readme文件,不参与编译,不影响兼容性"/>
256                <filteritem type="filepath" name="skia/third_party/externals/angle2/third_party/vulkan-headers/README.angle" desc="三方仓下readme文件,不参与编译,不影响兼容性"/>
257                <filteritem type="filepath" name="skia/third_party/externals/angle2/third_party/libpng/README.angle" desc="三方仓下readme文件,不参与编译,不影响兼容性"/>
258                <filteritem type="filepath" name="skia/third_party/externals/angle2/third_party/googletest/README.angle" desc="三方仓下readme文件,不参与编译,不影响兼容性"/>
259                <filteritem type="filepath" name="skia/third_party/externals/angle2/third_party/deqp/README.angle" desc="三方仓下readme文件,不参与编译,不影响兼容性"/>
260                <filteritem type="filepath" name="skia/third_party/externals/angle2/src/third_party/compiler/README.chromium" desc="三方仓下readme文件,不参与编译,不影响兼容性"/>
261                <filteritem type="filepath" name="skia/third_party/externals/angle2/src/common/third_party/xxhash/README.chromium" desc="三方仓下readme文件,不参与编译,不影响兼容性"/>
262                <filteritem type="filepath" name="skia/third_party/externals/angle2/src/common/third_party/base/README.angle" desc="三方仓下readme文件,不参与编译,不影响兼容性"/>
263                <filteritem type="filepath" name="skia/third_party/externals/angle2/scripts/egl.xml" desc="三方仓下xml文件,不参与编译,不影响兼容性"/>
264                <filteritem type="filepath" name="skia/third_party/externals/angle2/README.chromium" desc="三方仓下readne文件,不参与编译,不影响兼容性"/>
265                <filteritem type="filepath" name="skia/third_party/externals/angle2/include/EGL/eglplatform.h" desc="BSD 3-Clause License,协议头写在代码后面了,不影响兼容性"/>
266                <filteritem type="filepath" name="skia/third_party/externals/angle2/include/GLES2/gl2platform.h" desc="BSD 3-Clause License,协议头写在代码后面了,不影响兼容性"/>
267                <filteritem type="filepath" name="skia/third_party/externals/angle2/include/GLES3/gl3platform.h" desc="SGI Free Software B License,协议头写在代码后面了,不影响兼容性"/>
268                <filteritem type="filepath" name="skia/third_party/externals/angle2/include/KHR/khrplatform.h" desc="Khronos License,协议头写在代码后面了,不影响兼容性"/>
269                <filteritem type="filepath" name="skia/third_party/externals/dawn/third_party/khronos/KHR/khrplatform.h" desc="Khronos License,协议头写在代码后面了,不影响兼容性"/>
270                <filteritem type="filepath" name="skia/third_party/externals/harfbuzz/m4/ax_cxx_compile_stdcxx.m4" desc="FSFAP License,文件不参与编译,协议也不影响兼容性"/>
271                <filteritem type="filepath" name="skia/third_party/externals/sdl/include/SDL_opengles2_gl2platform.h" desc="SGI Free Software B License,协议头写在代码后面了,不影响兼容性"/>
272                <filteritem type="filepath" name="skia/third_party/externals/sdl/include/SDL_opengles2_khrplatform.h" desc="SGI Free Software B License,协议头写在代码后面了,不影响兼容性"/>
273                <filteritem type="filepath" name="txt/PATENTS" desc="三方仓内说明文档类文件,未写license头"/>
274                <filteritem type="filepath" name="glfw/docs/main.dox" desc="三方仓内说明文档类文件,未写license头,不参与编译,不影响兼容性"/>
275                <filteritem type="filepath" name="glfw/docs/compile.dox" desc="三方仓内说明文档类文件,未写license头,不参与编译,不影响兼容性"/>
276                <filteritem type="filepath" name="glfw/tests/vulkan.c" desc="声明可自由分发,无许可头声明"/>
277                <filteritem type="filepath" name="glfw/deps/KHR/khrplatform.h" desc="声明可自由分发,无许可头声明"/>
278                <filteritem type="filepath" name="glfw/deps/mingw/dinput.h" desc="该文件未使用,不参与打包"/>
279                <filteritem type="filepath" name="glfw/deps/mingw/xinput.h" desc="该文件未使用,不参与打包"/>
280            </filefilter>
281
282        </filefilterlist>
283        <licensematcherlist>
284            <licensematcher name="BSD 3-Clause License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
285                <licensetext name="
286                    * Use of this source code is governed by a BD-style license that can be
287                    * found in the LICENSE file." desc="skia/gm 下文件头有错别字"/>
288                <licensetext name="
289                    \f0\fs24 \cf0 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\
290                    \
291                    \pard\tx220\tx720\pardeftab720\li720\fi-720
292                    \ls1\ilvl0\cf0 {\listtext       \'95    }Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\
293                    {\listtext      \'95    }Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\
294                    {\listtext      \'95    }Neither the name of the libjpeg-turbo Project nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.\
295                    \pard\pardeftab720\qc
296                    \cf0 \
297                    \pard\pardeftab720
298                    \cf0 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &gt;AS IS&gt;, AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA, OR PROFITS;  OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\" desc="文档类型为rtf,有特殊符号转义"/>
299            </licensematcher>
300            <licensematcher name="zlib-acknowledgement" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
301                <licensetext name="
302                    See COPYING.txt for the full license governing this code." desc="license写在copying文件中了"/>
303            </licensematcher>
304            <licensematcher name="MIT License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
305                <licensetext name="
306                    In no event shall anyone redistributing or accessing or using this material
307                    commence or participate in any arbitration or legal action relating to this
308                    material against Advanced Micro Devices, Inc. or any copyright holders or
309                    contributors. The foregoing shall survive any expiration or termination of
310                    this license or any agreement or access or use related to this material." desc=""/>
311            </licensematcher>
312            <licensematcher name="BSD 2-Clause License" desc="如果工具扫描是InvalidLicense,可在此定义匹配规则,注意引号要转义" >
313                <licensetext name="
314                    BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)" desc="angle2/src下文件为BSD 2-Clause License"/>
315                <licensetext name="
316                    * Redistribution and use in source and binary forms, with or without
317                    * modification, are permitted provided that the following conditions
318                    * are met:
319                    * 1. Redistributions of source code must retain the above copyright
320                    *    notice, this list of conditions and the following disclaimer.
321                    * 2. Redistributions in binary form must reproduce the above copyright
322                    *    notice, this list of conditions and the following disclaimer in the
323                    *    documentation and/or other materials provided with the distribution.
324                " desc=""/>
325                <licensetext name="
326                    Redistribution and use in source and binary forms, with or without modification,
327                    are permitted provided that the following conditions are met:
328
329                    * Redistributions of source code must retain the above copyright notice, this
330                      list of conditions and the following disclaimer.
331
332                    * Redistributions in binary form must reproduce the above copyright notice, this
333                      list of conditions and the following disclaimer in the documentation and/or
334                      other materials provided with the distribution.
335                " desc=""/>
336            </licensematcher>
337            <licensematcher name="The IJG (Independent JPEG Group) License" desc="" >
338                <licensetext name="
339                    For conditions of distribution and use, see the accompanying README.ijg
340                " desc=""/>
341            </licensematcher>
342            <licensematcher name="The zlib/libpng License (Zlib)" desc="" >
343                <licensetext name="
344                    For conditions of distribution and use, see copyright notice in zlib.h
345                " desc=""/>
346                <licensetext name="
347                    * For conditions of distribution and use, see copyright notice in jsimdext.inc
348                " desc=""/>
349                <licensetext name="
350                    This software is provided 'as-is', without any express or implied
351                    warranty.  In no event will the authors be held liable for any damages
352                    arising from the use of this software.
353
354                    Permission is granted to anyone to use this software for any purpose,
355                    including commercial applications, and to alter it and redistribute it
356                    freely.
357                " desc=""/>
358            </licensematcher>
359            <licensematcher name="SunPro Attribution License (sunpro)" desc="" >
360                <licensetext name="
361                    * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
362                    *
363                    * Developed at SunPro, a Sun Microsystems, Inc. business.
364                    * Permission to use, copy, modify, and distribute this
365                    * software is freely granted, provided that this notice
366                    * is preserved.
367                " desc=""/>
368            </licensematcher>
369            <licensematcher name="PNG Reference Library License" desc="" >
370                <licensetext name="
371                    * To the extent possible under law, the authors have waived
372                    * all copyright and related or neighboring rights to this file
373                " desc=""/>
374            </licensematcher>
375            <licensematcher name="ISC License" desc="" >
376                <licensetext name="
377                    * Permission to use, copy, modify, and/or distribute this software for any
378                    * purpose with or without fee is hereby granted, provided that the above
379                    * copyright notice and this permission notice appear in all copies.
380                    *
381                    * THE SOFTWARE IS PROVIDED &gt;AS IS&gt; AND THE AUTHOR DISCLAIMS ALL WARRANTIES
382                    * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
383                    * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
384                    * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
385                    * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
386                    * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
387                    * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
388                " desc=""/>
389            </licensematcher>
390            <licensematcher name="MIT license Old Style with legal disclaimer" desc="" >
391                <licensetext name="
392                    * Permission to use, copy, modify, distribute, and sell this software and its
393                    * documentation for any purpose is hereby granted without fee, provided that
394                    * the above copyright notice appear in all copies and that both that
395                    * copyright notice and this permission notice appear in supporting
396                    * documentation, and that the name of the author(s) not be used in
397                    * advertising or publicity pertaining to distribution of the software without
398                    * specific, written prior permission.  The authors make no
399                    * representations about the suitability of this software for any purpose.  It
400                    * is provided &gt;as is&gt; without express or implied warranty.
401                    *
402                    * THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
403                    * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
404                    * EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
405                    * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
406                    * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
407                    * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
408                    * PERFORMANCE OF THIS SOFTWARE.
409                " desc=""/>
410            </licensematcher>
411            <licensematcher name="MIT license Old Style (no advertising without permission)" desc="" >
412                <licensetext name="
413                    # Permission to use, copy, modify, distribute, and sell this software and its
414                    # documentation for any purpose is hereby granted without fee, provided that
415                    # the above copyright notice appear in all copies and that both that
416                    # copyright notice and this permission notice appear in supporting
417                    # documentation, and that the name of M.I.T. not be used in advertising or
418                    # publicity pertaining to distribution of the software without specific,
419                    # written prior permission.  M.I.T. makes no representations about the
420                    # suitability of this software for any purpose.  It is provided &gt;as is&gt;
421                    # without express or implied warranty.
422                " desc=""/>
423            </licensematcher>
424            <licensematcher name="zlib License" desc="">
425                <licensetext name="For conditions of distribution and use, see copyright notice in zlib.h" desc=""/>
426                <licensetext name="
427                    * For conditions of distribution and use, see copyright notice in jsimdext.inc
428                " desc=""/>
429                <licensetext name="
430                    This software is provided 'as-is', without any express or implied
431                    warranty. In no event will the authors be held liable for any damages
432                    arising from the use of this software.
433
434                    Permission is granted to anyone to use this software for any purpose,
435                    including commercial applications, and to alter it and redistribute it
436                    freely.
437                " desc=""/>
438            </licensematcher>
439        </licensematcherlist>
440    </oatconfig>
441</configuration>
442