summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinod Benure <vinodbenure@google.com>2024-03-20 11:59:18 -0700
committerVinod Benure <vinodbenure@google.com>2024-03-22 11:04:47 -0700
commit9e7e679d7c33a2be7b8e469d6f05aed2e30079d3 (patch)
tree734aec22161e50d91d132058ca53a180d7f6577c
parent649ef16dc2c4563b809b8bb8acb54806d380630e (diff)
downloadplatform_testing-9e7e679d7c33a2be7b8e469d6f05aed2e30079d3.tar.gz
Build power trace config
Bug: 330554564 Test: Local Change-Id: Iaf1e930dbaa97682a824775a9c8a0ecaadc5e091
-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