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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2011 The LibYuv Project Authors. All rights reserved. 1 # Copyright 2011 The LibYuv Project Authors. All rights reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 { 9 {
10 'includes': [ 10 'includes': [
(...skipping 29 matching lines...) Expand all
40 { 40 {
41 'target_name': 'libyuv', 41 'target_name': 'libyuv',
42 # Change type to 'shared_library' to build .so or .dll files. 42 # Change type to 'shared_library' to build .so or .dll files.
43 'type': 'static_library', 43 'type': 'static_library',
44 'variables': { 44 'variables': {
45 'optimize': 'max', # enable O2 and ltcg. 45 'optimize': 'max', # enable O2 and ltcg.
46 }, 46 },
47 # Allows libyuv.a redistributable library without external dependencies. 47 # Allows libyuv.a redistributable library without external dependencies.
48 'standalone_static_library': 1, 48 'standalone_static_library': 1,
49 'conditions': [ 49 'conditions': [
50 # Disable -Wunused-parameter
51 ['clang == 1', {
52 'cflags': [
53 '-Wno-unused-parameter',
54 ],
55 }],
50 ['build_neon != 0', { 56 ['build_neon != 0', {
51 'defines': [ 57 'defines': [
52 'LIBYUV_NEON', 58 'LIBYUV_NEON',
53 ], 59 ],
54 'cflags!': [ 60 'cflags!': [
55 '-mfpu=vfp', 61 '-mfpu=vfp',
56 '-mfpu=vfpv3', 62 '-mfpu=vfpv3',
57 '-mfpu=vfpv3-d16', 63 '-mfpu=vfpv3-d16',
58 ], 64 ],
59 'conditions': [ 65 'conditions': [
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 ], 139 ],
134 }, 140 },
135 ], # targets. 141 ], # targets.
136 } 142 }
137 143
138 # Local Variables: 144 # Local Variables:
139 # tab-width:2 145 # tab-width:2
140 # indent-tabs-mode:nil 146 # indent-tabs-mode:nil
141 # End: 147 # End:
142 # vim: set expandtab tabstop=2 shiftwidth=2: 148 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« 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