diff options
author | Devin Moore <devinmoore@google.com> | 2020-04-29 15:37:25 -0700 |
---|---|---|
committer | Devin Moore <devinmoore@google.com> | 2020-05-11 15:01:32 -0700 |
commit | 7d5a4546087cb5424de6f396e9186dd451b60b75 (patch) | |
tree | 1a6f1270a5472ed7df65173e2943f322f750c58a /build/properties.go | |
parent | f8d53610cd29dae12ac217f3ebb997673dd8bcd4 (diff) | |
download | aidl-7d5a4546087cb5424de6f396e9186dd451b60b75.tar.gz |
Add Atrace support for aidl_interface NDK backend
This is enabled the same way that it is for the Java and C++ backends
with gen_trace option in the aidl_interface defintion. Traces can be
captured with atrace on device.
Test: Added 'gen_trace: true' to libbinder_ndk_test_interface and
collected traces from CtsNdkBinderTestCases with perfetto.
adb shell perfetto -d -o /data/misc/perfetto-traces/out.trace --app android.binder.cts
Bug: 128533039
Change-Id: Id14b391e59151adc51688d5f295b8627bff56d48
Diffstat (limited to 'build/properties.go')
-rw-r--r-- | build/properties.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build/properties.go b/build/properties.go index 60d6a3f5..eb52a52f 100644 --- a/build/properties.go +++ b/build/properties.go @@ -39,6 +39,7 @@ type ccProperties struct { Shared_libs []string Export_shared_lib_headers []string Export_generated_headers []string + Header_libs []string Sdk_version *string Stl *string Cpp_std *string |