release-request-c38dc7a9-f664-4c91-8e15-307b4f336902-for-git_pi-release-4277421 snap-temp-L88300000093613514

Change-Id: Ide3c4bd13f41d0ca5e3c30bbf5c25cbfd126ba7a
diff --git a/Android.bp b/Android.bp
index bb9f346..15c9219 100644
--- a/Android.bp
+++ b/Android.bp
@@ -32,6 +32,10 @@
 cc_defaults {
     name: "pcre_defaults",
     cflags: ["-DHAVE_CONFIG_H"],
+    tidy_checks: [
+        "-google-build-using-namespace",
+        "-google-global-names-in-headers",
+    ],
     local_include_dirs: [
         "include_internal",
         "include",
@@ -62,6 +66,10 @@
 cc_library_shared {
     name: "libpcrecpp",
     cflags: ["-Wno-unused-parameter"],
+    tidy_checks: [
+        "-google-build-using-namespace",
+        "-google-global-names-in-headers",
+    ],
     local_include_dirs: ["pcrecpp/include"],
     shared_libs: ["libpcre2"],
     export_include_dirs: [