From 0875f045cd1b3e1fbc5465b7a1655b066719158e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=89=9B=E5=9B=BD=E4=BA=AE?= Date: Thu, 14 Aug 2025 15:15:14 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=93=9D=E9=BB=84?= =?UTF-8?q?=E7=BC=96=E8=AF=91=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 牛国亮 --- build/config.gni | 8 ++++++++ bundle.json | 4 ++-- host/smartperf/client/BUILD.gn | 4 ++++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/build/config.gni b/build/config.gni index 714ee6241..b3bbc16e7 100644 --- a/build/config.gni +++ b/build/config.gni @@ -38,3 +38,11 @@ declare_args() { arkxtest_able = true } } + +declare_args() { + es2panda_client_ui = false + if (defined(global_parts_info) && + defined(global_parts_info.es2panda)) { + es2panda_client_ui = true + } +} diff --git a/bundle.json b/bundle.json index 2e7e60a65..09a3c2d05 100644 --- a/bundle.json +++ b/bundle.json @@ -13,7 +13,8 @@ "name": "hiprofiler", "subsystem": "developtools", "features": [ - "hiprofiler_SmartPerf" + "hiprofiler_SmartPerf", + "es2panda_client_ui" ], "syscap": [ "SystemCapability.HiviewDFX.HiProfiler.HiDebug" @@ -81,7 +82,6 @@ "//developtools/profiler/hidebug/frameworks/hidebug_ndk:ohhidebug", "//developtools/profiler/hidebug/frameworks/native:hidebug_native", "//developtools/profiler/host/smartperf/client/client_command/:SP_daemon", - "//developtools/profiler/host/smartperf/client/:SmartPerf", "//developtools/profiler/hiebpf:hiebpf_tool", "//developtools/profiler/timestamps:timestamps_tool", "//developtools/profiler/tools/pagemap_parse:pagemap_tool", diff --git a/host/smartperf/client/BUILD.gn b/host/smartperf/client/BUILD.gn index 6ac1e017b..3e518e551 100644 --- a/host/smartperf/client/BUILD.gn +++ b/host/smartperf/client/BUILD.gn @@ -20,4 +20,8 @@ group("SmartPerf") { deps += [ "//developtools/profiler/host/smartperf/client/client_ui/:SmartPerf" ] } + if (es2panda_client_ui) { + deps += + [ "//developtools/profiler/host/smartperf/client/:SmartPerf" ] + } } -- Gitee From 8b61df7eb6f2e0a05bf10ec907e4230b8f8c12f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=89=9B=E5=9B=BD=E4=BA=AE?= Date: Thu, 14 Aug 2025 19:28:00 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E8=93=9D=E9=BB=84=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 牛国亮 --- build/config.gni | 4 ++-- bundle.json | 2 +- host/smartperf/client/BUILD.gn | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/config.gni b/build/config.gni index b3bbc16e7..3a98d33e3 100644 --- a/build/config.gni +++ b/build/config.gni @@ -40,9 +40,9 @@ declare_args() { } declare_args() { - es2panda_client_ui = false + hiprofiler_client_ui = false if (defined(global_parts_info) && defined(global_parts_info.es2panda)) { - es2panda_client_ui = true + hiprofiler_client_ui = true } } diff --git a/bundle.json b/bundle.json index 09a3c2d05..69023a6be 100644 --- a/bundle.json +++ b/bundle.json @@ -14,7 +14,7 @@ "subsystem": "developtools", "features": [ "hiprofiler_SmartPerf", - "es2panda_client_ui" + "hiprofiler_client_ui" ], "syscap": [ "SystemCapability.HiviewDFX.HiProfiler.HiDebug" diff --git a/host/smartperf/client/BUILD.gn b/host/smartperf/client/BUILD.gn index 3e518e551..46c35cd09 100644 --- a/host/smartperf/client/BUILD.gn +++ b/host/smartperf/client/BUILD.gn @@ -20,7 +20,7 @@ group("SmartPerf") { deps += [ "//developtools/profiler/host/smartperf/client/client_ui/:SmartPerf" ] } - if (es2panda_client_ui) { + if (hiprofiler_client_ui) { deps += [ "//developtools/profiler/host/smartperf/client/:SmartPerf" ] } -- Gitee From 48ffa197c28d878511b3aae31f4857a85d327a5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=89=9B=E5=9B=BD=E4=BA=AE?= Date: Fri, 15 Aug 2025 09:37:40 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 牛国亮 --- build/config.gni | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/config.gni b/build/config.gni index 3a98d33e3..13360340f 100644 --- a/build/config.gni +++ b/build/config.gni @@ -42,7 +42,7 @@ declare_args() { declare_args() { hiprofiler_client_ui = false if (defined(global_parts_info) && - defined(global_parts_info.es2panda)) { + defined(global_parts_info.es2abc_js_file)) { hiprofiler_client_ui = true } } -- Gitee