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

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

Issue 1464873002: Run gn --format over all .gn files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/android/config.gni") 6 import("//build/config/android/config.gni")
7 import("//build/config/sanitizers/sanitizers.gni") 7 import("//build/config/sanitizers/sanitizers.gni")
8 import("//third_party/libvpx_new/libvpx_srcs.gni") 8 import("//third_party/libvpx_new/libvpx_srcs.gni")
9 import("//third_party/yasm/yasm_assemble.gni") 9 import("//third_party/yasm/yasm_assemble.gni")
10 10
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 sources = libvpx_srcs_arm64 270 sources = libvpx_srcs_arm64
271 } 271 }
272 272
273 configs += [ ":libvpx_config" ] 273 configs += [ ":libvpx_config" ]
274 configs -= [ "//build/config/compiler:chromium_code" ] 274 configs -= [ "//build/config/compiler:chromium_code" ]
275 configs += [ "//build/config/compiler:no_chromium_code" ] 275 configs += [ "//build/config/compiler:no_chromium_code" ]
276 configs += [ ":libvpx_warnings" ] 276 configs += [ ":libvpx_warnings" ]
277 deps = [] 277 deps = []
278 if (current_cpu == "x86" || (current_cpu == "x64" && !is_msan)) { 278 if (current_cpu == "x86" || (current_cpu == "x64" && !is_msan)) {
279 deps += [ 279 deps += [
280 ":libvpx_yasm", 280 ":libvpx_intrinsics_avx",
281 ":libvpx_intrinsics_avx2",
281 ":libvpx_intrinsics_mmx", 282 ":libvpx_intrinsics_mmx",
282 ":libvpx_intrinsics_sse2", 283 ":libvpx_intrinsics_sse2",
284 ":libvpx_intrinsics_sse4_1",
283 ":libvpx_intrinsics_ssse3", 285 ":libvpx_intrinsics_ssse3",
284 ":libvpx_intrinsics_sse4_1", 286 ":libvpx_yasm",
285 ":libvpx_intrinsics_avx",
286 ":libvpx_intrinsics_avx2",
287 ] 287 ]
288 } 288 }
289 if (cpu_arch_full == "arm-neon-cpu-detect") { 289 if (cpu_arch_full == "arm-neon-cpu-detect") {
290 deps += [ ":libvpx_intrinsics_neon" ] 290 deps += [ ":libvpx_intrinsics_neon" ]
291 } 291 }
292 if (is_android) { 292 if (is_android) {
293 deps += [ "//third_party/android_tools:cpu_features" ] 293 deps += [ "//third_party/android_tools:cpu_features" ]
294 } 294 }
295 if (current_cpu == "arm") { 295 if (current_cpu == "arm") {
296 deps += [ ":libvpx_assembly_arm" ] 296 deps += [ ":libvpx_assembly_arm" ]
297 } 297 }
298 298
299 public_configs = [ ":libvpx_external_config" ] 299 public_configs = [ ":libvpx_external_config" ]
300 } 300 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698