Merge "Suppress non-critical warnings in pcre."
diff --git a/Android.bp b/Android.bp
index d57b4c2..c3bffad 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",
@@ -59,6 +63,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: [