Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(950)

Unified Diff: libyuv.gyp

Issue 1865183002: disable unused argument warning for clang builds. (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: add bug=581 Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: libyuv.gyp
diff --git a/libyuv.gyp b/libyuv.gyp
index 444b1449994a134c86130c39f31e1e9165ccbffc..ed7c40c7c42d8594101718ab4a0c1112941d6d58 100644
--- a/libyuv.gyp
+++ b/libyuv.gyp
@@ -47,6 +47,12 @@
# Allows libyuv.a redistributable library without external dependencies.
'standalone_static_library': 1,
'conditions': [
+ # Disable -Wunused-parameter
+ ['clang == 1', {
+ 'cflags': [
+ '-Wno-unused-parameter',
+ ],
+ }],
['build_neon != 0', {
'defines': [
'LIBYUV_NEON',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698