diff --git a/multimedia/av_codec/audio_codec/BUILD.gn b/multimedia/av_codec/audio_codec/BUILD.gn index 1758e9055..4f5ca4be6 100644 --- a/multimedia/av_codec/audio_codec/BUILD.gn +++ b/multimedia/av_codec/audio_codec/BUILD.gn @@ -16,8 +16,7 @@ import("//build/ohos/ndk/ndk.gni") ohos_ndk_headers("native_media_acodec_header") { dest_dir = "$ndk_headers_out_dir/multimedia/player_framework" - sources = - [ "//interface/sdk_c/multimedia/av_codec/native_avcodec_audiocodec.h" ] + sources = [ "../native_avcodec_audiocodec.h" ] } ohos_ndk_library("libnative_media_acodec") { diff --git a/multimedia/av_codec/audio_decoder/BUILD.gn b/multimedia/av_codec/audio_decoder/BUILD.gn index bee0a5e69..af55b57f8 100644 --- a/multimedia/av_codec/audio_decoder/BUILD.gn +++ b/multimedia/av_codec/audio_decoder/BUILD.gn @@ -15,8 +15,7 @@ import("//build/ohos.gni") import("//build/ohos/ndk/ndk.gni") ohos_ndk_headers("native_media_adec_header") { dest_dir = "$ndk_headers_out_dir/multimedia/player_framework" - sources = - [ "//interface/sdk_c/multimedia/av_codec/native_avcodec_audiodecoder.h" ] + sources = [ "../native_avcodec_audiodecoder.h" ] } ohos_ndk_library("libnative_media_adec") { diff --git a/multimedia/av_codec/audio_encoder/BUILD.gn b/multimedia/av_codec/audio_encoder/BUILD.gn index 8ecb69c8a..c19086740 100644 --- a/multimedia/av_codec/audio_encoder/BUILD.gn +++ b/multimedia/av_codec/audio_encoder/BUILD.gn @@ -15,8 +15,7 @@ import("//build/ohos.gni") import("//build/ohos/ndk/ndk.gni") ohos_ndk_headers("native_media_aenc_header") { dest_dir = "$ndk_headers_out_dir/multimedia/player_framework" - sources = - [ "//interface/sdk_c/multimedia/av_codec/native_avcodec_audioencoder.h" ] + sources = [ "../native_avcodec_audioencoder.h" ] } ohos_ndk_library("libnative_media_aenc") { diff --git a/multimedia/av_codec/avdemuxer/BUILD.gn b/multimedia/av_codec/avdemuxer/BUILD.gn index 54e236d9f..c8a28ddc3 100644 --- a/multimedia/av_codec/avdemuxer/BUILD.gn +++ b/multimedia/av_codec/avdemuxer/BUILD.gn @@ -15,7 +15,7 @@ import("//build/ohos.gni") import("//build/ohos/ndk/ndk.gni") ohos_ndk_headers("native_media_avdemuxer_header") { dest_dir = "$ndk_headers_out_dir/multimedia/player_framework" - sources = [ "//interface/sdk_c/multimedia/av_codec/native_avdemuxer.h" ] + sources = [ "../native_avdemuxer.h" ] } ohos_ndk_library("libnative_media_avdemuxer") { diff --git a/multimedia/av_codec/avmuxer/BUILD.gn b/multimedia/av_codec/avmuxer/BUILD.gn index 5002afe02..97edfd594 100644 --- a/multimedia/av_codec/avmuxer/BUILD.gn +++ b/multimedia/av_codec/avmuxer/BUILD.gn @@ -15,7 +15,7 @@ import("//build/ohos.gni") import("//build/ohos/ndk/ndk.gni") ohos_ndk_headers("native_media_avmuxer_header") { dest_dir = "$ndk_headers_out_dir/multimedia/player_framework" - sources = [ "//interface/sdk_c/multimedia/av_codec/native_avmuxer.h" ] + sources = [ "../native_avmuxer.h" ] } ohos_ndk_library("libnative_media_avmuxer") { diff --git a/multimedia/av_codec/avsource/BUILD.gn b/multimedia/av_codec/avsource/BUILD.gn index 395fc8474..388dfe852 100644 --- a/multimedia/av_codec/avsource/BUILD.gn +++ b/multimedia/av_codec/avsource/BUILD.gn @@ -15,7 +15,7 @@ import("//build/ohos.gni") import("//build/ohos/ndk/ndk.gni") ohos_ndk_headers("native_media_avsource_header") { dest_dir = "$ndk_headers_out_dir/multimedia/player_framework" - sources = [ "//interface/sdk_c/multimedia/av_codec/native_avsource.h" ] + sources = [ "../native_avsource.h" ] } ohos_ndk_library("libnative_media_avsource") { diff --git a/multimedia/av_codec/codec_base/BUILD.gn b/multimedia/av_codec/codec_base/BUILD.gn index 99e9bf280..30ff2ef20 100644 --- a/multimedia/av_codec/codec_base/BUILD.gn +++ b/multimedia/av_codec/codec_base/BUILD.gn @@ -16,9 +16,9 @@ import("//build/ohos/ndk/ndk.gni") ohos_ndk_headers("native_media_codecbase_header") { dest_dir = "$ndk_headers_out_dir/multimedia/player_framework" sources = [ - "//interface/sdk_c/multimedia/av_codec/avcodec_audio_channel_layout.h", - "//interface/sdk_c/multimedia/av_codec/native_avcapability.h", - "//interface/sdk_c/multimedia/av_codec/native_avcodec_base.h", + "../avcodec_audio_channel_layout.h", + "../native_avcapability.h", + "../native_avcodec_base.h", ] } diff --git a/multimedia/av_codec/video_decoder/BUILD.gn b/multimedia/av_codec/video_decoder/BUILD.gn index ed160ae96..2f7b753b0 100644 --- a/multimedia/av_codec/video_decoder/BUILD.gn +++ b/multimedia/av_codec/video_decoder/BUILD.gn @@ -15,8 +15,7 @@ import("//build/ohos.gni") import("//build/ohos/ndk/ndk.gni") ohos_ndk_headers("native_media_vdec_header") { dest_dir = "$ndk_headers_out_dir/multimedia/player_framework" - sources = - [ "//interface/sdk_c/multimedia/av_codec/native_avcodec_videodecoder.h" ] + sources = [ "../native_avcodec_videodecoder.h" ] } ohos_ndk_library("libnative_media_vdec") { diff --git a/multimedia/av_codec/video_encoder/BUILD.gn b/multimedia/av_codec/video_encoder/BUILD.gn index e3d3000a0..9878bd444 100644 --- a/multimedia/av_codec/video_encoder/BUILD.gn +++ b/multimedia/av_codec/video_encoder/BUILD.gn @@ -15,8 +15,7 @@ import("//build/ohos.gni") import("//build/ohos/ndk/ndk.gni") ohos_ndk_headers("native_media_venc_header") { dest_dir = "$ndk_headers_out_dir/multimedia/player_framework" - sources = - [ "//interface/sdk_c/multimedia/av_codec/native_avcodec_videoencoder.h" ] + sources = [ "../native_avcodec_videoencoder.h" ] } ohos_ndk_library("libnative_media_venc") { diff --git a/multimedia/media_foundation/core/BUILD.gn b/multimedia/media_foundation/core/BUILD.gn index 8e0fa912b..b0bc5678e 100644 --- a/multimedia/media_foundation/core/BUILD.gn +++ b/multimedia/media_foundation/core/BUILD.gn @@ -17,11 +17,11 @@ import("//build/ohos/ndk/ndk.gni") ohos_ndk_headers("native_media_core_header") { dest_dir = "$ndk_headers_out_dir/multimedia/player_framework" sources = [ - "//interface/sdk_c/multimedia/media_foundation/native_avbuffer.h", - "//interface/sdk_c/multimedia/media_foundation/native_avbuffer_info.h", - "//interface/sdk_c/multimedia/media_foundation/native_averrors.h", - "//interface/sdk_c/multimedia/media_foundation/native_avformat.h", - "//interface/sdk_c/multimedia/media_foundation/native_avmemory.h", + "../native_avbuffer.h", + "../native_avbuffer_info.h", + "../native_averrors.h", + "../native_avformat.h", + "../native_avmemory.h", ] }