mirror of
https://gitee.com/openharmony/arkcompiler_ets_runtime
synced 2024-11-23 10:09:54 +00:00
addBuiltinsForMac
Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6BKDG Signed-off-by: zhouzebin <zhouzebin1@huawei.com> Change-Id: I77a2ad14fd9d06cd17bb64a2e8df62454a24505c
This commit is contained in:
parent
7f77bf119b
commit
4499c70df8
@ -17,6 +17,7 @@ import("//build/ohos.gni")
|
||||
# Triggered only when the SDK is compiled
|
||||
if (is_standard_system) {
|
||||
# Avoid conditional judgment branches caused by dynamic library suffixes.
|
||||
dylib_suffix = ""
|
||||
if (is_mac) {
|
||||
dylib_suffix = ".dylib"
|
||||
} else if (is_mingw) {
|
||||
@ -180,5 +181,22 @@ if (is_standard_system) {
|
||||
target_out_dir + "/ets/build-tools/ets-loader/bin/ark/build/aot/src/"
|
||||
module_install_name = ""
|
||||
}
|
||||
} else if (is_mac) {
|
||||
ohos_copy("copy_ark_aot_builtins_mac") {
|
||||
deps = []
|
||||
sources = []
|
||||
|
||||
# Add lib_ark_builtins
|
||||
sources += [ "../ts_types/lib_ark_builtins.d.ts" ]
|
||||
|
||||
# Set the output directory
|
||||
outputs = [ target_out_dir + "/ets/build-tools/ets-loader/bin/ark/build-mac/aot/src/{{source_file_part}}" ]
|
||||
module_source_dir =
|
||||
target_out_dir +
|
||||
"/ets/build-tools/ets-loader/bin/ark/build-mac/aot/src/"
|
||||
module_install_name = ""
|
||||
subsystem_name = "developtools"
|
||||
part_name = "ets_runtime"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user