aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Seckler <eseckler@google.com>2019-11-08 11:56:52 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-11-08 11:56:52 -0800
commit7dceb8cfe35a9251a2f6de24bc2ed860e0755b8c (patch)
treec33c2c9f156628841cbd54e67ac3730892cd94e1
parenta8d8c421f7d21932175e4445cbe5da43a591dcd5 (diff)
parente9709db85ca95f1cc0cc65d9a2a0928ea9184841 (diff)
downloadperfetto-7dceb8cfe35a9251a2f6de24bc2ed860e0755b8c.tar.gz
processor: Build all of TP on chrome desktop platforms
am: e9709db85c Change-Id: I208162a12eba7ee24a35943090927f2a761a84b0
-rw-r--r--gn/perfetto.gni17
1 files changed, 9 insertions, 8 deletions
diff --git a/gn/perfetto.gni b/gn/perfetto.gni
index 0e96e07f4..4dbcd4278 100644
--- a/gn/perfetto.gni
+++ b/gn/perfetto.gni
@@ -194,7 +194,7 @@ declare_args() {
declare_args() {
# Enables the SQL query layer of trace processor.
enable_perfetto_trace_processor_sqlite =
- enable_perfetto_trace_processor && !build_with_chromium
+ enable_perfetto_trace_processor && !(build_with_chromium && is_android)
# Enables the optional SQLite percentile module.
enable_perfetto_trace_processor_percentile =
@@ -207,23 +207,23 @@ declare_args() {
# Enables ftrace support in the trace processor.
enable_perfetto_trace_processor_ftrace =
- enable_perfetto_trace_processor && !build_with_chromium
+ enable_perfetto_trace_processor && !(build_with_chromium && is_android)
# Enables parsing support for system probes in trace processor.
enable_perfetto_trace_processor_system_probes =
- enable_perfetto_trace_processor && !build_with_chromium
+ enable_perfetto_trace_processor && !(build_with_chromium && is_android)
# Enables parsing support for android system probes in trace processor.
enable_perfetto_trace_processor_android_probes =
- enable_perfetto_trace_processor && !build_with_chromium
+ enable_perfetto_trace_processor && !(build_with_chromium && is_android)
# Enables parsing support for heap graphs in trace processor.
enable_perfetto_trace_processor_heap_graphs =
- enable_perfetto_trace_processor && !build_with_chromium
+ enable_perfetto_trace_processor && !(build_with_chromium && is_android)
# Enables graphics event support in the trace processor.
enable_perfetto_trace_processor_graphics =
- enable_perfetto_trace_processor && !build_with_chromium
+ enable_perfetto_trace_processor && !(build_with_chromium && is_android)
# Enables JSON support in the trace processor. Required for JSON trace import
# and export. Importer support can also be disabled using
@@ -233,7 +233,7 @@ declare_args() {
# Enables Fuchsia trace format support in trace processor.
enable_perfetto_trace_processor_fuchsia =
- enable_perfetto_trace_processor && !build_with_chromium
+ enable_perfetto_trace_processor && !(build_with_chromium && is_android)
# Enables httpd RPC support in the trace processor.
# Further per-OS conditionals are applied in gn/BUILD.gn.
@@ -244,7 +244,8 @@ declare_args() {
declare_args() {
# Enables importer support for JSON traces in the trace processor.
enable_perfetto_trace_processor_json_import =
- enable_perfetto_trace_processor_json && !build_with_chromium
+ enable_perfetto_trace_processor_json &&
+ !(build_with_chromium && is_android)
# Enables syscall support in trace processor. Required for ftrace, system
# probes, and android probes support.