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

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

Issue 507753002: Fix clang warnings in GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/secondary/third_party/icu/BUILD.gn ('k') | third_party/opus/opus.gyp » ('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 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/arm.gni") 5 import("//build/config/arm.gni")
6 6
7 # If fixed point implementation shall be used (otherwise float). 7 # If fixed point implementation shall be used (otherwise float).
8 use_opus_fixed_point = ((is_android || is_chromeos || 8 use_opus_fixed_point = ((is_android || is_chromeos ||
9 (is_ios && arm_version == 7)) && cpu_arch == "arm") 9 (is_ios && arm_version == 7)) && cpu_arch == "arm")
10 10
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 "src/celt", 150 "src/celt",
151 "src/silk", 151 "src/silk",
152 ] 152 ]
153 153
154 if (is_win) { 154 if (is_win) {
155 defines = [ "inline=__inline" ] 155 defines = [ "inline=__inline" ]
156 } 156 }
157 if (is_android) { 157 if (is_android) {
158 libs = [ "log" ] 158 libs = [ "log" ]
159 } 159 }
160 if (is_clang) {
161 cflags = [ "-Wno-absolute-value" ]
162 }
160 163
161 deps = [ ":opus" ] 164 deps = [ ":opus" ]
162 } 165 }
OLDNEW
« no previous file with comments | « build/secondary/third_party/icu/BUILD.gn ('k') | third_party/opus/opus.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698