aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-prod (mdb) <android-build-team-robot@google.com>2018-10-12 02:14:02 +0000
committerandroid-build-prod (mdb) <android-build-team-robot@google.com>2018-10-12 02:14:02 +0000
commitfbce3e43b2e6d1faeacd16ac6f023d01970cc403 (patch)
tree5f4be15d4ab6a5ba0aed4707aec4551aac06c2a6
parentebd5c134f5dcdcba5fa0bde8d41522cc7ae6bf93 (diff)
parentf9ed19ebb40f55fd35a832201e6efd380deb8490 (diff)
downloadswiftshader-master-cuttlefish-testing-release.tar.gz
Snap for 5061196 from f9ed19ebb40f55fd35a832201e6efd380deb8490 to master-cuttlefish-testing-releasemaster-cuttlefish-testing-release
Change-Id: I33f771efcdf1c151e88212ba9cf703025b8aa8a7
-rw-r--r--src/Android.bp1
-rw-r--r--third_party/LLVM/Android.bp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/Android.bp b/src/Android.bp
index f246233f7..9dbc324b7 100644
--- a/src/Android.bp
+++ b/src/Android.bp
@@ -32,6 +32,7 @@ cc_defaults {
"-DNO_SANITIZE_FUNCTION=",
// FIXME: Use <android/api-level.h> instead?
"-DANDROID_PLATFORM_SDK_VERSION=10000",
+ "-Wno-implicit-fallthrough",
"-Wno-unused-parameter",
"-Wno-unused-local-typedef",
],
diff --git a/third_party/LLVM/Android.bp b/third_party/LLVM/Android.bp
index 93be07de0..a5be4ab11 100644
--- a/third_party/LLVM/Android.bp
+++ b/third_party/LLVM/Android.bp
@@ -59,6 +59,7 @@ cc_library_static {
"-D__STDC_CONSTANT_MACROS",
"-D__STDC_FORMAT_MACROS",
"-DLOG_TAG=\"libLLVM_swiftshader\"",
+ "-Wno-implicit-fallthrough",
"-Wno-unused-result",
"-Wno-unused-function",
"-Wno-unused-variable",