Integrate profdump into sdk

Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/I6O71A
Signed-off-by: zhouzebin <zhouzebin1@huawei.com>
Change-Id: Ia2eef6c3fc64a52085d8cd6d5673dc32565972e8
This commit is contained in:
zhouzebin 2023-03-18 17:05:53 +08:00
parent 26bdac03bf
commit 0f1a6ccbc7

View File

@ -41,6 +41,13 @@ if (is_standard_system) {
"$ark_aot_compiler_path/arkcompiler/ets_runtime/ark_aot_compiler.exe",
]
# Add executable "profdump"
deps += [ "$js_root/ecmascript/pgo_profiler/prof_dump:profdump" ]
prof_dump_path =
get_label_info("$js_root/ecmascript/pgo_profiler/prof_dump:profdump",
"root_out_dir")
sources += [ "$prof_dump_path/arkcompiler/ets_runtime/profdump.exe" ]
# Add dynamic library "hilog"
hilog_path =
get_label_info("$hilog_root:libhilog_windows", "root_out_dir")
@ -117,6 +124,13 @@ if (is_standard_system) {
sources +=
[ "$ark_aot_compiler_path/arkcompiler/ets_runtime/ark_aot_compiler" ]
# Add executable "profdump"
deps += [ "$js_root/ecmascript/pgo_profiler/prof_dump:profdump" ]
prof_dump_path =
get_label_info("$js_root/ecmascript/pgo_profiler/prof_dump:profdump",
"root_out_dir")
sources += [ "$prof_dump_path/arkcompiler/ets_runtime/profdump" ]
# Add dynamic library "hilog"
hilog_path = get_label_info("$hilog_root:libhilog_linux", "root_out_dir")
deps += [ "$hilog_root:libhilog_linux" ]