diff --git a/sa_profile/4805.json b/sa_profile/4805.json index 767e7aef22a50a4a33300fb11ba8da2439ce1640..67fe34cb199e8f0588a21e753007a9dde480f834 100644 --- a/sa_profile/4805.json +++ b/sa_profile/4805.json @@ -5,7 +5,7 @@ "name": 4805, "libpath": "libdistributed_audio_source.z.so", "run-on-create": false, - "distributed": true, + "distributed": false, "dump_level": 1 } ] diff --git a/sa_profile/4806.json b/sa_profile/4806.json index 5bf1607a05ca00197b80aadb4db59e471ee96b2d..6339062ecb08f10942ba2158f017341a85bcd0eb 100644 --- a/sa_profile/4806.json +++ b/sa_profile/4806.json @@ -5,7 +5,7 @@ "name": 4806, "libpath": "libdistributed_audio_sink.z.so", "run-on-create": false, - "distributed": true, + "distributed": false, "dump_level": 1 } ] diff --git a/sa_profile/BUILD.gn b/sa_profile/BUILD.gn index ef9cf270c9701a216b738891f955b40d0453c491..9bdf907390ecdee4e10f36e4bb5a0528a2dd2d39 100644 --- a/sa_profile/BUILD.gn +++ b/sa_profile/BUILD.gn @@ -12,12 +12,20 @@ # limitations under the License. import("//build/ohos.gni") +import("../distributedaudio.gni") ohos_sa_profile("daudio_sa_profile") { - sources = [ - "4805.json", - "4806.json", - ] + if (distributed_audio_extension_sa) { + sources = [ + "4805.json", + "4806.json", + ] + } else { + sources = [ + "common/4805.json", + "common/4806.json", + ] + } part_name = "distributed_audio" } diff --git a/sa_profile/common/4805.json b/sa_profile/common/4805.json new file mode 100644 index 0000000000000000000000000000000000000000..767e7aef22a50a4a33300fb11ba8da2439ce1640 --- /dev/null +++ b/sa_profile/common/4805.json @@ -0,0 +1,12 @@ +{ + "process": "daudio", + "systemability": [ + { + "name": 4805, + "libpath": "libdistributed_audio_source.z.so", + "run-on-create": false, + "distributed": true, + "dump_level": 1 + } + ] +} \ No newline at end of file diff --git a/sa_profile/common/4806.json b/sa_profile/common/4806.json new file mode 100644 index 0000000000000000000000000000000000000000..5bf1607a05ca00197b80aadb4db59e471ee96b2d --- /dev/null +++ b/sa_profile/common/4806.json @@ -0,0 +1,12 @@ +{ + "process": "daudio", + "systemability": [ + { + "name": 4806, + "libpath": "libdistributed_audio_sink.z.so", + "run-on-create": false, + "distributed": true, + "dump_level": 1 + } + ] +} \ No newline at end of file