add enable ffrt defines

Signed-off-by: wangzhaoyong <wangzhaoyong@huawei.com>
Change-Id: I5bda59d0ef9879850b12a03674941c5f8fde0579
This commit is contained in:
wangzhaoyong 2024-05-27 16:31:55 +08:00
parent 88612d84a2
commit 58cd89ed62
2 changed files with 8 additions and 1 deletions

View File

@ -34,7 +34,8 @@
"libuv",
"cJSON",
"openssl",
"zlib"
"zlib",
"ffrt"
],
"third_party": []
},

View File

@ -60,6 +60,7 @@ ohos_source_set("libark_ecma_debugger_set") {
public_configs = [ ":ark_ecma_debugger_config" ]
defines = []
deps = []
external_deps = []
if (is_arkui_x && target_os == "ios") {
@ -75,6 +76,11 @@ ohos_source_set("libark_ecma_debugger_set") {
external_deps += [ "zlib:libz" ]
}
if (is_ohos && is_standard_system && !is_arkui_x) {
defines += [ "ENABLE_FFRT_INTERFACES" ]
external_deps += [ "ffrt:libffrt" ]
}
# hiviewdfx libraries
external_deps += hiviewdfx_ext_deps