提交 46c52692 编写于 作者: S stesen

fix profiler deps with global_parts_info

Signed-off-by: Nstesen <stesen.ma@huawei.com>
Change-Id: Icb2b283304dfbfcedf71bdacdf0d12a9e9bf1799
上级 6c61f22f
......@@ -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.
先完成此消息的编辑!
想要评论请 注册