Index: build/android/ndk.gyp |
diff --git a/build/android/ndk.gyp b/build/android/ndk.gyp |
index 2838a9857e991184cf3a7adf039b8d380dd6fb4b..b491db242b45a2d4fc4565d64cf9b06594685b28 100644 |
--- a/build/android/ndk.gyp |
+++ b/build/android/ndk.gyp |
@@ -15,6 +15,12 @@ |
'sources': [ |
'<(android_ndk_root)/sources/android/cpufeatures/cpu-features.c', |
], |
+ 'variables': { |
+ 'clang_warning_flags': [ |
+ # cpu-features.c has few unused functions on x86 b/26403333 |
+ '-Wno-unused-function', |
+ ], |
+ }, |
}, |
], |
} |