aboutsummaryrefslogtreecommitdiff
path: root/android-webrtc.mk
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-08-10 00:33:17 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-08-10 00:33:17 +0000
commit60c71f62eacd925c491863be665dfea23331a6f5 (patch)
treef04336a75902fbe1f77d811576553bb3c0a187e4 /android-webrtc.mk
parent1bc667417d159006c5260e65bfb670f2088c106f (diff)
parentcd56b9ddae12c526f85e3423a7b821e6914313ad (diff)
downloadwebrtc-60c71f62eacd925c491863be665dfea23331a6f5.tar.gz
Merge "Suppress non-critical warnings in webrtc."android-o-mr1-preview-2android-o-mr1-preview-1
am: cd56b9ddae Change-Id: I7b1ed3c35ee9adfec375979ef07bd0c62adc01a9
Diffstat (limited to 'android-webrtc.mk')
-rw-r--r--android-webrtc.mk29
1 files changed, 29 insertions, 0 deletions
diff --git a/android-webrtc.mk b/android-webrtc.mk
index f64a92dd67..a0dfd65fc0 100644
--- a/android-webrtc.mk
+++ b/android-webrtc.mk
@@ -44,3 +44,32 @@ MY_WEBRTC_COMMON_DEFS_arm := \
#MY_WEBRTC_COMMON_DEFS_arm += \
# '-DWEBRTC_ARCH_ARM_V7A'
#endif
+
+# The following warnings are disabled in most webrtc modules,
+# until we upgrade to newer cleaner upstream webrtc.
+MY_WEBRTC_COMMON_CFLAGS_WARNINGS := \
+ -Wno-missing-field-initializers \
+ -Wno-unused-parameter \
+
+# The following clang-tidy checks are disabled in most webrtc modules,
+# until we upgrade to newer cleaner upstream webrtc.
+MY_WEBRTC_COMMON_TIDY_CHECKS := \
+ -cert-*, \
+ -clang-analyzer-*, \
+ -hicpp-*, \
+ -llvm-*, \
+ -google-build-namespaces, \
+ -google-default-arguments, \
+ -google-explicit-constructor, \
+ -google-runtime-int, \
+ -google-runtime-operator, \
+ -misc-incorrect-roundings, \
+ -misc-macro-parentheses, \
+ -misc-misplaced-widening-cast, \
+ -misc-noexcept-move-constructor, \
+ -misc-suspicious-string-compare, \
+ -misc-unused-parameters, \
+ -misc-unused-using-decls, \
+ -performance-type-promotion-in-math-fn, \
+ -performance-unnecessary-copy-initialization, \
+ -performance-unnecessary-value-param, \