Merge "Disable "Potential leak of memory" warning."
diff --git a/BitWriter_2_9/Android.bp b/BitWriter_2_9/Android.bp
index e05d83f..4a6bd28 100644
--- a/BitWriter_2_9/Android.bp
+++ b/BitWriter_2_9/Android.bp
@@ -5,6 +5,10 @@
     defaults: ["slang-defaults"],
     include_dirs: ["frameworks/compile/slang"],
 
+    // We don't control the source files under this dir.
+    // So, disable tidy checks.
+    tidy: false,
+
     srcs: [
         "BitcodeWriter.cpp",
         "BitcodeWriterPass.cpp",
diff --git a/BitWriter_2_9_func/Android.bp b/BitWriter_2_9_func/Android.bp
index 714e964..b14d3e6 100644
--- a/BitWriter_2_9_func/Android.bp
+++ b/BitWriter_2_9_func/Android.bp
@@ -6,6 +6,10 @@
 
     include_dirs: ["frameworks/compile/slang"],
 
+    // We don't control the source files under this dir.
+    // So, disable tidy checks.
+    tidy: false,
+
     srcs: [
         "BitcodeWriter.cpp",
         "BitcodeWriterPass.cpp",
diff --git a/BitWriter_3_2/Android.bp b/BitWriter_3_2/Android.bp
index e572c46..1e2a180 100644
--- a/BitWriter_3_2/Android.bp
+++ b/BitWriter_3_2/Android.bp
@@ -7,6 +7,10 @@
 
     include_dirs: ["frameworks/compile/slang"],
 
+    // We don't control the source files under this dir.
+    // So, disable tidy checks.
+    tidy: false,
+
     srcs: [
         "BitcodeWriter.cpp",
         "BitcodeWriterPass.cpp",