Index: tools/perf/clear_system_cache/BUILD.gn |
diff --git a/tools/perf/clear_system_cache/BUILD.gn b/tools/perf/clear_system_cache/BUILD.gn |
index 34cfad3b435c92f9e19271c0a21dd8ba76f87903..b3a61341d675ebf6597b446f197696d571127568 100644 |
--- a/tools/perf/clear_system_cache/BUILD.gn |
+++ b/tools/perf/clear_system_cache/BUILD.gn |
@@ -2,18 +2,21 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-if (is_linux && !is_chromeos) { |
- # TODO(GYP): Figure out which of these work and are needed on other platforms. |
- executable("clear_system_cache") { |
- testonly = true |
+if (is_linux) { |
+ import("//build/config/features.gni") |
+ if (!use_cros_fe) { |
+ # TODO(GYP): Figure out which of these work and are needed on other platforms. |
+ executable("clear_system_cache") { |
+ testonly = true |
- sources = [ |
- "clear_system_cache_main.cc", |
- ] |
+ sources = [ |
+ "clear_system_cache_main.cc", |
+ ] |
- deps = [ |
- "//base", |
- "//base/test:test_support", |
- ] |
+ deps = [ |
+ "//base", |
+ "//base/test:test_support", |
+ ] |
+ } |
} |
} |