Merge "Define ANDROID_EXPERIMENTAL_MTE if the product variable experimental_mte is enabled."

This commit is contained in:
Peter Collingbourne 2019-11-02 02:00:22 +00:00 committed by Gerrit Code Review
commit 1994f28be2

View file

@ -83,6 +83,12 @@ cc_defaults {
// lld complains about duplicate symbols in libcrt and libgcc. Suppress the
// warning since this is intended right now.
ldflags: ["-Wl,-z,muldefs"],
product_variables: {
experimental_mte: {
cflags: ["-DANDROID_EXPERIMENTAL_MTE"],
},
},
}
// Defaults for native allocator libs/includes to make it