From a2f4d9ca29c96c190dfd4b2fb27d37f7852ad473 Mon Sep 17 00:00:00 2001 From: pankore <86098180+pankore@users.noreply.github.com> Date: Mon, 6 Dec 2021 23:06:04 +0800 Subject: [PATCH] [cmake]remove redundant linking in chip_main.cmake (#12454) --- examples/all-clusters-app/ameba/chip_main.cmake | 17 ----------------- examples/lighting-app/ameba/chip_main.cmake | 17 ----------------- 2 files changed, 34 deletions(-) diff --git a/examples/all-clusters-app/ameba/chip_main.cmake b/examples/all-clusters-app/ameba/chip_main.cmake index bdf74e801590ce..3c0aa18f15d08f 100755 --- a/examples/all-clusters-app/ameba/chip_main.cmake +++ b/examples/all-clusters-app/ameba/chip_main.cmake @@ -13,23 +13,6 @@ include(${prj_root}/GCC-RELEASE/project_hp/asdk/includepath.cmake) list( APPEND ${list_chip_main_sources} - #chip app - ${chip_dir}/src/app/Command.cpp - ${chip_dir}/src/app/CommandHandler.cpp - ${chip_dir}/src/app/InteractionModelEngine.cpp - ${chip_dir}/src/app/CommandSender.cpp - ${chip_dir}/src/app/decoder.cpp - ${chip_dir}/src/app/encoder-common.cpp - ${chip_dir}/src/app/EventManagement.cpp - ${chip_dir}/src/app/ReadClient.cpp - ${chip_dir}/src/app/ReadHandler.cpp - ${chip_dir}/src/app/TimedHandler.cpp - ${chip_dir}/src/app/WriteClient.cpp - ${chip_dir}/src/app/WriteHandler.cpp - ${chip_dir}/src/app/util/CHIPDeviceCallbacksMgr.cpp - ${chip_dir}/src/app/util/esi-management.cpp - ${chip_dir}/src/app/reporting/Engine.cpp - ${chip_dir}/zzz_generated/all-clusters-app/zap-generated/attribute-size.cpp ${chip_dir}/zzz_generated/all-clusters-app/zap-generated/CHIPClientCallbacks.cpp ${chip_dir}/zzz_generated/all-clusters-app/zap-generated/callback-stub.cpp diff --git a/examples/lighting-app/ameba/chip_main.cmake b/examples/lighting-app/ameba/chip_main.cmake index 007b524c4ab0f2..e5ad4778d9d367 100755 --- a/examples/lighting-app/ameba/chip_main.cmake +++ b/examples/lighting-app/ameba/chip_main.cmake @@ -13,23 +13,6 @@ include(${prj_root}/GCC-RELEASE/project_hp/asdk/includepath.cmake) list( APPEND ${list_chip_main_sources} - #chip app - ${chip_dir}/src/app/Command.cpp - ${chip_dir}/src/app/CommandHandler.cpp - ${chip_dir}/src/app/InteractionModelEngine.cpp - ${chip_dir}/src/app/CommandSender.cpp - ${chip_dir}/src/app/decoder.cpp - ${chip_dir}/src/app/encoder-common.cpp - ${chip_dir}/src/app/EventManagement.cpp - ${chip_dir}/src/app/ReadClient.cpp - ${chip_dir}/src/app/ReadHandler.cpp - ${chip_dir}/src/app/TimedHandler.cpp - ${chip_dir}/src/app/WriteClient.cpp - ${chip_dir}/src/app/WriteHandler.cpp - ${chip_dir}/src/app/util/CHIPDeviceCallbacksMgr.cpp - ${chip_dir}/src/app/util/esi-management.cpp - ${chip_dir}/src/app/reporting/Engine.cpp - ${chip_dir}/zzz_generated/lighting-app/zap-generated/attribute-size.cpp ${chip_dir}/zzz_generated/lighting-app/zap-generated/CHIPClientCallbacks.cpp ${chip_dir}/zzz_generated/lighting-app/zap-generated/callback-stub.cpp