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

Side by Side Diff: third_party/usrsctp/BUILD.gn

Issue 1094793004: GN: Fix gn gen/compile errors for MIPS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « BUILD.gn ('k') | 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/crypto.gni") 5 import("//build/config/crypto.gni")
6 6
7 config("usrsctp_config") { 7 config("usrsctp_config") {
8 include_dirs = [ 8 include_dirs = [
9 "usrsctplib", 9 "usrsctplib",
10 "usrsctplib/netinet", 10 "usrsctplib/netinet",
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 # this way would is incompatible with windows XP. 115 # this way would is incompatible with windows XP.
116 "WINVER=0x0502", 116 "WINVER=0x0502",
117 "_WIN32_WINNT=0x0502", 117 "_WIN32_WINNT=0x0502",
118 ] 118 ]
119 } else { 119 } else {
120 defines += [ "NON_WINDOWS_DEFINE" ] 120 defines += [ "NON_WINDOWS_DEFINE" ]
121 } 121 }
122 122
123 if (is_clang) { 123 if (is_clang) {
124 cflags = [ "-Wno-incompatible-pointer-types" ] 124 cflags = [ "-Wno-incompatible-pointer-types" ]
125 } else if (target_cpu == "mipsel") {
126 # mipsel is still using gcc (4.9),
127 # which does not support "-Wno-incompatible-pointer-types"
128 # so let's disable all warnings for this module.
129 cflags = [ "-w" ]
125 } 130 }
126 131
127 deps = [ 132 deps = [
128 "//crypto:platform", 133 "//crypto:platform",
129 ] 134 ]
130 } 135 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698