[gn] add missing files to BUILD.gn (#5564)

This commit is contained in:
Jintao Lin
2020-09-22 23:28:48 -07:00
committed by GitHub
parent aaad03522b
commit 9a6a9122db
2 changed files with 14 additions and 0 deletions
+12
View File
@@ -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
}
+2
View File
@@ -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",