mirror of
https://github.com/openharmony/applications_filepicker.git
synced 2026-07-01 00:17:55 -04:00
b5d080a543
Signed-off-by: zhuchengfeng <940848916@qq.com>
49 lines
2.5 KiB
XML
49 lines
2.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- Copyright (c) 2021 Huawei Device Co., Ltd.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
|
|
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.
|
|
|
|
-->
|
|
|
|
<configuration>
|
|
<oatconfig>
|
|
<licensefile></licensefile>
|
|
<policylist>
|
|
<policy name="projectPolicy" desc="">
|
|
<policyitem type="license" name="Apache-2.0" path=".*" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter" desc=""/>
|
|
<policyitem type="copyright" name="Huawei Device Co., Ltd." path=".*" rule="may" group="defaultGroup" filefilter="copyrightPolicyFilter" desc=""/>
|
|
<policyitem type="filetype" name="!binary" path=".*" rule="must" group="defaultGroup" filefilter="binaryFileTypePolicyFilter" desc=""/>
|
|
</policy>
|
|
</policylist>
|
|
|
|
<filefilterlist>
|
|
<filefilter name="binaryFileTypePolicyFilter" desc="Filters for binary file policies">
|
|
<filteritem type="filepath" name="common/src/main/resources/base/media/.*.png" desc="self developed image"/>
|
|
<filteritem type="filepath" name="product/phone/src/main/resources/base/media/.*.png" desc="self developed image"/>
|
|
<filteritem type="filepath" name="product/pad/src/main/resources/base/media/.*.png" desc="self developed image"/>
|
|
</filefilter>
|
|
|
|
|
|
|
|
<filefilter name="copyrightPolicyFilter" desc="Filters for copyright header policies">
|
|
<filteritem type="filename" name="README|README_zh|.*.log|.*.json5|.*.json" desc=""/>
|
|
</filefilter>
|
|
<filefilter name="defaultPolicyFilter" desc="Filters for LICENSE file policies">
|
|
<filteritem type="filename" name="README|README_zh|*.log|*.json5|*.json" desc="json file"/>
|
|
</filefilter>
|
|
</filefilterlist>
|
|
</oatconfig>
|
|
</configuration>
|