Do not compile frame_analyzer_host during Chromium builds.

Bug: webrtc:9665
Change-Id: I42ff7a02664c3552ea31972a84f1d7d18cab13ac
No-Try: True
Reviewed-on: https://webrtc-review.googlesource.com/100805
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Oleh Prypin <oprypin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24765}
This commit is contained in:
Mirko Bonadei
2018-09-18 13:39:37 +02:00
committed by Commit Bot
parent ba64afbf04
commit 080afedc49

View File

@ -107,6 +107,7 @@ rtc_executable("frame_analyzer") {
]
}
if (!build_with_chromium && !build_with_mozilla) {
action("frame_analyzer_host") {
script = "//tools_webrtc/executable_host_build.py"
outputs = [
@ -117,6 +118,7 @@ action("frame_analyzer_host") {
"frame_analyzer",
]
}
}
# Only expose the targets needed by Chromium (e.g. frame_analyzer) to avoid
# building a lot of redundant code as part of Chromium builds.