Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Unified Diff: tools/perf/clear_system_cache/BUILD.gn

Issue 1291703008: Rename is_chromeos in chrome/src. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: retry Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/gn/format_test_data/029.gn ('k') | ui/app_list/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
+ ]
+ }
}
}
« no previous file with comments | « tools/gn/format_test_data/029.gn ('k') | ui/app_list/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698