OLD | NEW |
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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 sources = libvpx_srcs_arm64 | 253 sources = libvpx_srcs_arm64 |
254 } | 254 } |
255 | 255 |
256 configs += [ ":libvpx_config" ] | 256 configs += [ ":libvpx_config" ] |
257 configs -= [ "//build/config/compiler:chromium_code" ] | 257 configs -= [ "//build/config/compiler:chromium_code" ] |
258 configs += [ "//build/config/compiler:no_chromium_code" ] | 258 configs += [ "//build/config/compiler:no_chromium_code" ] |
259 configs += [ ":libvpx_warnings" ] | 259 configs += [ ":libvpx_warnings" ] |
260 deps = [] | 260 deps = [] |
261 if (current_cpu == "x86" || (current_cpu == "x64" && !is_msan)) { | 261 if (current_cpu == "x86" || (current_cpu == "x64" && !is_msan)) { |
262 deps += [ | 262 deps += [ |
263 ":libvpx_yasm", | 263 ":libvpx_intrinsics_avx2", |
264 ":libvpx_intrinsics_mmx", | 264 ":libvpx_intrinsics_mmx", |
265 ":libvpx_intrinsics_sse2", | 265 ":libvpx_intrinsics_sse2", |
| 266 ":libvpx_intrinsics_sse4_1", |
266 ":libvpx_intrinsics_ssse3", | 267 ":libvpx_intrinsics_ssse3", |
267 ":libvpx_intrinsics_sse4_1", | 268 ":libvpx_yasm", |
268 ":libvpx_intrinsics_avx2", | |
269 ] | 269 ] |
270 } | 270 } |
271 if (cpu_arch_full == "arm-neon-cpu-detect") { | 271 if (cpu_arch_full == "arm-neon-cpu-detect") { |
272 deps += [ ":libvpx_intrinsics_neon" ] | 272 deps += [ ":libvpx_intrinsics_neon" ] |
273 } | 273 } |
274 if (is_android) { | 274 if (is_android) { |
275 deps += [ "//third_party/android_tools:cpu_features" ] | 275 deps += [ "//third_party/android_tools:cpu_features" ] |
276 } | 276 } |
277 if (current_cpu == "arm") { | 277 if (current_cpu == "arm") { |
278 deps += [ ":libvpx_assembly_arm" ] | 278 deps += [ ":libvpx_assembly_arm" ] |
279 } | 279 } |
280 | 280 |
281 public_configs = [ ":libvpx_external_config" ] | 281 public_configs = [ ":libvpx_external_config" ] |
282 } | 282 } |
OLD | NEW |