mirror of
https://gitee.com/openharmony/arkcompiler_toolchain
synced 2024-11-23 15:40:03 +00:00
add enable ffrt defines
Signed-off-by: wangzhaoyong <wangzhaoyong@huawei.com> Change-Id: I5bda59d0ef9879850b12a03674941c5f8fde0579
This commit is contained in:
parent
88612d84a2
commit
58cd89ed62
@ -34,7 +34,8 @@
|
||||
"libuv",
|
||||
"cJSON",
|
||||
"openssl",
|
||||
"zlib"
|
||||
"zlib",
|
||||
"ffrt"
|
||||
],
|
||||
"third_party": []
|
||||
},
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user