feat: add support for gn build system

add BUILD.gn for all kernel modules

Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: I018446427bf64615f2596d47862b219659b58b34
This commit is contained in:
Caoruihong
2021-07-13 23:57:39 +08:00
parent 7b7d64cc87
commit a8805a65aa
114 changed files with 3993 additions and 125 deletions

View File

@@ -35,7 +35,6 @@
#include "shell.h"
#endif
#include "los_swtmr_pri.h"
#include "watchdog_if.h"
#ifdef LOSCFG_SHELL_CMD_DEBUG
@@ -46,6 +45,7 @@ LITE_OS_SEC_TEXT_MINOR BOOL OsSystemExcIsReset(VOID)
return systemExcReset;
}
#ifdef LOSCFG_DRIVERS_HDF_PLATFORM_WATCHDOG
#include "watchdog_if.h"
#define WATCHDOG_TIMER_INTERVAL 5 // 5 seconds
#define WATCHDOG_TIMER_INTERVAL_HALF (WATCHDOG_TIMER_INTERVAL / 2)