Disable layering check for objc_library

In preparation for enabling layering check by default for
objc_library, we are disabling layering check for any targets or
packages that would otherwise fail.

PiperOrigin-RevId: 439900062
This commit is contained in:
hai007
2022-04-06 12:01:37 -07:00
committed by Copybara-Service
parent e382c7d230
commit 6b3402ccd0
3 changed files with 4 additions and 0 deletions
@@ -41,6 +41,7 @@ objc_library(
"Source/Public/NearbyConnections/GNCDiscoverer.h",
"Source/Public/NearbyConnections/GNCPayload.h",
],
features = ["-layering_check"],
deps = [
"//connections:core",
"//connections:core_types",
@@ -35,6 +35,7 @@ objc_library(
"utils.h",
"wifi_lan.h",
],
features = ["-layering_check"],
sdk_frameworks = [
"CoreBluetooth",
"CoreFoundation",
@@ -27,6 +27,7 @@ objc_library(
"Platform/GNCScheduledExecutorTest.mm",
"Platform/GNCSingleThreadExecutorTest.mm",
],
features = ["-layering_check"],
deps = [
"//internal/platform/implementation/ios:Connections",
],
@@ -47,6 +48,7 @@ objc_library(
srcs = [
"Shared/GNCUtilsTest.mm",
],
features = ["-layering_check"],
deps = [
"//internal/platform/implementation/ios/Source/Platform",
"//internal/platform/implementation/ios/Source/Shared",