diff --git a/hiviewdfx/abilityconstanttest/BUILD.gn b/hiviewdfx/abilityconstanttest/BUILD.gn index ea31b2494fb85b12a04f6726092fcb4274598a6c..33e61d88a6d69e0dd00725176025e46b76bc5f3e 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 1ac0cd9094e5c194d3a6e4867434966015dcfb30..3704a1e9ea11154bd733d7c63825a5d05fe0600d 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 d3509f77f1a589b6f92fc83622e5a1be859e97f4..c1eae0ecee88fbd2ff64bc34e736651aebcd94d6 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 3bce5aef486cacf9934d3c247f1bddd4fc9d0e40..aa9d6335f45572be5cf1802ad395af085ae13e04 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 cd31ff137af71d287a3156f7e4aa31bf3a9dfa0c..2d44e36613ccba42cacb8d7f407bda94a63bb9f5 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 e208094c713e603347d3f9533c17998cf80fde3b..4d1a14f80aed704b0f80a17350197089246598bc 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 cf5e3685283d66e25b13e3a86fbff470fbedddb8..348716d200e0f1ce72cde8937a0defcc837b9947 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 8a58d20b4aabb1cfe12f8249e0fa42474ec88864..7cd0a5f22b915b54b1ec38d1472ff1a32a2dfc1b 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 6a5e08e4a7a2d0f25e49a96ffecb638b92f3d0fa..fadec7df89be369f411a3246f45a0660c8b23288 100755 --- a/hiviewdfx/hilogtest/hilogjstest/BUILD.gn +++ b/hiviewdfx/hilogtest/hilogjstest/BUILD.gn @@ -21,6 +21,8 @@ ohos_js_hap_suite("ActsHilogJsTest") { certificate_profile = "./signature/openharmony_sx.p7b" hap_name = "ActsHilogJsTest" + part_name = "hilog_native" + subsystem_name = "hiviewdfx" js_build_mode = "debug" shared_libraries = [ "./src/main/cpp:hilogndk" ] } diff --git a/hiviewdfx/hisyseventtest/hisyseventjstest/BUILD.gn b/hiviewdfx/hisyseventtest/hisyseventjstest/BUILD.gn index b211a5177ce4373c521c1145057d6fa45e2b69e9..0be4f53b99f762703ab0e683a68b9571c6dc2bee 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 d50b4f610d854a15db58059edbe38f690cb068f9..9f2de82ac5ce1df4fc7141ffcb5f430c1038378f 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/hitracechainjstest/src/main/js/test/HiTraceChainJs.test.js b/hiviewdfx/hitracechainjstest/src/main/js/test/HiTraceChainJs.test.js index a83df1c1a2a340e27008d4e9cad8718432e87534..5d96fed368568cab2d87188801a2e2524ef4684e 100644 --- a/hiviewdfx/hitracechainjstest/src/main/js/test/HiTraceChainJs.test.js +++ b/hiviewdfx/hitracechainjstest/src/main/js/test/HiTraceChainJs.test.js @@ -349,6 +349,404 @@ describe('HiTraceJsTest', function () { console.info('testHitraceApi12 end') done() }); - + + /** + * @tc.name: 接口测试-跟踪业务名为null + * @tc.number DFX_DFT_Hitrace_JS_01300 + * @tc.function A01010 + * @tc.feature DFX_DFT_Hitrace + * @tc.level Level3 + * @tc.type FUNC + */ + it('testHitraceApi013', 1, async function (done) { + console.info('testHitraceApi013 start'); + let traceId = hiTraceChain.begin(null); + let traceIdIsvalid = hiTraceChain.isValid(traceId); + expect(!traceIdIsvalid).assertTrue() + console.info('testHitraceApi013 end'); + done(); + }) + + /** + * @tc.name: 接口测试-跟踪业务名为undefined + * @tc.number DFX_DFT_Hitrace_JS_01400 + * @tc.function A01010 + * @tc.feature DFX_DFT_Hitrace + * @tc.level Level3 + * @tc.type FUNC + */ + it('testHitraceApi014', 1, async function (done) { + console.info('testHitraceApi014 start'); + let traceId = hiTraceChain.begin(undefined); + let traceIdIsvalid = hiTraceChain.isValid(traceId); + expect(!traceIdIsvalid).assertTrue() + console.info('testHitraceApi014 end'); + done(); + }) + + /** + * @tc.name: 接口测试-跟踪业务名为长度大于32位 + * @tc.number DFX_DFT_Hitrace_JS_01500 + * @tc.function A01010 + * @tc.feature DFX_DFT_Hitrace + * @tc.level Level3 + * @tc.type FUNC + */ + it('testHitraceApi015', 1, async function (done) { + console.info('testHitraceApi015 start'); + try{ + let traceId = hiTraceChain.begin("1234567890qwertyuiopasdfghjklzxcvbnm"); + let traceIdIsvalid = hiTraceChain.isValid(traceId); + if(!traceIdIsvalid){ + expect().assertFail(); + console.log(`testHitraceApi015 got an error: ${JSON.stringify(error)}`); + } + hiTraceChain.end(traceId); + } catch (error){ + console.log(`testHitraceApi015 got an error: ${JSON.stringify(error)}`); + expect().assertFail(); + done(); + } + console.info('testHitraceApi015 end'); + done(); + }) + + /** + * @tc.name: 接口测试-跟踪业务名为长度大于1024位 + * @tc.number DFX_DFT_Hitrace_JS_01600 + * @tc.function A01010 + * @tc.feature DFX_DFT_Hitrace + * @tc.level Level3 + * @tc.type FUNC + */ + it('testHitraceApi016', 1, async function (done) { + console.info('testHitraceApi016 start'); + try{ + let traceId = hiTraceChain.begin("1234567890qwertyuiopasdfghjklzxcvbnm1234567890qwertyuiopasdfghjklzxcvbnm1234567890qwertyuiopasdfghjklzxcvbnm12345678901234567890"); + let traceIdIsvalid = hiTraceChain.isValid(traceId); + if(!traceIdIsvalid){ + expect().assertFail(); + console.log(`testHitraceApi016 got an error: ${JSON.stringify(error)}`); + } + hiTraceChain.end(traceId); + } catch (error){ + console.log(`testHitraceApi016 got an error: ${JSON.stringify(error)}`); + expect().assertFail(); + done(); + } + console.info('testHitraceApi016 end'); + done(); + }) + + /** + * @tc.name: 接口测试-跟踪业务名为"" + * @tc.number DFX_DFT_Hitrace_JS_01700 + * @tc.function A01010 + * @tc.feature DFX_DFT_Hitrace + * @tc.level Level3 + * @tc.type FUNC + */ + it('testHitraceApi017', 1, async function (done) { + console.info('testHitraceApi017 start'); + try{ + let traceId = hiTraceChain.begin(""); + let traceIdIsvalid = hiTraceChain.isValid(traceId); + if(!traceIdIsvalid){ + expect().assertFail(); + console.log(`testHitraceApi017 got an error: ${JSON.stringify(error)}`); + } + hiTraceChain.end(traceId); + } catch (error){ + console.log(`testHitraceApi017 got an error: ${JSON.stringify(error)}`); + expect().assertFail(); + done(); + } + console.info('testHitraceApi017 end'); + done(); + }) + + /** + * @tc.name: 接口测试-跟踪业务名为" " + * @tc.number DFX_DFT_Hitrace_JS_01800 + * @tc.function A01010 + * @tc.feature DFX_DFT_Hitrace + * @tc.level Level3 + * @tc.type FUNC + */ + it('testHitraceApi018', 1, async function (done) { + console.info('testHitraceApi018 start'); + try{ + let traceId = hiTraceChain.begin(" "); + let traceIdIsvalid = hiTraceChain.isValid(traceId); + if(!traceIdIsvalid){ + expect().assertFail(); + console.log(`testHitraceApi018 got an error: ${JSON.stringify(error)}`); + } + hiTraceChain.end(traceId); + } catch (error){ + console.log(`testHitraceApi018 got an error: ${JSON.stringify(error)}`); + expect().assertFail(); + done(); + } + console.info('testHitraceApi018 end'); + done(); + }) + + /** + * @tc.name: 接口测试-跟踪业务名为"default" + * @tc.number DFX_DFT_Hitrace_JS_01900 + * @tc.function A01010 + * @tc.feature DFX_DFT_Hitrace + * @tc.level Level3 + * @tc.type FUNC + */ + it('testHitraceApi019', 1, async function (done) { + console.info('testHitraceApi019 start'); + try{ + let traceId = hiTraceChain.begin("default"); + let traceIdIsvalid = hiTraceChain.isValid(traceId); + if(!traceIdIsvalid){ + expect().assertFail(); + console.log(`testHitraceApi019 got an error: ${JSON.stringify(error)}`); + } + hiTraceChain.end(traceId); + } catch (error){ + console.log(`testHitraceApi019 got an error: ${JSON.stringify(error)}`); + expect().assertFail(); + done(); + } + console.info('testHitraceApi019 end'); + done(); + }) + + /** + * @tc.name: 接口测试-跟踪业务名为中文字符 + * @tc.number DFX_DFT_Hitrace_JS_02000 + * @tc.function A01010 + * @tc.feature DFX_DFT_Hitrace + * @tc.level Level3 + * @tc.type FUNC + */ + it('testHitraceApi020', 1, async function (done) { + console.info('testHitraceApi020 start'); + try{ + let traceId = hiTraceChain.begin("华为"); + let traceIdIsvalid = hiTraceChain.isValid(traceId); + if(!traceIdIsvalid){ + expect().assertFail(); + console.log(`testHitraceApi020 got an error: ${JSON.stringify(error)}`); + } + hiTraceChain.end(traceId); + } catch (error){ + console.log(`testHitraceApi020 got an error: ${JSON.stringify(error)}`); + expect().assertFail(); + done(); + } + console.info('testHitraceApi020 end'); + done(); + }) + + /** + * @tc.name: 接口测试-HiTraceCommunicationMode为DEFAULT + * @tc.number DFX_DFT_Hitrace_JS_02100 + * @tc.function A01010 + * @tc.feature DFX_DFT_Hitrace + * @tc.level Level3 + * @tc.type FUNC + */ + it('testHitraceApi021', 1, async function (done) { + console.info('testHitraceApi021 start'); + try{ + let traceId = hiTraceChain.begin("hitrace03", hiTraceChain.HiTraceFlag.TP_INFO); + let curTraceId = hiTraceChain.getId(); + if(traceId.chainId != curTraceId.chainId){ + expect().assertFail(); + console.log(`testHitraceApi021 got an error: ${JSON.stringify(error)}`); + } + hiTraceChain.tracepoint(hiTraceChain.HiTraceCommunicationMode.DEFAULT, + hiTraceChain.HiTraceTracepointType.SS, traceId, "hitrace api test."); + hiTraceChain.end(traceId); + } catch (error){ + console.log(`testHitraceApi021 got an error: ${JSON.stringify(error)}`); + expect().assertFail(); + done(); + } + console.info('testHitraceApi021 end'); + done(); + }) + + /** + * @tc.name: 接口测试-HiTraceCommunicationMode为PROCESS + * @tc.number DFX_DFT_Hitrace_JS_02200 + * @tc.function A01010 + * @tc.feature DFX_DFT_Hitrace + * @tc.level Level3 + * @tc.type FUNC + */ + it('testHitraceApi022', 1, async function (done) { + console.info('testHitraceApi022 start'); + try{ + let traceId = hiTraceChain.begin("hitrace03", hiTraceChain.HiTraceFlag.TP_INFO); + let curTraceId = hiTraceChain.getId(); + if(traceId.chainId != curTraceId.chainId){ + expect().assertFail(); + console.log(`testHitraceApi022 got an error: ${JSON.stringify(error)}`); + } + hiTraceChain.tracepoint(hiTraceChain.HiTraceCommunicationMode.PROCESS, + hiTraceChain.HiTraceTracepointType.SS, traceId, "hitrace api test."); + hiTraceChain.end(traceId); + } catch (error){ + console.log(`testHitraceApi022 got an error: ${JSON.stringify(error)}`); + expect().assertFail(); + done(); + } + console.info('testHitraceApi022 end'); + done(); + }) + + /** + * @tc.name: 接口测试-HiTraceCommunicationMode为DEVICE + * @tc.number DFX_DFT_Hitrace_JS_02300 + * @tc.function A01010 + * @tc.feature DFX_DFT_Hitrace + * @tc.level Level3 + * @tc.type FUNC + */ + it('testHitraceApi023', 1, async function (done) { + console.info('testHitraceApi023 start'); + try{ + let traceId = hiTraceChain.begin("testHitraceApi023", hiTraceChain.HiTraceFlag.TP_INFO); + let curTraceId = hiTraceChain.getId(); + if(traceId.chainId != curTraceId.chainId){ + expect().assertFail(); + console.log(`testHitraceApi023 got an error: ${JSON.stringify(error)}`); + } + hiTraceChain.tracepoint(hiTraceChain.HiTraceCommunicationMode.DEVICE, + hiTraceChain.HiTraceTracepointType.SS, traceId, "hitrace api test."); + hiTraceChain.end(traceId); + } catch (error){ + console.log(`testHitraceApi023 got an error: ${JSON.stringify(error)}`); + expect().assertFail(); + done(); + } + console.info('testHitraceApi023 end'); + done(); + }) + + /** + * @tc.name: 接口测试-HiTraceTracepointType为CS + * @tc.number DFX_DFT_Hitrace_JS_02400 + * @tc.function A01010 + * @tc.feature DFX_DFT_Hitrace + * @tc.level Level3 + * @tc.type FUNC + */ + it('testHitraceApi024', 1, async function (done) { + console.info('testHitraceApi024 start'); + try{ + let traceId = hiTraceChain.begin("testHitraceApi024", hiTraceChain.HiTraceFlag.TP_INFO); + let curTraceId = hiTraceChain.getId(); + if(traceId.chainId != curTraceId.chainId){ + expect().assertFail(); + console.log(`testHitraceApi024 got an error: ${JSON.stringify(error)}`); + } + hiTraceChain.tracepoint(hiTraceChain.HiTraceCommunicationMode.DEVICE, + hiTraceChain.HiTraceTracepointType.CS, traceId, "hitrace api test."); + hiTraceChain.end(traceId); + } catch (error){ + console.log(`testHitraceApi024 got an error: ${JSON.stringify(error)}`); + expect().assertFail(); + done(); + } + console.info('testHitraceApi024 end'); + done(); + }) + + /** + * @tc.name: 接口测试-HiTraceTracepointType为CR + * @tc.number DFX_DFT_Hitrace_JS_02500 + * @tc.function A01010 + * @tc.feature DFX_DFT_Hitrace + * @tc.level Level3 + * @tc.type FUNC + */ + it('testHitraceApi025', 1, async function (done) { + console.info('testHitraceApi025 start'); + try{ + let traceId = hiTraceChain.begin("testHitraceApi025", hiTraceChain.HiTraceFlag.TP_INFO); + let curTraceId = hiTraceChain.getId(); + if(traceId.chainId != curTraceId.chainId){ + expect().assertFail(); + console.log(`testHitraceApi025 got an error: ${JSON.stringify(error)}`); + } + hiTraceChain.tracepoint(hiTraceChain.HiTraceCommunicationMode.DEVICE, + hiTraceChain.HiTraceTracepointType.CR, traceId, "hitrace api test."); + hiTraceChain.end(traceId); + } catch (error){ + console.log(`testHitraceApi025 got an error: ${JSON.stringify(error)}`); + expect().assertFail(); + done(); + } + console.info('testHitraceApi025 end'); + done(); + }) + + /** + * @tc.name: 接口测试-HiTraceTracepointType为SR + * @tc.number DFX_DFT_Hitrace_JS_02600 + * @tc.function A01010 + * @tc.feature DFX_DFT_Hitrace + * @tc.level Level3 + * @tc.type FUNC + */ + it('testHitraceApi026', 1, async function (done) { + console.info('testHitraceApi026 start'); + try{ + let traceId = hiTraceChain.begin("testHitraceApi026", hiTraceChain.HiTraceFlag.TP_INFO); + let curTraceId = hiTraceChain.getId(); + if(traceId.chainId != curTraceId.chainId){ + expect().assertFail(); + console.log(`testHitraceApi026 got an error: ${JSON.stringify(error)}`); + } + hiTraceChain.tracepoint(hiTraceChain.HiTraceCommunicationMode.DEVICE, + hiTraceChain.HiTraceTracepointType.SR, traceId, "hitrace api test."); + hiTraceChain.end(traceId); + } catch (error){ + console.log(`testHitraceApi026 got an error: ${JSON.stringify(error)}`); + expect().assertFail(); + done(); + } + console.info('testHitraceApi026 end'); + done(); + }) + + /** + * @tc.name: 接口测试-HiTraceTracepointType为GENERAL + * @tc.number DFX_DFT_Hitrace_JS_02700 + * @tc.function A01010 + * @tc.feature DFX_DFT_Hitrace + * @tc.level Level3 + * @tc.type FUNC + */ + it('testHitraceApi027', 1, async function (done) { + console.info('testHitraceApi027 start'); + try{ + let traceId = hiTraceChain.begin("testHitraceApi027", hiTraceChain.HiTraceFlag.TP_INFO); + let curTraceId = hiTraceChain.getId(); + if(traceId.chainId != curTraceId.chainId){ + expect().assertFail(); + console.log(`testHitraceApi027 got an error: ${JSON.stringify(error)}`); + } + hiTraceChain.tracepoint(hiTraceChain.HiTraceCommunicationMode.DEVICE, + hiTraceChain.HiTraceTracepointType.GENERAL, traceId, "hitrace api test."); + hiTraceChain.end(traceId); + } catch (error){ + console.log(`testHitraceApi027 got an error: ${JSON.stringify(error)}`); + expect().assertFail(); + done(); + } + console.info('testHitraceApi027 end'); + done(); + }) }) } diff --git a/hiviewdfx/hitracemetertest/BUILD.gn b/hiviewdfx/hitracemetertest/BUILD.gn index 3e6dc12ba5dad76cd7b5c00f5d09643dfa851c79..5923e2061b5a9580bbbfbb6cba2a069d7fa363a2 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 32d0b171536311673f3abb051f717a1875cd0968..621fa778f21cff057a6250cd150485703ffae0df 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