gn_all should depend on //gpu:compositor_model_bench only if use_x11 is
true, because //gpu:compositor_model_bench is defined only under that
condition.
[email protected],[email protected]
BUG=none
Review URL: https://codereview.chromium.org/1006713002
Cr-Commit-Position: refs/heads/master@{#320418}
diff --git a/BUILD.gn b/BUILD.gn
index e033e94..cdafda9c 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -368,10 +368,9 @@
if (use_x11) {
deps += [ "//media:player_x11" ]
- }
-
- if (target_cpu != "arm") {
- deps += [ "//gpu:compositor_model_bench" ]
+ if (target_cpu != "arm") {
+ deps += [ "//gpu:compositor_model_bench" ]
+ }
}
}