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

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

Issue 1888763002: Build 64bit browser for Android with clang for ARMv8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 import("//build/config/sanitizers/sanitizers.gni") 6 import("//build/config/sanitizers/sanitizers.gni")
7 7
8 config("libwebp_config") { 8 config("libwebp_config") {
9 include_dirs = [ "." ] 9 include_dirs = [ "." ]
10 } 10 }
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 188
189 if (set_opt_level) { 189 if (set_opt_level) {
190 configs -= [ "//build/config/compiler:default_optimization" ] 190 configs -= [ "//build/config/compiler:default_optimization" ]
191 configs += [ "//build/config/compiler:optimize_max" ] 191 configs += [ "//build/config/compiler:optimize_max" ]
192 } 192 }
193 193
194 if (current_cpu == "arm") { 194 if (current_cpu == "arm") {
195 # behavior similar to *.c.neon in an Android.mk 195 # behavior similar to *.c.neon in an Android.mk
196 configs -= [ "//build/config/compiler:compiler_arm_fpu" ] 196 configs -= [ "//build/config/compiler:compiler_arm_fpu" ]
197 cflags = [ "-mfpu=neon" ] 197 cflags = [ "-mfpu=neon" ]
198 } else if (current_cpu == "arm64") { 198 } else if (current_cpu == "arm64" && !is_clang) {
199 # avoid an ICE with gcc-4.9: b/15574841 199 # avoid an ICE with gcc-4.9: b/15574841
200 cflags = [ "-frename-registers" ] 200 cflags = [ "-frename-registers" ]
201 } 201 }
202 202
203 if (is_android) { 203 if (is_android) {
204 configs -= [ "//build/config/android:default_cygprofile_instrumentation" ] 204 configs -= [ "//build/config/android:default_cygprofile_instrumentation" ]
205 configs += [ "//build/config/android:no_cygprofile_instrumentation" ] 205 configs += [ "//build/config/android:no_cygprofile_instrumentation" ]
206 } 206 }
207 } 207 }
208 } # use_dsp_neon 208 } # use_dsp_neon
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 ":libwebp_demux", 286 ":libwebp_demux",
287 ":libwebp_dsp", 287 ":libwebp_dsp",
288 ":libwebp_enc", 288 ":libwebp_enc",
289 ":libwebp_utils", 289 ":libwebp_utils",
290 ] 290 ]
291 public_configs = [ ":libwebp_config" ] 291 public_configs = [ ":libwebp_config" ]
292 if (use_dsp_neon) { 292 if (use_dsp_neon) {
293 deps += [ ":libwebp_dsp_neon" ] 293 deps += [ ":libwebp_dsp_neon" ]
294 } 294 }
295 } 295 }
OLDNEW
« third_party/boringssl/BUILD.gn ('K') | « third_party/boringssl/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698