mirror of
https://github.com/openharmony/third_party_optimized_routines.git
synced 2026-07-01 06:42:05 -04:00
The product package lacks the open-source software notice for optimized-routines
issue:https://gitcode.com/openharmony/third_party_optimized_routines/issues/13 Signed-off-by: xwx1135370 <xuyao44@huawei.com>
This commit is contained in:
@@ -48,7 +48,7 @@ config("optimized_routines_stack_config") {
|
||||
}
|
||||
|
||||
if (!(is_lite_system && current_os == "ohos")) {
|
||||
static_library("optimized_static") {
|
||||
ohos_static_library("optimized_static") {
|
||||
output_name = "liboptimize"
|
||||
visibility = [
|
||||
":*",
|
||||
@@ -57,7 +57,7 @@ if (!(is_lite_system && current_os == "ohos")) {
|
||||
]
|
||||
|
||||
public_configs = [ ":optimized_routines_config" ]
|
||||
configs += [ ":optimized_routines_stack_config" ]
|
||||
configs = [ ":optimized_routines_stack_config" ]
|
||||
|
||||
sources = []
|
||||
defines = []
|
||||
@@ -213,7 +213,7 @@ if (!(is_lite_system && current_os == "ohos")) {
|
||||
]
|
||||
cflags_c = [ "-fno-lto" ]
|
||||
|
||||
configs -= optimized_inherited_configs
|
||||
remove_configs = optimized_inherited_configs
|
||||
configs += [ "//build/config/components/musl:soft_musl_config" ]
|
||||
if (use_hwasan) {
|
||||
defines += [ "HWASAN_REMOVE_CLEANUP" ]
|
||||
@@ -223,9 +223,11 @@ if (!(is_lite_system && current_os == "ohos")) {
|
||||
"-hwasan-instrument-check-enabled=true",
|
||||
]
|
||||
}
|
||||
subsystem_name = "thirdparty"
|
||||
part_name = "optimized_routines"
|
||||
}
|
||||
|
||||
static_library("optimize_math") {
|
||||
ohos_static_library("optimize_math") {
|
||||
output_name = "liboptimize_math"
|
||||
output_extension = "a"
|
||||
visibility = [
|
||||
@@ -235,7 +237,7 @@ if (!(is_lite_system && current_os == "ohos")) {
|
||||
]
|
||||
|
||||
public_configs = [ ":optimized_routines_config" ]
|
||||
configs += [ ":optimized_routines_stack_config" ]
|
||||
configs = [ ":optimized_routines_stack_config" ]
|
||||
sources = []
|
||||
|
||||
if (musl_arch == "aarch64") {
|
||||
@@ -258,7 +260,7 @@ if (!(is_lite_system && current_os == "ohos")) {
|
||||
]
|
||||
cflags_c = [ "-fno-lto" ]
|
||||
|
||||
configs -= optimized_inherited_configs
|
||||
remove_configs = optimized_inherited_configs
|
||||
configs += [ "//build/config/components/musl:soft_musl_config" ]
|
||||
if (use_hwasan) {
|
||||
configs += [ "//build/config/sanitizers:default_sanitizer_flags" ]
|
||||
@@ -267,5 +269,7 @@ if (!(is_lite_system && current_os == "ohos")) {
|
||||
"-hwasan-instrument-check-enabled=true",
|
||||
]
|
||||
}
|
||||
subsystem_name = "thirdparty"
|
||||
part_name = "optimized_routines"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,7 +46,6 @@ optimized_inherited_configs = [
|
||||
"//build/config/compiler:export_dynamic",
|
||||
"//build/config/compiler:runtime_library",
|
||||
"//build/config/compiler:no_rtti",
|
||||
"//build/config/compiler:thin_archive",
|
||||
"//build/config/sanitizers:default_sanitizer_flags",
|
||||
"//build/config/compiler:default_symbols",
|
||||
"//build/config/compiler:default_stack_frames",
|
||||
|
||||
Reference in New Issue
Block a user