Disable MTE when copying stack.

Bug: 163134539
Change-Id: I3afb4e1afeb2c2aa0b7e24e0b95d0a161b180ea1
diff --git a/Android.bp b/Android.bp
index 37c42cf..9111b23 100644
--- a/Android.bp
+++ b/Android.bp
@@ -210,6 +210,9 @@
     "-DGOOGLE_PROTOBUF_NO_RTTI",
     "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
   ],
+  header_libs: [
+    "bionic_libc_platform_headers",
+  ],
 }
 
 // GN: //src/profiling/memory:heapprofd_client
@@ -434,6 +437,9 @@
     "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
     "-DPERFETTO_ANDROID_ASYNC_SAFE_LOG",
   ],
+  header_libs: [
+    "bionic_libc_platform_headers",
+  ],
   stl: "libc++_static",
   version_script: "src/profiling/memory/heapprofd_client_api.map.txt",
 }
@@ -1779,6 +1785,9 @@
     "-DGOOGLE_PROTOBUF_NO_RTTI",
     "-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER",
   ],
+  header_libs: [
+    "bionic_libc_platform_headers",
+  ],
 }
 
 // GN: //protos/perfetto/common:cpp
@@ -6274,6 +6283,11 @@
   ],
 }
 
+// GN: //src/profiling/memory:bionic_libc_platform_headers_on_android
+filegroup {
+  name: "perfetto_src_profiling_memory_bionic_libc_platform_headers_on_android",
+}
+
 // GN: //src/profiling/memory:client
 filegroup {
   name: "perfetto_src_profiling_memory_client",
@@ -8060,6 +8074,9 @@
   include_dirs: [
     "bionic/libc/kernel",
   ],
+  header_libs: [
+    "bionic_libc_platform_headers",
+  ],
   data: [
     "src/traced/probes/filesystem/testdata/**/*",
     "src/traced/probes/ftrace/test/data/**/*",