re2 部件依赖整改

Signed-off-by: wenlong_12 <wenlong12@huawei.com>
This commit is contained in:
wenlong_12
2024-11-22 07:18:27 +00:00
committed by Gitee
parent 0c6be5a674
commit bad0c277f7
+5
View File
@@ -20,6 +20,10 @@ libre2_path = rebase_path("//third_party/re2")
exec_script("install.sh", [ "$libre2_path" ])
RE2_DIR = rebase_path("//third_party/re2/re2")
config("re2_public_config") {
include_dirs = [ "${RE2_DIR}/" ]
}
ohos_shared_library("re2") {
sources = [
"${RE2_DIR}/re2/bitmap256.h",
@@ -66,6 +70,7 @@ ohos_shared_library("re2") {
if (!is_asan && !is_debug) {
version_script = "libre2.map"
}
public_configs = [ ":re2_public_config" ]
install_enable = true
subsystem_name = "${THIRDPARTY_RE2_SUBSYS_NAME}"
part_name = "${THIRDPARTY_RE2_PART_NAME}"