| OLD | NEW |
| 1 # Copyright 2014 The LibYuv Project Authors. All rights reserved. | 1 # Copyright 2014 The LibYuv Project Authors. All rights reserved. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 | 8 |
| 9 import("//build/config/arm.gni") | 9 import("//build/config/arm.gni") |
| 10 import("//build/config/sanitizers/sanitizers.gni") |
| 10 | 11 |
| 11 config("libyuv_config") { | 12 config("libyuv_config") { |
| 12 include_dirs = [ | 13 include_dirs = [ |
| 13 ".", | 14 ".", |
| 14 "include", | 15 "include", |
| 15 ] | 16 ] |
| 16 } | 17 } |
| 17 | 18 |
| 18 use_neon = current_cpu == "arm" && (arm_use_neon || arm_optionally_use_neon) | 19 use_neon = current_cpu == "arm" && (arm_use_neon || arm_optionally_use_neon) |
| 19 | 20 |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 "source/scale_neon.cc", | 116 "source/scale_neon.cc", |
| 116 "source/scale_neon64.cc", | 117 "source/scale_neon64.cc", |
| 117 ] | 118 ] |
| 118 | 119 |
| 119 public_configs = [ ":libyuv_config" ] | 120 public_configs = [ ":libyuv_config" ] |
| 120 | 121 |
| 121 configs -= [ "//build/config/compiler:compiler_arm_fpu" ] | 122 configs -= [ "//build/config/compiler:compiler_arm_fpu" ] |
| 122 cflags = [ "-mfpu=neon" ] | 123 cflags = [ "-mfpu=neon" ] |
| 123 } | 124 } |
| 124 } | 125 } |
| OLD | NEW |