!486 lwip_enhanced更改gn编译

Merge pull request !486 from 刘建东/master
This commit is contained in:
openharmony_ci 2021-08-02 11:15:47 +00:00 committed by Gitee
commit c66681a1f9
1 changed files with 12 additions and 8 deletions

View File

@ -30,15 +30,19 @@
import("//kernel/liteos_a/liteos.gni") import("//kernel/liteos_a/liteos.gni")
group("net") { group("net") {
deps = [ deps = [ "telnet" ]
"lwip-2.1", if (defined(LOSCFG_NET_LWIP_SACK_2_0)) {
"telnet", deps += [ "$LITEOSTHIRDPARTY/lwip_enhanced/src" ]
] } else if (defined(LOSCFG_NET_LWIP_SACK_2_1)) {
deps += [ "lwip-2.1" ]
}
} }
config("public") { config("public") {
configs = [ configs = [ "telnet:public" ]
"lwip-2.1:public", if (defined(LOSCFG_NET_LWIP_SACK_2_0)) {
"telnet:public", configs += [ "$LITEOSTHIRDPARTY/lwip_enhanced/src:public" ]
] } else if (defined(LOSCFG_NET_LWIP_SACK_2_1)) {
configs += [ "lwip-2.1:public" ]
}
} }