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,7 +107,8 @@ rtc_executable("frame_analyzer") {
] ]
} }
action("frame_analyzer_host") { if (!build_with_chromium && !build_with_mozilla) {
action("frame_analyzer_host") {
script = "//tools_webrtc/executable_host_build.py" script = "//tools_webrtc/executable_host_build.py"
outputs = [ outputs = [
"${root_out_dir}/frame_analyzer_host", "${root_out_dir}/frame_analyzer_host",
@ -116,6 +117,7 @@ action("frame_analyzer_host") {
"--executable_name", "--executable_name",
"frame_analyzer", "frame_analyzer",
] ]
}
} }
# Only expose the targets needed by Chromium (e.g. frame_analyzer) to avoid # Only expose the targets needed by Chromium (e.g. frame_analyzer) to avoid