mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
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:
committed by
Copybara-Service
parent
3247eed795
commit
4a8ff331a7
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user