libyuv.gni 806 B

1234567891011121314151617181920
  1. # Copyright 2016 The LibYuv Project Authors. All rights reserved.
  2. #
  3. # Use of this source code is governed by a BSD-style license
  4. # that can be found in the LICENSE file in the root of the source
  5. # tree. An additional intellectual property rights grant can be found
  6. # in the file PATENTS. All contributing project authors may
  7. # be found in the AUTHORS file in the root of the source tree.
  8. import("//build_overrides/build.gni")
  9. import("//build/config/arm.gni")
  10. import("//build/config/mips.gni")
  11. declare_args() {
  12. libyuv_include_tests = !build_with_chromium
  13. libyuv_disable_jpeg = false
  14. libyuv_use_neon = (current_cpu == "arm64" ||
  15. (current_cpu == "arm" && (arm_use_neon || arm_optionally_use_neon)))
  16. libyuv_use_msa = (current_cpu == "mips64el" || current_cpu == "mipsel") &&
  17. mips_use_msa
  18. }