From 0aaffdbf5b0263cd3e34215016ad192e8b138de6 Mon Sep 17 00:00:00 2001 From: Hongjin Li Date: Wed, 12 Jan 2022 10:26:43 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20optimized-routines=E9=80=82=E9=85=8Dke?= =?UTF-8?q?rnel=E9=83=A8=E4=BB=B6=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新增optimized-routines.gni文件 Signed-off-by: Hongjin Li Change-Id: I8f74074e938028f2c6e04cc9a1208ccb6d4a528e --- optimized-routines.gni | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 optimized-routines.gni diff --git a/optimized-routines.gni b/optimized-routines.gni new file mode 100644 index 0000000..cc747a5 --- /dev/null +++ b/optimized-routines.gni @@ -0,0 +1,35 @@ +# Copyright (c) 2022-2022 Huawei Device Co., Ltd. All rights reserved. +# +# Redistribution and use in source and binary forms, with or without modification, +# are permitted provided that the following conditions are met: +# +# 1. Redistributions of source code must retain the above copyright notice, this list of +# conditions and the following disclaimer. +# +# 2. 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. +# +# 3. Neither the name of the copyright holder nor the names of its contributors may be used +# to endorse or promote products derived from this software without specific prior written +# permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" 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 HOLDER 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. + +OPTRT_STRING_ARM_SRC_FILES = [ + "//third_party/optimized-routines/string/arm/memchr.S", + "//third_party/optimized-routines/string/arm/memcpy.S", + "//third_party/optimized-routines/string/arm/strcmp.S", + "//third_party/optimized-routines/string/arm/strcpy.c", + "//third_party/optimized-routines/string/arm/strlen-armv6t2.S", +] -- Gitee