diff --git a/screenhandler/BUILD.gn b/screenhandler/BUILD.gn index 1f32267fc3512bb7905bbc250a56926da714bed2..727296f6c4b7442b61b239236d021a533f4a7238 100644 --- a/screenhandler/BUILD.gn +++ b/screenhandler/BUILD.gn @@ -13,45 +13,42 @@ import("//build/ohos.gni") import("//build/ohos_var.gni") -import("//foundation/distributedhardware/distributedscreen/distributedscreen.gni") +import( + "//foundation/distributedhardware/distributedscreen/distributedscreen.gni") ohos_shared_library("distributed_screen_handler") { - include_dirs = [ - "//third_party/json/include", - "${windowmanager_path}/interfaces/innerkits/dm", - "${mediastandard_path}/interfaces/innerkits/native/media/include", - "${fwk_common_path}/utils/include", - ] - - include_dirs += [ - "include", - "${common_path}/include", - ] - - sources = [ - "src/dscreen_handler.cpp", - ] - - deps = [ - "//utils/native/base:utils", - "${mediastandard_path}/interfaces/innerkits/native/media:media_client", - "//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy", - "//foundation/graphic/standard/rosen/modules/render_service_client:librender_service_client", - "${windowmanager_path}/dm:libdm", - "${common_path}:distributed_screen_utils", - ] - - defines = [ - "HI_LOG_ENABLE", - "DH_LOG_TAG=\"dscreenhandler\"", - "LOG_DOMAIN=0xD004100", - ] - - external_deps = [ - "hiviewdfx_hilog_native:libhilog", - ] - - subsystem_name = "distributedhardware" - - part_name = "distributed_screen" -} \ No newline at end of file + include_dirs = [ + "//third_party/json/include", + "${windowmanager_path}/interfaces/innerkits/dm", + "${mediastandard_path}/interfaces/inner_api/native", + "${fwk_common_path}/utils/include", + ] + + include_dirs += [ + "include", + "${common_path}/include", + ] + + sources = [ "src/dscreen_handler.cpp" ] + + deps = [ + "${common_path}:distributed_screen_utils", + "${mediastandard_path}/interfaces/inner_api/native:media_client", + "${windowmanager_path}/dm:libdm", + "//foundation/distributedschedule/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy", + "//foundation/graphic/standard/rosen/modules/render_service_client:librender_service_client", + "//utils/native/base:utils", + ] + + defines = [ + "HI_LOG_ENABLE", + "DH_LOG_TAG=\"dscreenhandler\"", + "LOG_DOMAIN=0xD004100", + ] + + external_deps = [ "hiviewdfx_hilog_native:libhilog" ] + + subsystem_name = "distributedhardware" + + part_name = "distributed_screen" +} diff --git a/services/screenservice/sourceservice/BUILD.gn b/services/screenservice/sourceservice/BUILD.gn index 499e9a1eae1952bd370c4f695633f09cb0dc2e9e..922c984444db5ca4c7ca6fc1086a42bbaa765211 100644 --- a/services/screenservice/sourceservice/BUILD.gn +++ b/services/screenservice/sourceservice/BUILD.gn @@ -24,7 +24,7 @@ ohos_shared_library("distributed_screen_source") { "//utils/system/safwk/native/include", "//foundation/graphic/standard/interfaces/innerkits/surface", "${fwk_common_path}/utils/include", - "${mediastandard_path}/interfaces/innerkits/native/media/include", + "${mediastandard_path}/interfaces/inner_api/native", ] include_dirs += [ @@ -59,7 +59,7 @@ ohos_shared_library("distributed_screen_source") { deps = [ "${common_path}:distributed_screen_utils", - "${mediastandard_path}/interfaces/innerkits/native/media:media_client", + "${mediastandard_path}/interfaces/inner_api/native:media_client", "${services_path}/screentransport/screensourcetrans:distributed_screen_sourcetrans", "${windowmanager_path}/dm:libdm", "//foundation/graphic/standard/frameworks/surface:surface",