diff --git a/bundle.json b/bundle.json index b72d566bfbb504dac84757fe4677726516bb23d4..4ee974d73df95871bf73f49c84438e11f7ece004 100755 --- a/bundle.json +++ b/bundle.json @@ -15,6 +15,9 @@ "adapted_system_type": [ "standard" ], + "features": [ + "smartperf_host_device" + ], "hisysevent_config": [ "//developtools/smartperf_host/smartperf_device/hisysevent.yaml" ], diff --git a/smartperf_device/BUILD.gn b/smartperf_device/BUILD.gn index d893e5648e01cde575ba864f3a36c8be8149dcc3..32f491e74b12ade9d93c7c827f35ae6e32f96667 100644 --- a/smartperf_device/BUILD.gn +++ b/smartperf_device/BUILD.gn @@ -16,8 +16,9 @@ import("./build/config.gni") group("SmartPerf") { deps = [] - if (support_jsapi && smartperf_Device) { - deps += - [ "//developtools/smartperf_host/smartperf_device/device_ui/:SmartPerf" ] + if (support_jsapi && smartperf_host_device) { + deps += [ + "//developtools/smartperf_host/smartperf_device/device_ui/:SmartPerf", + ] } } diff --git a/smartperf_device/build/config.gni b/smartperf_device/build/config.gni index 7d0f5400f914d609ea83d24f8d17f2d6e8bd5c3d..95a080a1b81afa99ac08d1b24a0e26754f70bed6 100644 --- a/smartperf_device/build/config.gni +++ b/smartperf_device/build/config.gni @@ -15,10 +15,11 @@ OHOS_SMARTPERF_HOST_DIR = get_path_info("../..", "abspath") OHOS_SMARTPERF_DEVICE_SUBSYS_NAME = "developtools" OHOS_SMARTPERF_DEVICE_PART_NAME = "smartperf_host" -OHOS_SMARTPERF_DEVICE_TEST_MODULE_OUTPUT_PATH = "smartperf_host/smartperf_device" +OHOS_SMARTPERF_DEVICE_TEST_MODULE_OUTPUT_PATH = + "smartperf_host/smartperf_device" declare_args() { - smartperf_Device = true + smartperf_host_device = false } declare_args() {