mirror of
https://gitee.com/openharmony/base_location
synced 2024-11-23 06:50:03 +00:00
bugfix:tdd cfi
Signed-off-by: liuxinbing <liuxinbing4@huawei.com>
This commit is contained in:
parent
8458731c4d
commit
85f3139bfd
16
cfi_blocklist.txt
Normal file
16
cfi_blocklist.txt
Normal file
@ -0,0 +1,16 @@
|
||||
# Copyright (C) 2024 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.
|
||||
|
||||
[cfi]
|
||||
src:*third_party/googletest/googlemock/include/gmock/*
|
||||
src:*third_party/googletest/googletest/include/gtest/*
|
@ -33,6 +33,7 @@ ohos_unittest("LocationCommonTest") {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
blocklist = "./../../cfi_blocklist.txt"
|
||||
}
|
||||
branch_protector_ret = "pac_ret"
|
||||
|
||||
|
@ -31,6 +31,7 @@ if (location_feature_with_geocode) {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
blocklist = "./../../cfi_blocklist.txt"
|
||||
}
|
||||
branch_protector_ret = "pac_ret"
|
||||
|
||||
|
@ -40,6 +40,7 @@ if (location_feature_with_gnss) {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
blocklist = "./../../cfi_blocklist.txt"
|
||||
}
|
||||
branch_protector_ret = "pac_ret"
|
||||
|
||||
|
@ -21,6 +21,7 @@ ohos_unittest("LocatorServiceAbilityTest") {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
blocklist = "./../../cfi_blocklist.txt"
|
||||
}
|
||||
branch_protector_ret = "pac_ret"
|
||||
module_out_path = module_output_path
|
||||
|
@ -38,6 +38,7 @@ ohos_unittest("LocationMockIpcTest") {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
blocklist = "./../../cfi_blocklist.txt"
|
||||
}
|
||||
branch_protector_ret = "pac_ret"
|
||||
|
||||
|
@ -38,6 +38,7 @@ if (location_feature_with_network) {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
blocklist = "./../../cfi_blocklist.txt"
|
||||
}
|
||||
branch_protector_ret = "pac_ret"
|
||||
|
||||
|
@ -38,6 +38,7 @@ if (location_feature_with_passive) {
|
||||
cfi = true
|
||||
cfi_cross_dso = true
|
||||
debug = false
|
||||
blocklist = "./../../cfi_blocklist.txt"
|
||||
}
|
||||
branch_protector_ret = "pac_ret"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user