Index: tools/perf/BUILD.gn |
diff --git a/tools/perf/BUILD.gn b/tools/perf/BUILD.gn |
index 056d8ea6b84a8e98feb6238b3ab946edcbb9c0b9..61c6e20f9d1950e1c68ac3ada092b20e8597b190 100644 |
--- a/tools/perf/BUILD.gn |
+++ b/tools/perf/BUILD.gn |
@@ -2,16 +2,27 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-group("perf") { |
- deps = [ |
- "//tools/perf/chrome_telemetry_build:telemetry_chrome_test", |
- ] |
+if (!is_android) { |
+ group("perf") { |
+ deps = [ |
+ "//tools/perf/chrome_telemetry_build:telemetry_chrome_test", |
+ ] |
- data = [ |
- "//tools/perf/", |
+ data = [ |
+ "//tools/perf/", |
- # Field trial config |
- "//tools/variations/", |
- "//testing/variations/", |
- ] |
+ # Field trial config |
+ "//tools/variations/", |
+ "//testing/variations/", |
+ ] |
+ } |
+} |
+ |
+if (is_android) { |
+ import("//build/config/android/rules.gni") |
+ |
+ wrapper_script("run_benchmark_wrapper") { |
+ target = "run_benchmark" |
+ flag_name = "--chromium-output-directory" |
+ } |
} |