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

Side by Side Diff: third_party/usrsctp/usrsctp.gyp

Issue 1269293003: Explicitly pass -Wno-unused-function to the targets that need it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gnnnnnnnnnnn Created 5 years, 4 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 | « third_party/usrsctp/BUILD.gn ('k') | third_party/yasm/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 { 4 {
5 'variables': { 5 'variables': {
6 'libsctp_target_type%': 'static_library', 6 'libsctp_target_type%': 'static_library',
7 }, 7 },
8 'target_defaults': { 8 'target_defaults': {
9 'defines': [ 9 'defines': [
10 'SCTP_PROCESS_LEVEL_LOCKS', 10 'SCTP_PROCESS_LEVEL_LOCKS',
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 'usrsctplib/user_mbuf.h', 113 'usrsctplib/user_mbuf.h',
114 'usrsctplib/user_queue.h', 114 'usrsctplib/user_queue.h',
115 'usrsctplib/user_recv_thread.c', 115 'usrsctplib/user_recv_thread.c',
116 'usrsctplib/user_recv_thread.h', 116 'usrsctplib/user_recv_thread.h',
117 'usrsctplib/user_route.h', 117 'usrsctplib/user_route.h',
118 'usrsctplib/user_socket.c', 118 'usrsctplib/user_socket.c',
119 'usrsctplib/user_socketvar.h', 119 'usrsctplib/user_socketvar.h',
120 'usrsctplib/user_uma.h', 120 'usrsctplib/user_uma.h',
121 'usrsctplib/usrsctp.h' 121 'usrsctplib/usrsctp.h'
122 ], # sources 122 ], # sources
123 'variables': {
124 'clang_warning_flags': [
125 # atomic_init in user_atomic.h is a static function in a header.
126 '-Wno-unused-function',
127 ],
128 },
123 'conditions': [ 129 'conditions': [
124 ['OS=="linux" or OS=="android"', { 130 ['OS=="linux" or OS=="android"', {
125 'defines': [ 131 'defines': [
126 '__Userspace_os_Linux', 132 '__Userspace_os_Linux',
127 ], 133 ],
128 'cflags!': [ '-Werror', '-Wall' ], 134 'cflags!': [ '-Werror', '-Wall' ],
129 'cflags': [ '-w' ], 135 'cflags': [ '-w' ],
130 }], 136 }],
131 ['OS=="mac" or OS=="ios"', { 137 ['OS=="mac" or OS=="ios"', {
132 'defines': [ 138 'defines': [
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 'msvs_disabled_warnings': [ 4002, 4013, 4133, 4267, 4313, 4700 ], 171 'msvs_disabled_warnings': [ 4002, 4013, 4133, 4267, 4313, 4700 ],
166 }, { # OS != "win", 172 }, { # OS != "win",
167 'defines': [ 173 'defines': [
168 'NON_WINDOWS_DEFINE', 174 'NON_WINDOWS_DEFINE',
169 ], 175 ],
170 }], 176 }],
171 ], # conditions 177 ], # conditions
172 }, # target usrsctp 178 }, # target usrsctp
173 ], # targets 179 ], # targets
174 } 180 }
OLDNEW
« no previous file with comments | « third_party/usrsctp/BUILD.gn ('k') | third_party/yasm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698