Switch platform WebRTC copts to defines so dependencies of it don't need to also specify the flag.

PiperOrigin-RevId: 495798557
This commit is contained in:
Nick Bourdakos
2022-12-16 00:07:16 -08:00
committed by Copybara-Service
parent 3247eed795
commit 4a8ff331a7
2 changed files with 0 additions and 12 deletions
-6
View File
@@ -98,12 +98,6 @@ cc_library(
hdrs = [
"platform.h",
],
copts = select({
"@platforms//cpu:arm": [
"-DNO_WEBRTC",
],
"//conditions:default": [],
}),
defines = ["NO_WEBRTC"],
visibility = [
"//connections/implementation:__subpackages__",
@@ -42,12 +42,6 @@ objc_library(
"utils.h",
"wifi_lan.h",
],
copts = select({
"@platforms//cpu:arm": [
"-DNO_WEBRTC",
],
"//conditions:default": [],
}),
features = ["-layering_check"],
deps = [
":Platform_cc",