add OAT.xml

Signed-off-by: Hongpeng Huo <hongpeng.huo@hpmicro.com>
This commit is contained in:
Hongpeng Huo
2022-09-13 14:51:36 +08:00
parent 9ecb69051d
commit 99122a1b31
2 changed files with 38 additions and 0 deletions
Executable → Regular
View File
+38
View File
@@ -0,0 +1,38 @@
<?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="copyright" name="HPMicro" path=".*" desc="original hpmicro copyright"/>
<policyitem type="copyright" name="Copyright (c) 2022 HPMicro." path=".*" desc="original hpmicro copyright"/>
<policyitem type="license" name="BSD-3-Clause" path=".*" desc="hpmicro use BSD license"/>
<policyitem type="license" name="Apache-2.0" path=".*" desc="hpmicro use apache 2.0 license"/>
</policy>
</policylist>
<filefilterlist>
<filefilter name="defaultFilter" desc="Filters for binary file policies" >
<filteritem type="filename" name="*.a|*.so|*.bin|*.png" desc="Temp files"/>
<filteritem type="filepath" name="sdk/hpm_sdk/*" desc="hpmicro open source SDK code"/>
</filefilter>
</filefilterlist>
</oatconfig>
</configuration>