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/libvpx_srcs.gni") | 8 import("//third_party/libvpx/libvpx_srcs.gni") |
9 import("//third_party/yasm/yasm_assemble.gni") | 9 import("//third_party/yasm/yasm_assemble.gni") |
10 | 10 |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 if (is_nacl) { | 265 if (is_nacl) { |
266 sources = libvpx_srcs_generic | 266 sources = libvpx_srcs_generic |
267 } else if (current_cpu == "x86") { | 267 } else if (current_cpu == "x86") { |
268 sources = libvpx_srcs_x86 | 268 sources = libvpx_srcs_x86 |
269 } else if (current_cpu == "x64") { | 269 } else if (current_cpu == "x64") { |
270 if (is_msan) { | 270 if (is_msan) { |
271 sources = libvpx_srcs_generic | 271 sources = libvpx_srcs_generic |
272 } else { | 272 } else { |
273 sources = libvpx_srcs_x86_64 | 273 sources = libvpx_srcs_x86_64 |
274 } | 274 } |
275 } else if (current_cpu == "mipsel") { | 275 } else if (current_cpu == "mipsel" || current_cpu == "mips64el") { |
276 sources = libvpx_srcs_mips | 276 sources = libvpx_srcs_mips |
277 } else if (current_cpu == "arm") { | 277 } else if (current_cpu == "arm") { |
278 if (arm_use_neon) { | 278 if (arm_use_neon) { |
279 sources = libvpx_srcs_arm_neon | 279 sources = libvpx_srcs_arm_neon |
280 } else if (is_android) { | 280 } else if (is_android) { |
281 sources = libvpx_srcs_arm_neon_cpu_detect | 281 sources = libvpx_srcs_arm_neon_cpu_detect |
282 } else { | 282 } else { |
283 sources = libvpx_srcs_arm | 283 sources = libvpx_srcs_arm |
284 } | 284 } |
285 } else if (current_cpu == "arm64") { | 285 } else if (current_cpu == "arm64") { |
(...skipping 21 matching lines...) Expand all Loading... |
307 } | 307 } |
308 if (is_android) { | 308 if (is_android) { |
309 deps += [ "//third_party/android_tools:cpu_features" ] | 309 deps += [ "//third_party/android_tools:cpu_features" ] |
310 } | 310 } |
311 if (current_cpu == "arm") { | 311 if (current_cpu == "arm") { |
312 deps += [ ":libvpx_assembly_arm" ] | 312 deps += [ ":libvpx_assembly_arm" ] |
313 } | 313 } |
314 | 314 |
315 public_configs = [ ":libvpx_external_config" ] | 315 public_configs = [ ":libvpx_external_config" ] |
316 } | 316 } |
OLD | NEW |