From 9a6a9122dbd1349fadcdac24f63ce922105416b9 Mon Sep 17 00:00:00 2001 From: Jintao Lin Date: Wed, 23 Sep 2020 14:28:48 +0800 Subject: [PATCH] [gn] add missing files to BUILD.gn (#5564) --- script/check-gn-build | 12 ++++++++++++ src/core/BUILD.gn | 2 ++ 2 files changed, 14 insertions(+) diff --git a/script/check-gn-build b/script/check-gn-build index 24dfd7c9b..2a02c3ffe 100755 --- a/script/check-gn-build +++ b/script/check-gn-build @@ -36,7 +36,19 @@ set -x main() { + # Check GN build for OT1.1 + rm gn-out -r || true gn gen --check gn-out + gn args gn-out --list + ninja -C gn-out + test -f gn-out/obj/src/core/libopenthread-ftd.a + + # Check GN build for OT1.2 + rm gn-out -r || true + mkdir gn-out + echo 'openthread_config_thread_version = "1.2"' >gn-out/args.gn + gn gen --check gn-out + gn args gn-out --list ninja -C gn-out test -f gn-out/obj/src/core/libopenthread-ftd.a } diff --git a/src/core/BUILD.gn b/src/core/BUILD.gn index e81166e6a..584aa3377 100644 --- a/src/core/BUILD.gn +++ b/src/core/BUILD.gn @@ -487,6 +487,8 @@ openthread_core_files = [ "thread/child_mask.hpp", "thread/child_table.cpp", "thread/child_table.hpp", + "thread/csl_tx_scheduler.cpp", + "thread/csl_tx_scheduler.hpp", "thread/discover_scanner.cpp", "thread/discover_scanner.hpp", "thread/dua_manager.cpp",