提交 ffa11430 编写于 作者: S stesen

fixed 46c52692 from https://gitee.com/stesen/startup_init_lite/pulls/1550

fix profiler deps with global_parts_info
Signed-off-by: Nstesen <stesen.ma@huawei.com>
Change-Id: Icb2b283304dfbfcedf71bdacdf0d12a9e9bf1799
上级 812b54c4
......@@ -130,7 +130,7 @@ ohos_executable("init") {
if (!enable_ramdisk) {
defines += [ "DISABLE_INIT_TWO_STAGES" ]
}
if (support_jsapi) {
if (defined(global_parts_info.developtools_profiler)) {
defines += [ "SUPPORT_PROFILER_HIDEBUG" ]
external_deps = [ "profiler:libhidebug_init" ]
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册