From b6f9eb589d4b16dd84665c8c2d8c733befb9ee6a Mon Sep 17 00:00:00 2001 From: 15929983503 Date: Fri, 24 Mar 2023 17:05:53 +0800 Subject: [PATCH] buildgn add partname and systemname for 3.2release Signed-off-by: 15929983503 --- hiviewdfx/abilityconstanttest/BUILD.gn | 2 ++ hiviewdfx/apprecoverytest/BUILD.gn | 2 ++ hiviewdfx/bytracetest/BUILD.gn | 2 ++ hiviewdfx/hiappeventtest/hiappeventcpptest/BUILD.gn | 2 ++ hiviewdfx/hicheckertest/hicheckerjstest/BUILD.gn | 2 ++ hiviewdfx/hidebugtest/hidebugtestjstest/BUILD.gn | 2 ++ hiviewdfx/hilogtest/hilogdomainofftest/BUILD.gn | 2 ++ hiviewdfx/hilogtest/hilogdomainontest/BUILD.gn | 2 ++ hiviewdfx/hilogtest/hilogjstest/BUILD.gn | 8 ++++---- hiviewdfx/hisyseventtest/hisyseventjstest/BUILD.gn | 2 ++ hiviewdfx/hitracechainjstest/BUILD.gn | 2 ++ hiviewdfx/hitracemetertest/BUILD.gn | 2 ++ hiviewdfx/hiview/faultlogger/faultloggerjs/BUILD.gn | 2 ++ 13 files changed, 28 insertions(+), 4 deletions(-) diff --git a/hiviewdfx/abilityconstanttest/BUILD.gn b/hiviewdfx/abilityconstanttest/BUILD.gn index ea31b2494..33e61d88a 100755 --- a/hiviewdfx/abilityconstanttest/BUILD.gn +++ b/hiviewdfx/abilityconstanttest/BUILD.gn @@ -20,6 +20,8 @@ ohos_js_hap_suite("ActsAbilityConstantTest") { ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsAbilityConstantTest" + part_name = "hitrace_native" + subsystem_name = "hiviewdfx" } ohos_js_assets("abilityconstant_assets") { js2abc = true diff --git a/hiviewdfx/apprecoverytest/BUILD.gn b/hiviewdfx/apprecoverytest/BUILD.gn index 1ac0cd909..3704a1e9e 100755 --- a/hiviewdfx/apprecoverytest/BUILD.gn +++ b/hiviewdfx/apprecoverytest/BUILD.gn @@ -20,6 +20,8 @@ ohos_js_hap_suite("ActsAppRecoveryTest") { ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsAppRecoveryTest" + part_name = "hitrace_native" + subsystem_name = "hiviewdfx" } ohos_js_assets("apprecovery_assets") { js2abc = true diff --git a/hiviewdfx/bytracetest/BUILD.gn b/hiviewdfx/bytracetest/BUILD.gn index d3509f77f..c1eae0ece 100644 --- a/hiviewdfx/bytracetest/BUILD.gn +++ b/hiviewdfx/bytracetest/BUILD.gn @@ -20,6 +20,8 @@ ohos_js_hap_suite("ActsBytraceJsTest") { ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsByTraceJsTest" + part_name = "hitrace_native" + subsystem_name = "hiviewdfx" } ohos_js_assets("bytrace_assets") { js2abc = true diff --git a/hiviewdfx/hiappeventtest/hiappeventcpptest/BUILD.gn b/hiviewdfx/hiappeventtest/hiappeventcpptest/BUILD.gn index 3bce5aef4..aa9d6335f 100755 --- a/hiviewdfx/hiappeventtest/hiappeventcpptest/BUILD.gn +++ b/hiviewdfx/hiappeventtest/hiappeventcpptest/BUILD.gn @@ -38,4 +38,6 @@ ohos_moduletest_suite("ActsHiAppEventCPPTest") { "//third_party/googletest:gtest_main", ] configs = [ ":hilogtest_config" ] + part_name = "hisysevent_native" + subsystem_name = "hiviewdfx" } diff --git a/hiviewdfx/hicheckertest/hicheckerjstest/BUILD.gn b/hiviewdfx/hicheckertest/hicheckerjstest/BUILD.gn index cd31ff137..2d44e3661 100644 --- a/hiviewdfx/hicheckertest/hicheckerjstest/BUILD.gn +++ b/hiviewdfx/hicheckertest/hicheckerjstest/BUILD.gn @@ -21,6 +21,8 @@ ohos_js_hap_suite("hicheckerjstest") { certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsHicheckerTest" + part_name = "hichecker_native" + subsystem_name = "hiviewdfx" } ohos_js_assets("hichecker_js_assets") { js2abc = true diff --git a/hiviewdfx/hidebugtest/hidebugtestjstest/BUILD.gn b/hiviewdfx/hidebugtest/hidebugtestjstest/BUILD.gn index e208094c7..4d1a14f80 100644 --- a/hiviewdfx/hidebugtest/hidebugtestjstest/BUILD.gn +++ b/hiviewdfx/hidebugtest/hidebugtestjstest/BUILD.gn @@ -23,6 +23,8 @@ ohos_js_hap_suite("ActsHiDebugTest") { #ets2abc = true certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsHiDebugTest" + part_name = "profiler" + subsystem_name = "developtools" } ohos_js_assets("hidebug_js_assets") { js2abc = true diff --git a/hiviewdfx/hilogtest/hilogdomainofftest/BUILD.gn b/hiviewdfx/hilogtest/hilogdomainofftest/BUILD.gn index cf5e36852..348716d20 100644 --- a/hiviewdfx/hilogtest/hilogdomainofftest/BUILD.gn +++ b/hiviewdfx/hilogtest/hilogdomainofftest/BUILD.gn @@ -21,6 +21,8 @@ ohos_js_hap_suite("ActsHilogDomainOffJsTest") { certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsHilogDomainOffJsTest" + part_name = "hilog_native" + subsystem_name = "hiviewdfx" } ohos_js_assets("hilog_js_assets") { js2abc = true diff --git a/hiviewdfx/hilogtest/hilogdomainontest/BUILD.gn b/hiviewdfx/hilogtest/hilogdomainontest/BUILD.gn index 8a58d20b4..7cd0a5f22 100644 --- a/hiviewdfx/hilogtest/hilogdomainontest/BUILD.gn +++ b/hiviewdfx/hilogtest/hilogdomainontest/BUILD.gn @@ -21,6 +21,8 @@ ohos_js_hap_suite("ActsHilogDomainOnJsTest") { certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsHilogDomainOnJsTest" + part_name = "hilog_native" + subsystem_name = "hiviewdfx" } ohos_js_assets("hilog_js_assets") { js2abc = true diff --git a/hiviewdfx/hilogtest/hilogjstest/BUILD.gn b/hiviewdfx/hilogtest/hilogjstest/BUILD.gn index 802ddeed7..fadec7df8 100755 --- a/hiviewdfx/hilogtest/hilogjstest/BUILD.gn +++ b/hiviewdfx/hilogtest/hilogjstest/BUILD.gn @@ -21,10 +21,10 @@ ohos_js_hap_suite("ActsHilogJsTest") { certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsHilogJsTest" - js_build_mode = "debug" - shared_libraries = [ - "./src/main/cpp:hilogndk", - ] + part_name = "hilog_native" + subsystem_name = "hiviewdfx" + js_build_mode = "debug" + shared_libraries = [ "./src/main/cpp:hilogndk" ] } ohos_js_assets("hilog_js_assets") { js2abc = true diff --git a/hiviewdfx/hisyseventtest/hisyseventjstest/BUILD.gn b/hiviewdfx/hisyseventtest/hisyseventjstest/BUILD.gn index b211a5177..0be4f53b9 100755 --- a/hiviewdfx/hisyseventtest/hisyseventjstest/BUILD.gn +++ b/hiviewdfx/hisyseventtest/hisyseventjstest/BUILD.gn @@ -21,6 +21,8 @@ ohos_js_hap_suite("ActsHiSysEventJsTest") { certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsHiSysEventJsTest" + part_name = "hisysevent_native" + subsystem_name = "hiviewdfx" } ohos_js_assets("hisysevent_js_assets") { js2abc = true diff --git a/hiviewdfx/hitracechainjstest/BUILD.gn b/hiviewdfx/hitracechainjstest/BUILD.gn index d50b4f610..9f2de82ac 100755 --- a/hiviewdfx/hitracechainjstest/BUILD.gn +++ b/hiviewdfx/hitracechainjstest/BUILD.gn @@ -21,6 +21,8 @@ ohos_js_hap_suite("ActsHiTraceChainJsTest") { certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsHiTraceChainJsTest" + part_name = "hitrace_native" + subsystem_name= "hiviewdfx" } ohos_js_assets("hitrace_js_assets") { js2abc = true diff --git a/hiviewdfx/hitracemetertest/BUILD.gn b/hiviewdfx/hitracemetertest/BUILD.gn index 3e6dc12ba..5923e2061 100755 --- a/hiviewdfx/hitracemetertest/BUILD.gn +++ b/hiviewdfx/hitracemetertest/BUILD.gn @@ -20,6 +20,8 @@ ohos_js_hap_suite("ActsHitraceMeterTest") { ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsHitraceMeterTest" + part_name = "hitrace_native" + subsystem_name = "hiviewdfx" } ohos_js_assets("hitracemeter_assets") { js2abc = true diff --git a/hiviewdfx/hiview/faultlogger/faultloggerjs/BUILD.gn b/hiviewdfx/hiview/faultlogger/faultloggerjs/BUILD.gn index 32d0b1715..621fa778f 100644 --- a/hiviewdfx/hiview/faultlogger/faultloggerjs/BUILD.gn +++ b/hiviewdfx/hiview/faultlogger/faultloggerjs/BUILD.gn @@ -20,6 +20,8 @@ ohos_js_hap_suite("faultloggerjs_test") { ] certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsFaultloggerJsTest" + part_name = "faultloggerd" + subsystem_name = "hiviewdfx" } ohos_js_assets("faultloggerjs_assets") { js2abc = true -- GitLab