}
}
+ if (cpu_arch == "arm64") {
+ defines += [ "WEBRTC_ARCH_ARM" ]
+ }
+
if (cpu_arch == "arm") {
defines += [ "WEBRTC_ARCH_ARM" ]
if (arm_version == 7) {
"transport.h",
]
- direct_dependent_configs = [ ":common_inherited_config"]
+ configs += [ ":common_config" ]
+ public_configs = [ ":common_inherited_config"]
deps = [
":webrtc_common",
"modules/video_processing",
"modules/video_render",
"system_wrappers",
+ "tools",
"video",
"video_engine",
"voice_engine",
]
}
+if (!build_with_chromium) {
+ executable("webrtc_tests") {
+ testonly = true
+ deps = [
+ ":webrtc",
+ "modules/video_render:video_render_internal_impl",
+ "modules/video_capture:video_capture_internal_impl",
+ "test",
+ ]
+ }
+}
+
source_set("webrtc_common") {
sources = [
"config.h",
configs -= [ "//build/config/clang:find_bad_constructs" ]
}
- configs += [ ":common_inherited_config"]
+ configs += [ ":common_config" ]
+ public_configs = [ ":common_inherited_config" ]
}