From b73382f60ac5b15a40ad990e0a6ae2bf4c8b0f4b Mon Sep 17 00:00:00 2001 From: Steve Johnson Date: Fri, 17 Nov 2023 10:18:14 +0800 Subject: [PATCH] fix: fix android-arm64 build --- adapter/outboundgroup/patch_android.go | 2 +- adapter/provider/patch_android.go | 2 +- component/dialer/patch_android.go | 2 +- component/mmdb/patch_android.go | 2 +- component/process/patch_android.go | 2 +- dns/dhcp.go | 2 +- dns/patch_android.go | 2 +- dns/{patch_!android.go => patch_common.go} | 2 +- listener/http/patch_android.go | 2 +- rules/provider/patch_android.go | 2 +- tunnel/statistic/patch_android.go | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) rename dns/{patch_!android.go => patch_common.go} (83%) diff --git a/adapter/outboundgroup/patch_android.go b/adapter/outboundgroup/patch_android.go index e219ca9f5..c9c1725b6 100644 --- a/adapter/outboundgroup/patch_android.go +++ b/adapter/outboundgroup/patch_android.go @@ -1,4 +1,4 @@ -// +build android +// +build android,cmfa package outboundgroup diff --git a/adapter/provider/patch_android.go b/adapter/provider/patch_android.go index eb0ca1f94..eba560eb0 100644 --- a/adapter/provider/patch_android.go +++ b/adapter/provider/patch_android.go @@ -1,4 +1,4 @@ -// +build android +// +build android,cmfa package provider diff --git a/component/dialer/patch_android.go b/component/dialer/patch_android.go index 2fe399243..b1e80a5db 100644 --- a/component/dialer/patch_android.go +++ b/component/dialer/patch_android.go @@ -1,4 +1,4 @@ -// +build android +// +build android,cmfa package dialer diff --git a/component/mmdb/patch_android.go b/component/mmdb/patch_android.go index 23afbb901..9ded65664 100644 --- a/component/mmdb/patch_android.go +++ b/component/mmdb/patch_android.go @@ -1,4 +1,4 @@ -// +build android +// +build android,cmfa package mmdb diff --git a/component/process/patch_android.go b/component/process/patch_android.go index ae68d7b28..f9018557f 100644 --- a/component/process/patch_android.go +++ b/component/process/patch_android.go @@ -1,4 +1,4 @@ -// +build android +// +build android,cmfa package process diff --git a/dns/dhcp.go b/dns/dhcp.go index bd3143c64..09aec799e 100644 --- a/dns/dhcp.go +++ b/dns/dhcp.go @@ -1,4 +1,4 @@ -// +build !android +// +build !cmfa package dns diff --git a/dns/patch_android.go b/dns/patch_android.go index 56f5ef547..8ffa5af6e 100644 --- a/dns/patch_android.go +++ b/dns/patch_android.go @@ -1,4 +1,4 @@ -// +build android +// +build android,cmfa package dns diff --git a/dns/patch_!android.go b/dns/patch_common.go similarity index 83% rename from dns/patch_!android.go rename to dns/patch_common.go index 566d8fd5a..afb60d6db 100644 --- a/dns/patch_!android.go +++ b/dns/patch_common.go @@ -1,4 +1,4 @@ -// +build !android +// +build !cmfa package dns diff --git a/listener/http/patch_android.go b/listener/http/patch_android.go index 33dc08743..46d2eee5d 100644 --- a/listener/http/patch_android.go +++ b/listener/http/patch_android.go @@ -1,4 +1,4 @@ -// +build android +// +build android,cmfa package http diff --git a/rules/provider/patch_android.go b/rules/provider/patch_android.go index 2bea2fa3c..28a0d47d4 100644 --- a/rules/provider/patch_android.go +++ b/rules/provider/patch_android.go @@ -1,4 +1,4 @@ -// +build android +// +build android,cmfa package provider diff --git a/tunnel/statistic/patch_android.go b/tunnel/statistic/patch_android.go index c000567f3..235ab7016 100644 --- a/tunnel/statistic/patch_android.go +++ b/tunnel/statistic/patch_android.go @@ -1,4 +1,4 @@ -// +build android +// +build android,cmfa package statistic