Description:reduce gn deps

Sig:SIG_ApplicationFramework
Feature or Bugfix:Bugfix
Binary Source:No

Signed-off-by: yuwenze <yuaqiang1@huawei.com>
Change-Id: I83f6327e92c16bd0b6f0f47060ba340a2502893e
This commit is contained in:
yuwenze
2022-08-22 15:27:28 +08:00
parent e8645a57a1
commit d47fb2bef4
56 changed files with 1 additions and 66 deletions
-1
View File
@@ -70,7 +70,6 @@ config("abilityms_config") {
"${multimedia_path}/interfaces/innerkits/include",
"${graphic_path}/interfaces/inner_api/wmservice",
"${global_path}/i18n/frameworks/intl/include",
"//third_party/libjpeg",
]
defines += [ "SUPPORT_GRAPHICS" ]
@@ -51,7 +51,6 @@ ohos_moduletest("ability_manager_service_dump_test") {
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -58,7 +58,6 @@ ohos_moduletest("AbilityRecordModuleTest") {
"${global_path}/i18n/frameworks/intl:intl_util",
"${multimedia_path}/interfaces/innerkits:image_native",
"//third_party/icu/icu4c:shared_icuuc",
"//third_party/libjpeg:libjpeg_static",
]
}
@@ -63,7 +63,6 @@ ohos_moduletest("ability_timeout_module_test") {
"${global_path}/i18n/frameworks/intl:intl_util",
"${multimedia_path}/interfaces/innerkits:image_native",
"//third_party/icu/icu4c:shared_icuuc",
"//third_party/libjpeg:libjpeg_static",
]
}
@@ -48,7 +48,6 @@ ohos_moduletest("call_ability_service_module_test") {
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -64,7 +64,6 @@ ohos_moduletest("specified_ability_service_test") {
"${ace_engine_path}/interfaces/inner_api/ui_service_manager:ui_service_mgr",
"${global_path}/i18n/frameworks/intl:intl_util",
"${multimedia_path}/interfaces/innerkits:image_native",
"//third_party/libjpeg:libjpeg_static",
]
}
@@ -34,10 +34,6 @@ ohos_moduletest("IpcAbilityConnectModuleTest") {
"//third_party/googletest:gtest_main",
]
if (ability_runtime_graphics) {
deps += [ "//third_party/libjpeg:libjpeg_static" ]
}
external_deps = [
"ability_base:want",
"c_utils:utilsbase",
@@ -38,10 +38,6 @@ ohos_moduletest("IpcAbilityMgrServiceModuleTest") {
"//third_party/jsoncpp:jsoncpp",
]
if (ability_runtime_graphics) {
deps += [ "//third_party/libjpeg:libjpeg_static" ]
}
external_deps = [
"ability_base:want",
"ability_base:zuri",
@@ -42,10 +42,6 @@ ohos_moduletest("IpcAbilitySchedulerModuleTest") {
"//third_party/jsoncpp:jsoncpp",
]
if (ability_runtime_graphics) {
deps += [ "//third_party/libjpeg:libjpeg_static" ]
}
external_deps = [
"ability_base:base",
"ability_base:configuration",
@@ -46,7 +46,6 @@ ohos_moduletest("mission_dump_test") {
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -62,7 +62,6 @@ ohos_moduletest("on_new_want_module_test") {
"${ace_engine_path}/interfaces/inner_api/ui_service_manager:ui_service_mgr",
"${global_path}/i18n/frameworks/intl:intl_util",
"${multimedia_path}/interfaces/innerkits:image_native",
"//third_party/libjpeg:libjpeg_static",
]
}
@@ -87,7 +87,6 @@ ohos_moduletest("PandingWantMgrTest") {
deps += [
"${ace_engine_path}/interfaces/inner_api/ui_service_manager:ui_service_mgr",
"${global_path}/i18n/frameworks/intl:intl_util",
"//third_party/libjpeg:libjpeg_static",
]
external_deps += [ "multimedia_image_standard:image_native" ]
@@ -64,7 +64,6 @@ ohos_moduletest("running_infos_module_test") {
"${global_path}/i18n/frameworks/intl:intl_util",
"${multimedia_path}/interfaces/innerkits:image_native",
"//third_party/icu/icu4c:shared_icuuc",
"//third_party/libjpeg:libjpeg_static",
]
}
@@ -67,7 +67,6 @@ ohos_moduletest("start_ability_implicit_module_test") {
"${global_path}/i18n/frameworks/intl:intl_util",
"${multimedia_path}/interfaces/innerkits:image_native",
"//third_party/icu/icu4c:shared_icuuc",
"//third_party/libjpeg:libjpeg_static",
]
}
@@ -45,7 +45,6 @@ ohos_moduletest("start_option_module_test") {
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
+1
View File
@@ -234,6 +234,7 @@ ohos_source_set("abilityms_test_source") {
"${global_path}/i18n/frameworks/intl:intl_util",
"${multimedia_path}/interfaces/innerkits:image_native",
"//third_party/icu/icu4c:shared_icuuc",
"//third_party/libjpeg:libjpeg_static",
]
external_deps += [
"input:libmmi-client",
@@ -46,7 +46,6 @@ ohos_unittest("ability_connect_callback_proxy_test") {
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/appexecfwk_core:appexecfwk_bundlemgr_mock",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -46,7 +46,6 @@ ohos_unittest("ability_connect_callback_stub_test") {
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/appexecfwk_core:appexecfwk_bundlemgr_mock",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -42,7 +42,6 @@ ohos_unittest("ability_connect_manage_test") {
"${distributedschedule_path}/safwk/interfaces/innerkits/safwk:system_ability_fwk",
"${distributedschedule_path}/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -43,7 +43,6 @@ ohos_unittest("ability_manager_client_test") {
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/appexecfwk_core:appexecfwk_bundlemgr_mock",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -49,7 +49,6 @@ ohos_unittest("ability_manager_proxy_test") {
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/appexecfwk_core:appexecfwk_bundlemgr_mock",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -49,7 +49,6 @@ ohos_unittest("ability_manager_service_account_test") {
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -54,7 +54,6 @@ ohos_unittest("ability_manager_service_anr_test") {
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/icu/icu4c:shared_icuuc",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -49,7 +49,6 @@ ohos_unittest("ability_manager_stub_test") {
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/appexecfwk_core:appexecfwk_bundlemgr_mock",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -47,7 +47,6 @@ ohos_unittest("ability_record_test") {
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -100,7 +99,6 @@ ohos_unittest("ability_record_test_call") {
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -48,7 +48,6 @@ ohos_unittest("ability_scheduler_proxy_test") {
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -46,7 +46,6 @@ ohos_unittest("ability_scheduler_stub_test") {
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/appexecfwk_core:appexecfwk_bundlemgr_mock",
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -48,7 +48,6 @@ ohos_unittest("ability_service_start_test") {
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -49,7 +49,6 @@ ohos_unittest("ability_timeout_test") {
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -46,7 +46,6 @@ ohos_unittest("ability_token_proxy_test") {
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/appexecfwk_core:appexecfwk_bundlemgr_mock",
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -46,7 +46,6 @@ ohos_unittest("ability_token_stub_test") {
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/appexecfwk_core:appexecfwk_bundlemgr_mock",
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -50,7 +50,6 @@ ohos_unittest("app_scheduler_test") {
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -44,7 +44,6 @@ ohos_unittest("call_container_test") {
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -49,7 +49,6 @@ ohos_unittest("configuration_test") {
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -47,7 +47,6 @@ ohos_unittest("connection_record_test") {
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -51,7 +51,6 @@ ohos_unittest("data_ability_manager_test") {
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -51,7 +51,6 @@ ohos_unittest("data_ability_record_test") {
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -48,7 +48,6 @@ ohos_unittest("lifecycle_deal_test") {
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
-1
View File
@@ -48,7 +48,6 @@ ohos_unittest("lifecycle_test") {
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -46,7 +46,6 @@ ohos_unittest("mission_list_manager_test") {
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/appexecfwk_core:appexecfwk_bundlemgr_mock",
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -46,7 +46,6 @@ ohos_unittest("mission_list_manager_ut_test") {
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
-2
View File
@@ -46,7 +46,6 @@ ohos_unittest("mission_list_test") {
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/appexecfwk_core:appexecfwk_bundlemgr_mock",
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -81,7 +80,6 @@ ohos_unittest("mission_list_test_call") {
"${ability_runtime_services_path}/common:perm_verification",
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
-1
View File
@@ -46,7 +46,6 @@ ohos_unittest("mission_test") {
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/appexecfwk_core:appexecfwk_bundlemgr_mock",
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -38,7 +38,6 @@ ohos_unittest("pending_want_key_test") {
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -45,7 +45,6 @@ ohos_unittest("pending_want_manager_test") {
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -45,7 +45,6 @@ ohos_unittest("pending_want_record_test") {
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -49,7 +49,6 @@ ohos_unittest("running_infos_test") {
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
-1
View File
@@ -45,7 +45,6 @@ ohos_unittest("sender_info_test") {
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -46,7 +46,6 @@ ohos_unittest("specified_mission_list_test") {
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/appexecfwk_core:appexecfwk_bundlemgr_mock",
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -49,7 +49,6 @@ ohos_unittest("start_option_display_id_test") {
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -46,7 +46,6 @@ ohos_unittest("want_receiver_proxy_test") {
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/appexecfwk_core:appexecfwk_bundlemgr_mock",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -47,7 +47,6 @@ ohos_unittest("want_receiver_stub_test") {
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/appexecfwk_core:appexecfwk_bundlemgr_mock",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -45,7 +45,6 @@ ohos_unittest("want_sender_info_test") {
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -46,7 +46,6 @@ ohos_unittest("want_sender_proxy_test") {
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/appexecfwk_core:appexecfwk_bundlemgr_mock",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
@@ -47,7 +47,6 @@ ohos_unittest("want_sender_stub_test") {
"${ability_runtime_test_path}/mock/services_abilitymgr_test/libs/appexecfwk_core:appexecfwk_bundlemgr_mock",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [
-1
View File
@@ -45,7 +45,6 @@ ohos_unittest("wants_info_test") {
"${ability_runtime_test_path}/unittest:abilityms_test_source",
"//third_party/googletest:gmock_main",
"//third_party/googletest:gtest_main",
"//third_party/libjpeg:libjpeg_static",
]
external_deps = [