summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinod Benure <vinodbenure@google.com>2024-03-22 20:48:58 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-03-22 20:48:58 +0000
commitac5316ff37f87a03c0d6c34ee871de77cef714c9 (patch)
tree1c2ec373739896ae2704d61c01fff5a9cffc2dec
parent4ac020dc5ec0b42fc858c9ef7d52e559e98140cb (diff)
parent9e7e679d7c33a2be7b8e469d6f05aed2e30079d3 (diff)
downloadplatform_testing-ac5316ff37f87a03c0d6c34ee871de77cef714c9.tar.gz
Merge "Build power trace config" into main
-rw-r--r--build/tasks/tests/platform_test_list.mk1
-rw-r--r--scripts/perfetto-setup/Android.mk10
2 files changed, 11 insertions, 0 deletions
diff --git a/build/tasks/tests/platform_test_list.mk b/build/tasks/tests/platform_test_list.mk
index 9f0fec0d4..84c31c183 100644
--- a/build/tasks/tests/platform_test_list.mk
+++ b/build/tasks/tests/platform_test_list.mk
@@ -96,6 +96,7 @@ platform_tests += \
trace_config_experimental.textproto \
trace_config_multi_user_cuj_tests.textproto \
trace_config_post_boot.textproto \
+ trace_config_power.textproto \
UbSystemUiJankTests \
UbWebViewJankTests \
UiBench \
diff --git a/scripts/perfetto-setup/Android.mk b/scripts/perfetto-setup/Android.mk
index 3935c30de..d63a62083 100644
--- a/scripts/perfetto-setup/Android.mk
+++ b/scripts/perfetto-setup/Android.mk
@@ -105,6 +105,16 @@ LOCAL_PREBUILT_MODULE_FILE := prebuilts/tools/linux-x86_64/perfetto/configs/trac
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
+LOCAL_MODULE := trace_config_power.textproto
+LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
+LOCAL_LICENSE_CONDITIONS := notice
+LOCAL_MODULE_CLASS := ETC
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/local/tmp
+LOCAL_PREBUILT_MODULE_FILE := prebuilts/tools/linux-x86_64/perfetto/configs/trace_config_power.textproto
+include $(BUILD_PREBUILT)
+
+include $(CLEAR_VARS)
LOCAL_MODULE := trace_config_boot_time.textproto
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
LOCAL_LICENSE_CONDITIONS := notice