summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
author Yu-Ting Tseng <yutingtseng@google.com> 2025-03-03 15:14:40 -0800
committer Yu-Ting Tseng <yutingtseng@google.com> 2025-03-05 18:59:28 -0800
commita7f2b44e843cdf9033a22bdb1b30f8f25a4ea6f5 (patch)
tree817b7aeee0d868fcba32288b24992f53f263b4c2 /build
parent0c209c52447c6f84e5af2a95d21126845ebc2b63 (diff)
Add a new API getExecutableMethodFileOffsets
This new API overloads the existing API of the same name and accepts "Executable" as the argument type (rather than "Method" for the existing one). This allows it to handle things like a constructor. The API reuses the existing implementation which already handles an Executable properly. Bug: 400457896 Test: TH Change-Id: I754e798da5b041edc3f9dcfe4a3476fea2a234bf
Diffstat (limited to 'build')
-rw-r--r--build/flags/art-flags.aconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/build/flags/art-flags.aconfig b/build/flags/art-flags.aconfig
index 941c742195..919c6fa97d 100644
--- a/build/flags/art-flags.aconfig
+++ b/build/flags/art-flags.aconfig
@@ -55,6 +55,15 @@ flag {
}
flag {
+ namespace: "system_performance"
+ name: "executable_method_file_offsets_v2"
+ is_exported: true
+ description: "This flag includes the API for getting the compiled native executable offset info for a java executable"
+ bug: "400457896"
+ is_fixed_read_only: true
+}
+
+flag {
name: "art_service_v3"
namespace: "art_mainline"
description: "Flag for all new ART Service APIs added in the 25Q2 version of the ART module."