Signed-off-by: zhangjidong <873721519@qq.com>
This commit is contained in:
zhangjidong 2024-03-30 17:20:50 +08:00
commit 70aca99725

View File

@ -12,13 +12,11 @@
# limitations under the License.
import("//build/ohos.gni")
import("//foundation/ability/idl_tool/idl_tool.gni")
import("//foundation/ability/idl_tool/idl_config.gni")
import("//foundation/ability/idl_tool/idl_tool.gni")
idl_gen_interface("native_idl_test_service") {
sources = [
"IIdlTestService.idl",
]
sources = [ "IIdlTestService.idl" ]
sanitize = {
cfi = false
cfi_cross_dso = false
@ -32,9 +30,7 @@ idl_gen_interface("native_idl_test_service") {
}
config("ipc_test_config") {
include_dirs = [
"include",
]
include_dirs = [ "include" ]
}
ohos_executable("idl_server_test") {
@ -45,9 +41,7 @@ ohos_executable("idl_server_test") {
configs = [ ":ipc_test_config" ]
deps = [
":libnative_idl_test_service_stub"
]
deps = [ ":libnative_idl_test_service_stub" ]
external_deps = [
"c_utils:utils",
@ -69,9 +63,7 @@ ohos_executable("idl_client_test") {
configs = [ ":ipc_test_config" ]
deps = [
":libnative_idl_test_service_proxy"
]
deps = [ ":libnative_idl_test_service_proxy" ]
external_deps = [
"c_utils:utils",
@ -89,8 +81,7 @@ group("unittest") {
testonly = true
deps = [
":idl_server_test",
":idl_client_test",
":idl_server_test",
]
}